Generally, in Linux dedicated servers, there are two different kind of programs running, one which needs user interaction and another which execute tasks without user involvement. The programs that execute tasks in the background are normally known as “services” and “daemons”.
Basically, there are many services required on servers to run the background such as DB Server, Firewall, Web Server, DNS System, Mail Server, etc… Due to these various services, it is very much essential to know the exact procedure of starting, stopping and restarting the services.
The procedure of start, stop and restart the services may change as per the linux distributions. Here in this article we are going to see how to start, stop and restart services in CentOS Dedicated Server.
There are two different methods through which you can start, stop and restart any desired service:
How to Start a Service?
service service-name start
How to Stop a service?
service service-name stop
How to Check the Status of a Service: (whether it is running or not)
service service-name status
How to restart a service on dedicated server?
service service-name restart
It might be possible that few services may have extra command settings. To find the available ones, enter:
/etc/init.d/rsync [start, stop, reload, force-reload, restart, status]
Like this post ?
Share on your Social Networking Profile ( Facebook, Twitter & Google+ ) and get a flat 10% Recurring discount on our VPS Hosting and Dedicated Servers.
Email us the shared link at : email@example.com or speak to our live chat operator now, by clicking on the “Live Chat” Scroller on the left-hand side of this page and we will provide you with the discount Coupon right away!