Want to know command to restart linux server from putty? we have a huge selection of command to restart linux server from putty information on alibabacloud.com
Reprint: http://www.91pen.net/linux-system-set-up-to-resolve-the-alias-command-to-restart-after-failure-problem.htmlIn the process of using a Linux system, most of the cases are performed under the character interface. There are some long commands that we don't want to repeat each time, which is not only a waste of tim
shutdown [option] Time (shutdown reboot more secure)-C cancels the previous shutdown command-H shutdown-R RestartFor example,: means running in the background[Email protected]:~# shutdown-r to: -[1]1805[email protected]:~# Shutdown Scheduled forFri -- ,- + to: -:xxPDT, use'shutdown-c'To Cancel. [1]+ done Shutdown-r to: -[email protected]:~#Standard shutdown command: shutdown-h nowRemote servers try to avoi
required for the Web service that you want to install
Later, I learned how to install it in tar.MySQL, Which is enabled in the/usr/local/MySQL directory
I have encountered many problems. The most common is:Error2002: Can't connect to local MySQL server through socket
'/Tmp/MySQL. Sock'(111)
Solution:[Root @ test MySQL] #/Usr/local/MySQL/bin/mysqladmin-u root/>-S/Var/lib/MySQL. Sock password 'your. passwd'Or make a connection.Ln-S/Var/lib/MySQL. Sock/
Tags: down linu shutdown Command time system use. SH Call rebootLinux System shutdown Command:#关机命令1.halt2.poweroff3.shutdown-h now shuts down immediately (with root access for users)#重启命令1.reboot2.shutdown-r now restart immediately (with root user access)Shutdown syntaxShutdown [OPTION ...] [TIME] [WALL ...]Option (main option)-H shutdown, rsync is invoked to sy
Start actionThe-c parameter specifies the Nginx configuration file path to be loadedStop operationThe stop operation is done by sending a signal to the nginx process.Step 1: Query the Nginx main process numberPs-ef | grep nginxFind the master process in the list of processes, whose number is the main process number.Step 2: Send a signalCalmly stop nginx:-QUIT main process number 16391 fast stop nginx:-termmaster process number Force stop Nginx: -9 main process number In addition, if the ngi
Problem descriptionFor Linux systems, many times are used for servers and the like, this time is not open desktop system, so that the command line operation, can effectively save the use of system RAM, so that as many resources as possible for the use of important service. So it is very popular to operate on a Linux system using the
Shutdown: [parameter] [TIME]-H: Shutdown-R: Restart-C: Cancel last shutdown or restart[[email protected] ~]# shutdown-h now # #马上重启 [[email protected] ~]# shutdown- h 20:30 # #定时20:30 offInit: System Run Level0: Turn off the machine1: Single User2: Not fully multiuser, NFS not included3. Full Multi-user4. Unassigned5. Graphical interface6. Restart[Email prote
Reboot command:
1, reboot2. shutdown-r now reboot (root user)3, Shutdown-r 10 over 10 minutes automatic restart (root user use)4, Shutdown-r 20:35 reboot at 20:35 time (root user)If you set the reboot through the shutdown command, you can cancel the reboot with the SHUTDOWN-C command
Shutdown reference
Shutdown para
Introduction to commands for server restart in linux
I. Five Linux restart commands
1. shutdown
2. poweroff
3. init
4. reboot
5. halt
Ii. Details of the five restart commands
Shutdown
Reboot
In
System environment: RHEL5.31.alias can be used to set the alias of a command, for example, [root @ localhost ~] # Alias // view the default set alias aliascp amp; #39; cp-I amp; #39; aliasl. amp; #39; ls-d. * -- colortty amp; #39; aliasll amp; #39; l...
System environment: RHEL5.31. alias can set command aliasFor example:[Root @ localhost ~] # Alias // view the default system aliasAlias cp = 'CP-I'Alia
System Environment: RHEL5.31. alias can set command aliasFor example:[Root @ localhost ~] # Alias // view the default system aliasAlias cp = 'cp-I'Alias l. = 'LS-d. * -- color = tty'Alias ll = 'LS-l -- color = tty'Alias ls = 'ls -- color = tty'[Root @ localhost ~] # Alias pw = passwd // set the passwd command[Root @ localhost ~] # PwChanging password for user root.New UNIX password:[Root @ localhost ~] # Un
Using the Shutdown command, the parameters are as follows:-K do not perform any shutdown operation, only send a warning message to all users- r-= Restart the computer -H= power off and completely shut down-F Fast shutdown and Skip fsck-n fast shutdown without init program-c = timed shutdown prior to restartHere's how to use it:Immediate shutdown: sudo shutdown-h now
Environment: RedHat Linux 5 Enterprise Edition.Xwindows:gnome (Red Hat default installed graphical interface)Although we can use the SSH connection to operate Linux remotely via the character interface, it is inconvenient for more familiar graphics people, so it is necessary to open the Remote Desktop for Linux. There are two popular ways: XDM (X display manager)
Shutdownshutdown [ options ] timeOption:-C cancels the previous shutdown command-H shutdown- R restartOther shutdown commands:HaltPoweroffInit 0Other Restart commands:RebootInit 6Operating level of the system:0 turn off the machine1 Single User2 not fully multiuser, no NFS service included3 full multi-user4 not assigned5 Graphical Interface6 RestartTo exit the login command:LogoutThis article is from the
1 shutdownShutdown Shutdown-h now reboot-CCancel the previous shutdown commandShutdown-cShotdown-r nowTry to use shutdownThe rest of the shutdown Command halt Poweroffinit ()2 restartReboot or INIT6The so-called init system RunLevel0 Turn off the machine1 Single User (start the most core program, similar to safe mode)2 Incomplete multi-user3 Full Multi-user4 Not assigned5 graphical interface6 restartHow to see the init stateInit's under/etc/inittab.In
Remote backup, upload project, restart server under LinuxLinux Server for remote, original project backup, delete, new project upload, and remote Restart the server!Split into a main shell to invoke the three shell file steps to complete.MAINSH.SH executes multiple scripts i
Tags: Turn off admin skip level different default Poweroff init command daemonLinux shutdown and restart systems are generally implemented using the same commands.In Linux systems, the shutdown/Restart commands are commonly used in shutdown, halt, reboot, and INIT, but the internal working process of each
Copy Code
1, shutdown2, Poweroff3. Init4, reboot5, halt1, reboot
Reboot's work process is almost the same as Halt's? But does it trigger a host reboot? And halt is shutdown. Its parameters are not much different from the halt
2. shutdown-r now reboot (root user)3, Shutdown-r 10 over 10 minutes automatic restart (root user use)4, Shutdown-r 20:35 reboot at 20:35 time (root user)If you set the reboot through the shutdown
Linux CentOS Restart Command:
1, reboot
2. shutdown-r now reboot (root user)
3, Shutdown-r 10 over 10 minutes automatic restart (root user use)
4, Shutdown-r 20:35 restart at 20:35 time (root user use)
If you set the
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.