Linux basics-shutdown and restart commands such as shutdown and reboot, shutdownrebootI. Functions of the shutdown and restart command
I believe that people who have been in touch with computers, especially for windows systems, will feel a little stuck if they have been using it for a long time without restarting. However, after the entire system is restarted, it seems that the system is no longer running. After the restart, the windows system will re
Shutdown, halt, and reboot are actually sending signals to initProgramTo change the runlevel ..Runlevel 0 is used to stop (halt), and halt is used to call shutdown-HRunlevel 6 is used to reactivate the [reboot] system.Runlevel 1 is used to bring the system into the state where management work can be performed.Init defines eight runlevels. init 0 indicates shutdown, and init 1 indicates restart.
Before sav
Failure phenomenon:
After installing the Windows 7 system, such as using IDE mode, all normal, the BIOS in the AHCI mode after the panic, blue screen, unable to start and other failures.
Reason Analysis:
If the probability of a normal hardware failure in IDE mode is minimal, this problem is generally due to an exception caused by Windows 7 random AHCI driver matching.
Solution:
1. In the title bar on the left of the Registry Editor window, navigate to the HKEY_LOCAL_MACHINE\SYSTEM\CURRENTCO
Problem Description:The desktop is a solid-state drive installed Windows, there is a free hard disk, want to install a Linux system on the hard disk, the SSD removed from the desktop, replaced by this free hard drive, the system is installed smoothly, but finally at the start of the error: reboot and select proper boot device, the startup entry is checked, and the first boot entry is the hard disk. Problem solving:Enter the BIOS, find the boot this en
power-on appears reboot and select proper boot device solution:
The boot appears reboot and select proper boot device or Insert boot media in select boot should be due to a tampered boot sequence in the CMOS, which is turned into a CD-ROM and cannot be automatically changed without disk drive Back to the hard drive to boot.
Try to use other hot keys into the BIOS, such as F2, you can go in to manually mod
The following main summary of the basic operation of Nginx.
Start Action
Command:
Nginx-c/usr/nginx/conf/nginx.conf
The-c parameter specifies the Nginx configuration file path to load.
Stop operationThe stop operation is done by sending a signal to the nginx process (what is a signal refer to a Linux article)
Step 1: Query Nginx main process number
Ps-ef | grep nginx
In the process list, look for the master process, which is numbered as the main process number.
Step 2: Send a signal
calmly
In Linux 4.0, you may no longer need to reboot your operating system.
One of the reasons you like to use Linux in most servers or data centers is that you don't need to do frequent restart operations. Admittedly, some critical patches have to be restarted, but you can wait a few months before doing this. Now, thanks to the latest updates from the Linux kernel, you may not be able to reboot for years.
Than
Recently, a netbook has been installed on the system, the use of wireless network has been in the state of being connected, after viewing the official statement, found that the installed wireless network card driver version is problematic, the idea to uninstall the current driver, install the latest drive, after the uninstall again after reboot, and was automatically installed back to the original driver.
Results query some data, found that because t
Receive customer demand, install several xenserver, the result installs cannot continue, the prompt is as follows:
_______________________________________________________________________________
Panic on CPU 0:
FATAL Trap:vector = 2 (NMI)
[error_code=0000]
Reboot in five seconds ...
_______________________________________________________________________________
The following are the error-Arranging steps
1. After entering the installation in
The content originates from the people's post and Telecommunications press "Linux command Application big dictionary"tell 729 commands, 1935 examplesLearn about the Linux system's reference books, desk book, encountered the command or command not understand the options can be foundStrive to publish content every day This article is from the "airfish2000" blog, more commands to view blogs:http://airfish2000.blog.51cto.com/10829608/1898283Reboot Commanduse the
Uptime command:-* Use the uptime command to get host run time and query Linux system load information. The information is displayed in the following order: Now time, the system has elapsed time, the current number of landing users, the system in the past 1 minutes, 5 minutes and 15 minutes of the average load. *
ubuntu@ubuntu:~$ Uptime17:42:05 up 3 days, 7:58, 6 users, load average:0.11, 0.10, 0.1117:42:05//System Current timeUp to 3 days, 7:58//host has run time, the greater the time, indicati
) the interrupt resource and starts the reassignment next time. After pressing the key combination will be able to hear a crisp "bi-" sound.Alt+f--Restore factory settings. After pressing the key combination will be able to hear a crisp "bi-" sound.Alt+b-reboot.
Clear Password Method: When the Password input box appears, enter the password and press the CTRL key and enter key at the same time.Clear Password method Two: using MB on the PSWD jumper, af
How can I reboot ubuntu12.04http: // forum.ubuntu.org.cn/viewtopic.php in two systems? F139 amp; t329072 amp; p2305665 is usually the content of this article on the Internet, but the first half is done, because 1www will appear after the restart. 2cto. comgrub gt; prompt you to input next... dual system how to reboot ubuntu 12.04 http://forum.ubuntu.org.cn/viewtopic.php? F = 139 t = 329072 p = 2305665
Objective:When we use the server, especially when debugging some kernel state programs, the program will often appear to die and need to restart the phenomenon, and whenever we will find that some processes can not kill. Kill-9 invalid, even reboot also invalid, no way can only force power down and then electricity or unplug directly, but we need to know that the direct power off the server damage is very serious. From the annual Division I annual har
The master-slave synchronization is described as follows:The MySQL instance from the library was restarted because of a host failure. After rebooting, the following error is reported from the slave status of the library:last_sql_errno:1062Last_sql_error:could not execute Write_rows event on table Qrcode.t_qcd_item; Duplicate entry ' 2861768 ' for key ' PRIMARY ', error_code:1062; Handler error Ha_err_found_dupp_key; The event ' s master Log mysql-bin.000005, End_log_pos 6000458The reasons are:Th
CentOS reboot failed, always respawn
CentOS installed MySQL, according to the internet, changed the INIT.D, increased the datadir= ... The path is there, I have verified it.
Said to be restarted, but the reboot failed, the display stopped at Init.d,datadir=...,command not found, always respawn
Keep hatching the thread, then the error, then kill the thread, and then continue to cycle. Unable to enter the gra
CentOS reboot failed, always respawn
CentOS installed MySQL, according to the internet, changed the INIT.D, increased the datadir= ... The path is there, I have verified it.
Said to be restarted, but the reboot failed, the display stopped at Init.d,datadir=...,command not found, always respawn
Keep hatching the thread, then the error, then kill the thread, and then continue to cycle. Unable to enter the gra
Under the Linux system, reboot Tomcat to operate with commands!First, go to the bin directory under TomcatCd/usr/local/tomcat/binUsing the Tomcat Close command./shutdown. SHTo see if Tomcat is shutting downPS -ef| grep JavaIf the following similar information is displayed, Tomcat is not turned offRoot7010 1 0Apr19?xx: -: -/usr/local/java/bin/java-djava.util.logging.config.file=/usr/local/tomcat/conf/logging.properties-djava.awt.headless=true-dfil
Under the Linux system, reboot Tomcat to operate with commands!First, go to the bin directory under TomcatCd/usr/local/tomcat/binUsing the Tomcat Close command./shutdown.shTo see if Tomcat is shutting downPs-ef|grep JavaIf the following similar information is displayed, Tomcat is not turned offRoot 7010 1 0 Apr19? 00:30:13/usr/local/java/bin/java-djava.util.logging.config.file=/usr/local/tomcat/conf/logging.properties- Djava.awt.headl
be seen in resolv.conf, which is why columns, because resolve.conf is just a link file.
And then we look at the effect.
Ping www.baidu.com
And then we restart the Network service.
Service Network restart
And then we'll ping the
Found that there was no problem
And then we'll reboot the system.
Reboot
The result is exactly what we expected.
Github:https://github.com/sinodzh/linux/blob/maste
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.