18. Shutting down the server

You would not expect it, but shutting down the server is one of the things most frequently asked. While it should be easy, the button in Webmin is not always easy to find. So, I've summed up your possibilities here.

  • From the command line you can do sudo shutdown -h 0.
  • From Webmin: System -> Bootup and Shutdown -> Reboot System or Shutdown System (scroll all the way down).
  • special key combination, change /etc/inittab so that it will have ca::ctrlaltdel:/sbin/shutdown -h now instead of ca::ctrlaltdel:/sbin/shutdown -r now. This will make sure that pressing CTRL-ALT-DEL on the server shuts down the server instead of restarting it. Also very handy if you don't have a screen attached to the server
  • On the graphical logon screen, there is a "Shutdown" button.
Sleep well...

line
Updated $LastChangedDate: 2004-11-05 23:24:59 +0100 (Fri, 05 Nov 2004) $
line
Kristof Van Landschoot
Author

line
Summary: Various ways of shutting down the server.
line
Copyright 2003-2004 Coin-C bvba. Questions, Comments, Corrections? Email knoppix@coin-c.com.