In linux, the usage of chkConfig is as follows: chkconfig [-- add] [-- del] [-- list] [System Service] Or chkconfig [-- level <level code>] [System Service] [on/off/reset] parameter usage: -- add: adds the specified system service, enables the chkconfig command to manage it, and adds relevant data in the system startup description file. -- Del: Delete the specified system service. It is no longer managed by the chkconfig command, and relevant data is also deleted in the description file started by the system. -- Level <level code>: Specifies the execution level of the read system service. Example: chkconfig -- list all system services chkconfig -- add httpd service chkconfig -- del httpd Delete httpd service chkconfig -- level httpd 2345 on set httpd to 2, 3, 4, in case of 5, all are on (Enabled). The chkconfig command provides a simple way to set the running level of a service. For example, to set the MySQL server to run at runtime Level 3 and 4, you must first add MySQL as a service managed by chkconfig: chkconfig -- add mysql now, we set the service to "on" chkconfig -- level 35 mysql on level 3 and 5 to off chkconfig -- level 01246 mysql off at other levels to confirm that your configuration is correct. modified, we can list the running levels that the service will run, as shown below: # chkconfig -- list mysql 0: off 1: off 2: off 3: on 4: off 5: on 6: off