Wednesday, 10 June 2009

Runlevels and services in linux

Redhat
To list all services:
# chkconfig --list
To turn on/off a service
# chkconfig [service] [on|off]'
Debian
To start automatically on boot:
# update-rc.d [service] defaults

No comments:

Post a Comment