chkconfig httpd on --level 235
chkconfig vsftpd on --level 235
Those two lines would add httpd(webserver) and vsftpd(ftp server) into startup script and enable them everytime you boot with run level 2, 3, or 5.
To list all services' status you can use
chkconfig --list
or
chkconfig --list
No comments:
Post a Comment