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
Ubuntu configuration
Installing OpenSSH ServerInvoke command: sudo apt-get install Openssh-server
View serverConfirm Sshserver is started: ps-e | grep sshThe presence of sshd can prove that Ssh-server has been activated. If it does not appear, you need to start the service/etc/init.d/ssh start.
Modifying the Ssh-
In the previous article to ensure that Linux VPS and server more secure Xshell set key login article has been shared to Xshell use the key to login to our VPS server to ensure the safety of the machine, but many students are not like the old left with Xshell, There are still a lot of use putty login ssh, so a separate
PuTTY connection to Linux Server frequent disconnection solution, puttylinux
After remotely connecting to the server, PuTTY often prompts "Software caused connection abort" when disconnected, and often loses the connection in a short time.
The solution is as follows:
St
After remotely connecting to the server, PuTTY often prompts "Softwarecausedconnectionabort" when disconnected, and often loses the connection in a short time. Solution: Step 1: Set Server 1. Modify the etcsshsshd. config file on the server, set LoginGraceTime to 0, and TCPKeepAlive to yes2.
After remotely connecting
Open Putty, enter the host name or IP you want to access for example:qtstgfs2job01.appnet.atpco.org
2. Login, default SSH port 22650) this.width=650; "style=" width:349px;height:278px; "src=" http://g.hiphotos.baidu.com/baike/s%3D220/sign= 74783d6562d0f703e2b292de38fb5148/37d3d539b6003af3c4ecb712352ac65c1038b66a.jpg "/>3. Enter the user name, password4. Go to the Log folder (command: Cd/log)5. View all
Putty uploads the website's linux Server-Linux Enterprise Application-Linux server application information. The following is a detailed description. [I = s] This post was last edited by nan3120
How to upload the file? The
Every time you log on to the server, you have to enter your username and password, which is troublesome. Therefore, you may want to use a specified user to log on automatically. Collect the information on the Internet:
Tools:
Putty
Puttygen
Steps:
1. Use puttygen to generate an SSH2 RSA key and save the key file as authorized_keys;
2. Upload the content in "Public Key for pasting into authorized_keys file"
Environment: VirtualBox4.1 + RedHatLinux6 + Putty0.62 problem: Putty remote connection to Linux server garbled code, as shown in: Solution: 1. execute locale amp; ndash; a to check the character encoding supported by the current system; 2. execute LANGzh_CN.utf...
Environment: VirtualBox4.1 + RedHat Linux 6 + Putty0.
Why is my putty unable to connect to the linux server, and my colleagues can use the Linux general technology-Linux technology and application information. For more information, see the following. I used putty to connect to the
Environment: VirtualBox4.1 + RedHat Linux 6 + Putty0.62
Problem: Putty remote Connection Linux server appears garbled
As shown in the following illustration:
Solve:
1. Perform locale–a first to view the character encoding supported by the current system;
2. Implement lang=zh_cn.utf-8 Modify current environment l
Go a lot of detours AH ~ ~ ~, recently developed and I said to be in a EC2 machine running a GUI-like program, then I wondered: EC2 machine should not have a desktop suite, then how to run the GUI program? Think of the solution when they received an e-mail, the general meaning that someone through the xming to achieve this function. Inspired by this, I went on to study the tool of the next xming.Xming This tool is generally used in the following ways:1. Install Xming on the local Windows client,
Sharing the use of the Linux Restart command, how does Linux restart the network?The first part, about the use of the Linux restart command1, shutdown2, Poweroff3. Init4, reboot5, halt*
Previous Blog We explained the Linux compression and decompression command, the most used is the tar command, because now a lot of source packages are. tar.gz format, through TAR-ZCVF can complete decompression. Then for the. zip format of the file, using the Gunzip command decompression, for the. zip format of the fil
Linux is mostly used in the server, and the server can not be like a PC in the office, they are placed in the IDC room, so I usually log on to the Linux system is through remote logins. In Linux, Telnet is implemented through the SSH service. The default SSH service turned o
Linux Command sharing: shutdown and restart, linux Command sharing
Command display
Shutdown command
Halt immediate shutdown poweroff immediate shutdown-h now immediate shutdown-h after
Tags: Linux shutdown shutdown3.2 "Linux learning is not difficult" Linux character Interface (2): Shutdown command to shut down and restart the Linux systemThe shutdown command can safe
/mnt/cdrom12. Shutdown or restart shutdownshutdown [Options] Time-C cancels the previous shutdown command-H shutdown-R Restart13. Other shutdown commands: Halt, Poweroff, Init 014. Other Restart commands: Reboot, init 615. System Operating Level:0 Turn off the machine1 Single User2 not fully multiuser, no NFS service included3 Full Multi-user4 Not assigned5 graph
are many such tutorials on the Internet.
Note that the/root/monitor command is directly used in many tutorials. sh. When I set it, I found that the configuration will not execute the shell script, and it will be executed after sh is added.
Then we start to write the shell script "monitor. sh.
#! /Bin/sh proc_name = "WorldFrame_d" # process name proc_num () # query the number of processes {num = 'ps-ef | grep $ proc_name | grep-v grep | wc-l' return
Mysql can be run in linux and windows. Next we will introduce how to use command mode to start and stop the restart of MySQL server in windows, and then introduce the command to start and stop the restart of MySQL
CTRL + C to force exit2) input shutdown-r 05:30 amp, which means that this command executes in the background, does not affect the command input of the shell, other commands such as lengthy commands can also be used let it be executed in the background, will not affect the user at the command line to continue the other operationsExample: Shutdown-c that cancels
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.