Difference between revisions of "Linux/Services"
From Iveze
< Linux
(Tag: VisualEditor) |
|||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | The point of having a server is to run some services on them. Services are programs are always on, even after a reboot. | + | The point of having a server is to run some services on them. Services are programs that are always on, even after a reboot. |
+ | === Documents in this section === | ||
{{Special:PrefixIndex/{{FULLPAGENAME}}/ |hideredirects=1 |stripprefix=1}} | {{Special:PrefixIndex/{{FULLPAGENAME}}/ |hideredirects=1 |stripprefix=1}} | ||
Line 11: | Line 12: | ||
=== Make a service permanent === | === Make a service permanent === | ||
+ | If the service should start at reboot. | ||
+ | |||
Centos 6 | Centos 6 | ||
chkconfig <service name> on | chkconfig <service name> on |
Latest revision as of 11:50, 18 June 2015
The point of having a server is to run some services on them. Services are programs that are always on, even after a reboot.
Documents in this section
Automount | Ups |
Start a service
Centos 6
/etc/init.d/<service name> start
Centos 7
systemctl start <service name>
Other useful service options are: status, stop, restart
Make a service permanent
If the service should start at reboot.
Centos 6
chkconfig <service name> on
Centos 7
systemctl enable <service name>