Start or stop services on Linux

Before running the commands shown on this page, you should load the Bitnami stack environment by executing the installdir/use_APPNAME script (Linux and MacOS) or by clicking the shortcut in the Start Menu under “Start -> Bitnami APPNAME Stack -> Application console” (Windows). On OS X VMs, the installation directory is /opt/bitnami and OS X VM users can click the “Open Terminal” button to run commands. Learn more about the Bitnami stack environment and about OS X VMs.

Bitnami native installers include a graphical tool to manage services. This tool is named on Linux and is located in the installation directory. To use this tool, double-click the file and then use the graphical interface to start, stop or restart services. Server log messages can be checked in the “Server Events” tab.

Management tool

The native installer also includes a command-line script to start, stop and restart applications, named This script can be found in the installation directory and accepts the options start, stop, restart, and status. To use it, log in to the server console and execute it following the examples below:

  • Call it without any service names to start all services:

      $ sudo installdir/ start
  • Use it to restart a specific service only by passing the service name as argument - for example, mysql, postgresql or apache:

      $ sudo installdir/ restart mysql
      $ sudo installdir/ restart postgresql
      $ sudo installdir/ restart apache
  • Obtain current status of all services:

      $ installdir/ status

The list of available services varies depending on the required components for each application.

Last modification September 4, 2018