Home > Hosting, Linux, Tech > Configure your system to start Services at boot time ? – LINUX

Configure your system to start Services at boot time ? – LINUX

linux
Easy and fast, using chkconfig linux command.

To configure your system to start Apache at boot time:

chkconfig –levels 235 httpd on

for manual start apache:

/etc/init.d/httpd start

create the system startup links for Proftpd and start it:

chkconfig –levels 235 proftpd on
/etc/init.d/proftpd start


Chkconfig provides a simple command-line tool for maintaining the /etc/rc[0-6].d folder hierarchy by relieving system administrators of the task of directly manipulating the numerous symbolic links in those folder.

SYNOPSIS
chkconfig –list [name]
chkconfig –add name
chkconfig –del name
chkconfig [--level levels] name
chkconfig [--level levels] name

  1. August 8th, 2009 at 17:49 | #1

    Excellent… very nice post. thanks

  1. No trackbacks yet.
GoCache - ByREV-Cache v1.0 - live served in : 0.454227 sec (gzip)