
How to properly shutdown or reboot a Unix/Linux server
What is the correct way to turn off a Unix/Linux server? From my googling, I have learned (hopefully) the following: shutdown: I should use this, with the parameter -h to halt, or the parameter -...
"reboot" or "shutdown -r now": what restart command is safer?
Jun 30, 2016 · The main reason to use reboot would be to avoid the risk of forgetting to add the -r when using shutdown -r on a remote machine, which could easily result in not being able to login again and …
how can I schedule a reboot in Linux? - Server Fault
I'm new in Linux and I want to schedule a reboot at midnight. How should I do it? Edits: I'm sorry I didn't put the complete details. I want a reboot every 3rd Saturday of the month at 23:30. I do...
How do I schedule a reboot on Linux? - Server Fault
Aug 22, 2009 · I'd like to be able to schedule a server reboot at a specific time, but not regularly. How can I do this without futzing with adding and removing cron entries?
Best way to gracefully restart CentOS? - Server Fault
Aug 15, 2014 · For CentOS 6, there is no better way to restart your server by using anything else than any those commands stated in the original question: shutdown is the most common way to stop your …
linux - How do I automatically restart a process on server reboot ...
On my Ubuntu server I use God to monitor some Ruby processes/scripts, including a Queue system. God automatically checks when one of my processes exists and restarts it. It also keeps track of mem...
linux - How do I restart the Samba service? - Server Fault
Dec 9, 2009 · It looks like ubuntu has changed the name of the service you need to restart to smbd. For me (on ubuntu server 12.04) the correct command was sudo service smbd restart Editor's notes: I …
How to automatically restart a service on failure in Linux
Mar 26, 2011 · monit is a great way to monitor and restart services when they fail--and you'll probably end up using this for other essential services (such as Apache). There's a nice article on nixCraft …
linux - How to "restart" particular network interface on RHEL? - Server ...
In RHEL, instead of using service network restart command, how can i restart a particular network interface, lets say "eth1", with only one command. "Only one command" because that is the only …
How do I force Linux to reacquire a new IP address from the DHCP …
Aug 1, 2024 · The environment is Debian, although the answer will apply to all distributions.