Manage Services

From Spry Wiki

Jump to: navigation, search

This guide covers basic service management for RHEL-based distributions (CentOS and Fedora) and Debian/Ubuntu. This guide assumes that you have established an SSH console session and are logged in with root privileges.

Starting, stopping, and restarting services is a daily aspect of Linux system administration - whether you are installing a new service, testing a new configuration, or temporarily freeing up resources, service management is often the first and last step in each administrative task.

The most common tasks which services support include:

  • start
  • stop
  • restart


CentOS

Enter service process_name action where process_name is the name of the service which you would like to manage and action is what you would like to perform.


Debian

Enter /etc/init.d/process_name action where process_name is the name of the service which you would like to manage and action is what you would like to perform.

Recent Changes | RSS Feed RSS