目录
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 即可。
clomid cheap: Prednisonerxa – where to buy clomid online
I really like reading a post that will make men and women think. Also, thanks for allowing me to comment.
buy prednisone no prescription prednisone 1 mg prednisone cost
doxycycline costs uk: azithromycinca.com – doxycycline 110 mg
where to buy generic clomid pills: clomid Prednisonerxa – where buy generic clomid tablets
http://azithromycinca.com/# doxycycline usa
order amoxicillin 500mg cheapest amoxicillin amoxicillin 500 coupon
https://azithromycinca.shop/# doxycycline generic cost
zithromax without prescription: cheapest Azithromycin – zithromax antibiotic
buy zithromax without presc zithromax zithromax price south africa
https://azithromycinca.com/# cost of doxycycline in india
prednisone 10 mg canada: Deltasone – prednisone for dogs
where can i buy amoxicillin without prec doxycyclineca amoxicillin 500 capsule
can i order clomid pill: best price – cost of clomid
http://azithromycinca.com/# doxycycline 500mg price
can you buy doxycycline over the counter in mexico azithromycinca purchase doxycycline online uk
https://azithromycinca.shop/# where can i get doxycycline online
prednisone 20mg tablets where to buy: clomidca.com – prednisone tablet 100 mg
zithromax 500 mg lowest price online cheapest Azithromycin zithromax tablets for sale
https://doxycyclineca.com/# buy amoxicillin online with paypal
doxycycline price comparison: buy tetracycline antibiotics – doxycycline costs uk
https://clomidca.com/# prednisone online australia
цены на квартиры https://novostroyki-spb78.ru
can i purchase generic clomid prices: Clomiphene – where buy cheap clomid now
https://doxycyclineca.com/# amoxicillin capsules 250mg
clomid: best price – where to buy cheap clomid pill
generic clomid without a prescription clomid can i buy generic clomid no prescription
https://doxycyclineca.shop/# buy amoxil
prednisone 20 mg tablet: Steroid – 1 mg prednisone cost
doxycycline prescription australia: doxycycline – generic doxycycline 200 mg
order clomid price best price order generic clomid tablets
online doxycycline prescription: doxycycline – 631311 doxycycline
http://doxycyclineca.com/# antibiotic amoxicillin
buy prednisone 20mg: prednisone clomidca – buy prednisone online india
Hi, I do believe this is an excellent blog. I stumbledupon it 😉 I will come back yet again since I book marked it. Money and freedom is the greatest way to change, may you be rich and continue to guide other people.
http://azithromycinca.com/# doxycycline pills buy
prednisone buy canada: prednisone – prednisone prescription online
where can i buy amoxocillin: amoxil best price – generic for amoxicillin
order clomid without dr prescription prednisonerxa.shop where can i get clomid tablets
prednisone pill prices: Deltasone – prednisone in india
produce,Hanging out in an exceedingly unpredictable moment, pass-up a little while together with the fretting hand; disappearing in an exceedingly presented region, as well stand to forget about any reputation antecedents option, and i thinking about families
квартиры от застройщика цены https://kvartiru-kupit-spb.ru
Check my channel. Killcams from only you the community. i will upload everyday!
купить 1 комнатную квартиру https://novostroyka-kzn16.ru
I am typically to blogging and i truly appreciate your posts. This article has really peaks my interest. I am about to bookmark your site and maintain checking achievable information.
With witty dialogue, extremely funny jokes and great acting from Will Farrell, Mark Wahlberg, Samuel L Jackson and Dwayne Johnson, (the Rock).
We absolutely love your blog and find many of your post’s to be what precisely I’m looking for. can you offer guest writers to write content for yourself? I wouldn’t mind producing a post or elaborating on many of the subjects you write regarding here. Again, awesome website!
wonderful article, I enjoy it. I also buy ambien a lot. You ought to buy ambien as well. I will journey to the full USA and buy ambien there and in other areas to. i will be downtown, you know for what ? just to buy ambien. I will sleep a lot following buy ambien and that it constantly make me sense so good. I will be buy ambien in a pharmacy or one more spots, whatever the existence just take me .
регистрация 1Go Casino регистрация 1Go Casino
After study several of the web sites on your own internet site now, and I really appreciate your technique of blogging. I bookmarked it to my bookmark internet site list and will be checking back soon. Pls consider my website likewise and told me if you agree.