Whether you are running a virtual private server, a cloud-based virtual machine, or even a full dedicated server, Webmin is a powerful open source system administration tool that can make the experience easier. One way it can simplify server management for you is through the starting, stopping, and monitoring of system services, such as your web server, database server, and mail transport server.
Start, Stop, Restart
To start, stop, or restart a service, just follow these steps:
- Login to webmin and expand the “System” section
- Click “Bootup and Shutdown”
- Choose the service (we will use “httpd” for this example)
- Choose “Start Now” to start a stopped service, “Restart Now” to restart or “Stop Now” to stop a service
Starting at Boot
If you want a service you have newly installed to start when the server boots, you can enable this feature on the same page as the “start” and “stop” functions. Under the “action script” text box, find the option that says “Start at boot time?” and click “Yes”.
If you want to see the standard status message you would receive when typing “service httpd status” for example, you can click the “Show Status” button. The output will look something like this:
Executing /etc/rc.d/init.d/httpd status ..
httpd (pid 2092) is running…
Reboot and Shutdown
At the very bottom of the module index page, you will find the reboot and shutdown buttons. Reboot will take your server down completely and bring it back up running any services you have specified to start at boot. Shutdown will turn it off completely. Therefore, only run it if you have physical access to your server and can turn it back on with the power button.
For more information about the Webmin Bootup and Shutdown module, see the online documentation.