close
以下存成run_apache&mysql as service.bat
cd f:\AppServ\apache
apache -i -n "Apache"
cd f:\AppServ\mysql\bin
mysqld -install
pause
--------------------------------------------------
以下存成start_apache&mysql.bat
cd f:\AppServ\mysql\bin
net start MySQL
cd f:\AppServ\apache
apache.exe -w -n "Apache" -k start
-----------------------------------------------
以下存成stop_apache&mysql.bat
cd f:\AppServ\mysql\bin
net stop MySQL
cd f:\AppServ\apache
Apache.exe -w -n "Apache" -k stop
----------------------------------------------------------------
以下存成uninstall_apache&mysql as service.bat
cd f:\AppServ\apache
apache -u -n "Apache"
cd f:\AppServ\mysql\bin
mysqld -remove
pause
全站熱搜
留言列表