Method 1: You can use the linuxconf graphical interface to determine whether to start a service when the system starts. method 2: Use/usr/sbin/ntsysv to define method 3: use the chkconfig command to determine whether or not a server process is running at that run level. If you want to automatically start the httpd server at the 345 run level, run the command chkconfig -- level345httpdon to disable it.
Method 1: You can use the linuxconf graphical interface to determine whether to start a service when the system starts.
Method 2: Use/usr/sbin/ntsysv to define
Method 3: run the chkconfig command to determine whether a server process is running at that running level. If you want
Run the following command to automatically start the httpd server at the 345 running level:
Chkconfig -- level 345 httpd on
To disable the service:
Chkconfig -- level 345 httpd off
Method 4: directly modify the files in the/etc/rc. d/rc *. d directory. Here * Corresponds to the running level of the server you want to run. For example, if you want to start the named service of the Domain Name Server under runtime Level 3, name K45named as S80named:
Move K45named S80named
That is, change K to S and the number after K to a proper number.