CentOS Reboot

29/12/2020
For every system, rebooting is an essential part.  Reboot is essentially turning off the computer completely and then, starting the system from scratch. In certain situations, rebooting is a must. For example, on the Linux system, the kernel update or other critical updates/patches. In short, rebooting is a very important thing to do in today’s modern computing age.

Are you on CentOS? CentOS is the playground for new RHEL users as it offers the same experience and feel of the enterprise environment where there are lots of works ongoing every single second. For such a busy system, sometimes, rebooting becomes a must. In this tutorial, we’ll be checking out the reboot methods for your CentOS.

Rebooting CentOS

  • Reboot

The simplest thing to do is fire up the terminal and run the following command –

reboot

This command will reboot the entire system. It can take some time for rebooting as there might be other users and processes running and the system will wait for them to terminate.

If you’re in need of a forced reboot, then add the “-f” flag.

reboot -f

  • Shutdown

Rebooting is also possible using the “shutdown” command. For that purpose, use the “-r” flag with “shutdown” –

sudo shutdown -r +10 “Restart in 10 minutes”

Note – the command requires “root” privilege to run.

Here, you’ll notice a couple additional parts in the command. Let’s discuss them.

  • +10 : Gives the system users 10 min time for performing all the pending actions as the system is going to restart itself after 10 minutes starting the count from running the command.
  • “<string” : This part is for showing a warning message to all the users.

Enjoy!

ONET IDC thành lập vào năm 2012, là công ty chuyên nghiệp tại Việt Nam trong lĩnh vực cung cấp dịch vụ Hosting, VPS, máy chủ vật lý, dịch vụ Firewall Anti DDoS, SSL… Với 10 năm xây dựng và phát triển, ứng dụng nhiều công nghệ hiện đại, ONET IDC đã giúp hàng ngàn khách hàng tin tưởng lựa chọn, mang lại sự ổn định tuyệt đối cho website của khách hàng để thúc đẩy việc kinh doanh đạt được hiệu quả và thành công.
Bài viết liên quan

Hướng dẫn cấu hình Nginx với SSL làm Reverse Proxy cho Grafana server

Sau khi cài đặt và thiết lập TIG stack xong, việc cài đặt domain cũng như tạo chứng chỉ là một...
30/12/2020

[Ubuntu] Hướng dẫn đặt IP tĩnh bằng ifupdown trên Ubuntu server 20.04 bản Develop

Từ trong những bản phát hành mới đây của Ubuntu, Netplan là tiện ích mặc định giúp ta cấu...
30/12/2020

[Zabbix] Giám sát server Ubuntu 16.04 bằng zabbix-agent

Ubuntu là một hệ điều hành nguồn mở rất phổ biến hiện nay. Vì Ubuntu thuộc họ Debian do vậy...
30/12/2020
Bài Viết

Bài Viết Mới Cập Nhật

Reliable IPv4 and IPv6 Subnet Rental Services: The Perfect Solution for Global Businesses
23/12/2024

Tìm Hiểu Về Thuê Proxy US – Lợi Ích và Cách Sử Dụng Hiệu Quả
11/12/2024

Mua Proxy V6 Nuôi Facebook Spam Hiệu Quả Tại Onetcomvn
03/06/2024

Hướng dẫn cách sử dụng ProxyDroid để duyệt web ẩn danh
03/06/2024

Mua proxy Onet uy tín tại Onet.com.vn
03/06/2024