How to solve the problem of disconnecting the network in the middle of linux installation software
This article introduces the relevant knowledge of "how to disconnect the network in the middle of linux installation software". In the operation of actual cases, many people will encounter such a dilemma, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!
Except for some simplified systems or customized systems, most of the screen commands are installed. If not, the CentOS system can execute: yum install screen
3. How to use screen command? 1.1 create a screen session
You can first execute: screen-S lnmp, and screen will create a session named lnmp. Detective VPS.
1.2 leave temporarily and keep the tasks or programs in the screen session
When you need to leave temporarily (the program in the session will not close and is still running), you can use the shortcut key Ctrl+a d (that is, press and hold Ctrl, then press ameme d)
You can execute again when you come back: screen-r lnmp will revert to the working interface of the lnmp session you created before you left. If you forget, or if no session name is specified at that time, you can execute: screen-ls screen will list the currently existing sessions, as shown below:
Close the session of screen
Execute: exit, will prompt: [screen is terminating], indicating that you have successfully exited the screen session
Lnmp one-click installation package
Https://www.vpser.net/manage/run-screen-lnmp.html
View the screen window that is open
Screen-ls | awk'NR > = 2&&NR=2&&NR