目录
Screen
* screen是Linux下的多重视窗管理程序。在使用SSH远程登录Linux时,如果连接中断(网络中断,直接关闭连ssh窗口等),重新连接时,系统将开一个新的session,无法恢复原来的session,而screen则可以解决这个问题 。
* 这个软件就是本文的核心,通过它,我们就可以实现如frp等程序可以在关闭ssh窗口后仍然可以后台运行。
环境
- 腾讯云服务器 - Linux - ubuntu20.04
- screen
- 版本:
- # screen -v
- Screen version 4.08.00 (GNU) 05-Feb-20
- 安装
- # sudo apt-get install screen
- 版本:
使用方法示例
这里我们用screen来维持frps的运行作示例来展示screen的使用方法。
- frps
- 这是一个实现内网穿透的服务端。
- 它默认情况下是需要保持ssh窗口的开启才能运行,一旦关闭ssh窗口,frps就会随之关闭。
- 首先让screen创建一个窗口
- # screen -S frps
- 注意命令中的 -S 是大写的 S。
- 命令中的第三部分frps只是一个名字而已,虽然创建的窗口是我们想用来保持frps运行的,但你可以随意起一个其他的名字,如abc,coolight等等。
- 然后直接运行frps
- # frps -c frps.ini
- 你也可以运行其他软件。
- 到这里实际上已经完成了,接下来可以直接把ssh窗口关闭,然后测试一下frps(你运行的软件)是否还在运行。
screen的常用命令
- # screen -S 窗口名
- 让screen创建一个窗口,使得把当前ssh窗口关闭后让screen保持这个窗口的运行。
- # screen -ls
- 列出所有screen维持的窗口。
- # screen -r 窗口名
- 回到这个窗口。
- 退出一个会话窗口
- 回到那个窗口。
- 直接执行 exit 即可。
buy zithromax without presc: buy zithromax online – how to buy zithromax online
https://clomidca.com/# order prednisone from canada
https://clomidca.shop/# canadian online pharmacy prednisone
amoxicillin 500 mg without a prescription: buy cheapest antibiotics – where can you buy amoxicillin over the counter
how to buy clomid without a prescription: best price – clomid buy
http://azithromycinca.com/# 40mg doxycycline prices
buy generic zithromax online: buy zithromax amoxicillinca – where can i buy zithromax uk
https://prednisonerxa.shop/# where can i get cheap clomid pills
doxycycline 10mg price: doxycycline best price – doxycycline 50mg tablets
where to buy generic clomid without dr prescription cheap fertility drug get cheap clomid without a prescription
buy prednisone canadian pharmacy: prednisone – can you buy prednisone online uk
http://doxycyclineca.com/# where can i get amoxicillin
zithromax online paypal: zithromax – zithromax 500 mg
prednisone 10mg prices clomidca.com generic prednisone online
http://clomidca.com/# prednisone 60 mg tablet
buy amoxicillin over the counter uk: amoxil doxycyclineca – amoxicillin 750 mg price
I was very happy to discover this great site. I want to to thank you for ones time for this particularly wonderful read!! I definitely liked every bit of it and I have you book marked to look at new information on your blog.
amoxicillin 50 mg tablets amoxil online purchase amoxicillin 500 mg
buy zithromax online: amoxicillinca – where can i purchase zithromax online
https://azithromycinca.shop/# buy doxycycline 100mg online uk
doxycycline 75 mg tablet: doxycycline – doxycycline 300 mg price
https://doxycyclineca.shop/# can you buy amoxicillin over the counter
buying prednisone without prescription: Steroid – prednisone brand name
can you buy doxycycline over the counter in south africa azithromycinca doxycycline 100mg price uk
purchase zithromax z-pak: zithromax – zithromax
prednisone 20mg by mail order: Steroid – prednisone
http://doxycyclineca.com/# canadian pharmacy amoxicillin
order doxycycline uk: doxycycline azithromycinca – can you buy doxycycline over the counter canada
how to buy clomid without rx: Clomiphene – where buy cheap clomid without insurance
price of amoxicillin without insurance amoxil best price amoxicillin generic brand
10mg prednisone daily: clomidca.com – prednisone 20mg online pharmacy
http://azithromycinca.com/# order doxycycline no prescription
zithromax buy online no prescription: Azithromycin – how to get zithromax over the counter
20 mg of prednisone clomidca.com prednisone 4 mg daily
can i buy generic clomid without insurance: prednisonerxa.shop – where to buy clomid without prescription
http://azithromycinca.com/# doxycycline brand in india
where buy generic clomid without a prescription cheap fertility drug can i purchase generic clomid without rx
http://prednisonerxa.com/# can you buy cheap clomid no prescription
prednisone 50: Steroid – prednisone cream brand name
can i buy clomid for sale: clomid – can i get cheap clomid pills
zithromax for sale cheap: zithromax – purchase zithromax z-pak
amoxicillin discount cheapest amoxicillin amoxicillin order online no prescription
https://doxycyclineca.com/# buy amoxicillin 250mg
http://doxycyclineca.com/# amoxicillin 500mg prescription
doxycycline uk online: doxycycline best price – generic doxycycline 200 mg
cheap clomid without prescription: Prednisonerxa – buy clomid pills
doxycycline 100mg capsules uk: azithromycinca.shop – doxycycline tablets in india
http://prednisonerxa.com/# can i order generic clomid without rx
https://amoxicillinca.shop/# generic zithromax 500mg
zithromax for sale online: buy zithromax amoxicillinca – buy zithromax 1000 mg online