Previous page

Next page

Locate page in Contents

Print this page

Starting, Stopping, and Restarting Services

You can manage (i.e. start, stop, and restart) services by using the command line. For example, you wish to start the httpd service. To do this, execute the following command:

[root@ct222 /]# service httpd start

where service is the standard Linux command, httpd denotes the name of the corresponding service, and start is the command that will launch this service. In order to check that the httpd service was successfully launched, you can either type the following Linux command:

[root@ct222 /]# service httpd status

or use the vzps utility when working on your server or the ps utility when working inside your Containers and passing them the x argument. The output will tell you if the httpd service is running in your system or not.