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

arrow
arrow
    全站熱搜
    創作者介紹
    創作者 mic1491 的頭像
    mic1491

    Matt 隨筆

    mic1491 發表在 痞客邦 留言(0) 人氣()