Linux下將Mysql和Apache加入到系統服務裡的方法
阿新 • • 發佈:2018-12-10
Apache加入到系統服務裡面: cp /安裝目錄下/apache/bin/apachectl /etc/rc.d/init.d/httpd 修改httpd 在檔案頭部加入如下內容: ### # Comments to support chkconfig on RedHat Linux # chkconfig: 2345 90 90 # description:http server ### 儲存 在打入 #chkconfig --add httpd #chkconfig --level 345 httpd on MySQL加入到系統服務裡面