September 27, 2011
When And How to Reboot a Linux Server
You don’t want to have to reboot your Linux server. Every reboot means immediate downtime, which translates to angry tenants, loss of business, and a bad reputation. If you feel the need to reboot your sever, try to put them on a schedule and inform your customers about them in advance. Non-peak times are best, but even then, a reboot is almost never the best option: Especially considering, because of the way your operating system is coded, you shouldn’t need to periodically reset the clock anyway.
However, if something goes wrong—and we mean wrong—you may not have any other choice but to reboot your server. Before going this far, though, be sure you can’t software troubleshoot the issue. Run a diagnostic tool on your system, and if any other areas of recourse present themselves, jump on it like a gymnast at the Olympics, brother.
All those warnings aside if you need to reset your Linux-based server, it’s actually not that hard to do. We may regret showing you this, but if you’re bent on doing it, here’s how to give your Linux server a temporary send back to Oblivion.
First, type this into the terminal as root:
reboot
Simple enough, right? Who knew so much havoc (and potential regret) could be caused by so simple a phrase. If that doesn’t do the trick, though, you can also type:
shutdown -r now
There’s one other option we’ve got for you, too. If you have multiple users, you’ll want to type in a separate command. This command gives your users the warning you owe them, alerting them with a message that the system will reset in approximately five minutes. It’s a simple terminal set, and it will only take this long to type:
shutdown -r +5
Same command as before, only the +5 this time tells the system you’d like to send all nearby users a five minute warning. Simple enough, eh? We thought you might like it. But seriously, if you’d like to avoid headaches in your immediate future, we’d advice skipping the easy way out and pursuing about every other option at your disposal. You never know when a user is uploading their completed masterpiece, or when they’ll be irreparably angry for losing connection.Popular LinksCategories: Linux Web Hosting |
Tags: linux,
operating system,
software,
system,
server,
bad,
business,
downtime,
linux server,
type-in,
linux operating system,
IT,
server downtime,
server connection,
Linux for business

Post comment: