startup with server
where is the file located that has all the programs that startup with the ssytem, i need to add things like apache, mysql, postifx (everything on google is talking as if your using the gui interface, im connected via ssh)
this is on centos. thanks |
chkconfig should help you. This enables you to make certain services start on boot.
|
Or by example:
Code:
# chkconfig --list # Available services and runlevels |
For Apache at the root terminal type:
"chkconfig httpd on" then press enter. For mysql type: "chkconfig mysqld on" then press enter. For postfix type: "chkconfig postfix on" then press enter. IF YOU WANT TO REVERT TYPE "chkconfig httpd off" then press enter. "chkconfig mysqld off" then press enter. "chkconfig postfix off" then press enter.RESPECTIVELY |
All times are GMT -5. The time now is 07:18 AM. |