How To Install Chkconfig On Debian, CentOS, Fedora And Raspbian?
Install chkconfig
-
Debian
apt-get install chkconfigClick to copy -
CentOS
yum install chkconfigClick to copy -
Fedora
dnf install chkconfigClick to copy -
Raspbian
apt-get install chkconfigClick to copy
Manage the runlevel of services on CentOS 6.
How to use chkconfig?
Below are few example commands for chkconfig that you can use in the terminal.
List services with runlevel:chkconfig --listClick to copyShow a service's runlevel:chkconfig --list ntpdClick to copyEnable service at boot:chkconfig sshd onClick to copyEnable service at boot for runlevels 2, 3, 4, and 5:chkconfig --level 2345 sshd onClick to copyDisable service at boot:chkconfig ntpd offClick to copyDisable service at boot for runlevel 3:chkconfig --level 3 ntpd offClick to copy
To install the latest version of chkconfig in your favorite operating system just copy the chkconfig installation command from above and paste it into terminal. It will download and install the latest version of chkconfig 2026 package in your OS.




