Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Fedora This forum is for the discussion of the Fedora Project.


  Search this Thread
Old 11-24-2005, 09:25 AM   #1
Registered: Apr 2004
Location: Leeds, UK
Distribution: FC1, FC2, Debian
Posts: 308

Rep: Reputation: 30
How do I add/remove/manage services from the CLI?

Hi all

Just a quick one - how do I manage services from the comand line? I need to add apache to the start-up services, but I can't seem to find anything on Google to help me out.

Old 11-24-2005, 09:58 AM   #2
Registered: Mar 2003
Location: UK Darlington
Distribution: Fedora Freebsd Centos
Posts: 288

Rep: Reputation: 31
chkconfig httpd on

will switch it on at next boot

service httpd (start stop reload ) etc will manage the service

chkconfig -- list | grep <service>

list runlevles service is activeated in

man chkconfig

man service
Old 11-24-2005, 09:59 AM   #3
Senior Member
Registered: Jul 2004
Location: France
Distribution: Arch Linux
Posts: 1,897

Rep: Reputation: 63
If it is as in Mandriva:

service httpd start

service httpd stop

service httpd restart

Enable at boot:
chkconfig --add httpd

Disable at boot:
chkconfig --del httpd

See current boot config:
chkconfig --list httpd

See current overall config:
chkconfig --list

Old 11-24-2005, 10:01 AM   #4
Registered: Apr 2004
Location: Leeds, UK
Distribution: FC1, FC2, Debian
Posts: 308

Original Poster
Rep: Reputation: 30
Wonderful. This forum is *much* better than google for linux-related questions!


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Manage services seriesx4 Ubuntu 1 11-06-2005 09:04 AM
howto identify what services are running via CLI? Lleb_KCir Linux - General 3 09-21-2004 11:44 PM
kolab: manage coexistence with other services Clemente Linux - Software 0 02-11-2004 09:59 AM
Cant add MySQL through add/remove programs Hero Doug Fedora 6 01-03-2004 10:35 PM
RH9, How to add another IP Address in CLI praefex Linux - Networking 3 11-19-2003 11:59 AM > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 01:48 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration