现在的位置: 首页 > lnmp > 正文
几个bat的写法
2014年11月29日 lnmp ⁄ 共 771字 暂无评论

mysql.@cmd

net stop "mysql"

"C:\AppServer\mysql\bin\mysqld.exe" --remove
"C:\AppServer\mysql\bin\mysqld.exe" --install

net start "mysql"

apache.@cmd

net stop "Apache2.2"
"C:\AppServer\Apache\bin\httpd.exe" -k uninstall
mkdir d:\wwwroot\logs
mkdir d:\wwwroot\tmp
copy C:\AppServer\php\php5ts.dll C:\AppServer\Apache\bin\
"C:\AppServer\Apache\bin\httpd.exe" -k install
net start "Apache2.2"

ftp.@cmd

net stop "FileZilla Server FTP server"
"C:\AppServer\FileZilla\FileZilla Server.exe" /stop
"C:\AppServer\FileZilla\FileZilla Server.exe" /compat /stop
"C:\AppServer\FileZilla\FileZilla Server.exe" /uninstall
"C:\AppServer\FileZilla\FileZilla Server.exe" /adminport 14147
"C:\AppServer\FileZilla\FileZilla Server Interface.exe" /adminport 1
"C:\AppServer\FileZilla\FileZilla Server.exe" /install auto
net start "FileZilla Server FTP server"

给我留言

您必须 [ 登录 ] 才能发表留言!

×