目录
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 cytotec pills online cheap https://lipitor.guru/# lipitor generic cost
furosemide 100 mg
cytotec online https://cytotec.pro/# Abortion pills online
furosemida 40 mg
Nice post. I learn something totally new and challenging on sites I stumbleupon everyday. It will always be useful to read through content from other writers and use a little something from other web sites.
lisinopril 10 mg coupon: Lisinopril refill online – buy lisinopril 20 mg without a prescription
aromatase inhibitor tamoxifen: buy tamoxifen citrate – common side effects of tamoxifen
Pretty! This has been an extremely wonderful post. Many thanks for providing this info.
lisinopril 25 mg cost: Lisinopril online prescription – lisinopril 12.5 mg price
This is a topic which is close to my heart… Thank you! Where are your contact details though?
buy misoprostol over the counter https://cytotec.pro/# cytotec abortion pill
lasix for sale
I used to be able to find good information from your content.
buy lisinopril canada: Buy Lisinopril 20 mg online – zestril 2.5
http://tamoxifen.bid/# tamoxifen and bone density
lipitor atorvastatin: cheapest ace inhibitor – can i buy lipitor online
buy lisinopril 20 mg online canada: Lisinopril online prescription – lisinopril metoprolol
https://lisinopril.guru/# zestoretic 10 12.5
Cytotec 200mcg price http://cytotec.pro/# order cytotec online
furosemide 100mg
buy cytotec over the counter https://lisinopril.guru/# lisinopril 40 mg discount
lasix
Great web site you’ve got here.. It’s hard to find quality writing like yours these days. I honestly appreciate people like you! Take care!!
Hi, I do believe this is an excellent blog. I stumbledupon it 😉 I am going to revisit yet again since I bookmarked it. Money and freedom is the greatest way to change, may you be rich and continue to help others.
http://cytotec.pro/# buy cytotec pills
furosemide 100mg: buy furosemide – furosemida
платный нарколог на дом платный нарколог на дом .
вывод из запоя на дому ростов на дону вывод из запоя на дому ростов на дону .
furosemide 100 mg: furosemide online – lasix side effects
вывод из запоя в стационаре ростов вывод из запоя в стационаре ростов .
buy cytotec http://lipitor.guru/# atorvastatin lipitor
lasix 20 mg
lipitor 20mg price: cheapest ace inhibitor – lipitor 20mg canada price
Greetings! Very useful advice within this article! It is the little changes that make the largest changes. Thanks a lot for sharing!
An intriguing discussion is worth comment. I think that you should publish more on this topic, it might not be a taboo matter but typically folks don’t talk about these subjects. To the next! Cheers.
https://tamoxifen.bid/# nolvadex gynecomastia
lasix generic name: cheap lasix – lasix generic
http://furosemide.win/# buy furosemide online
Greetings! Very helpful advice in this particular post! It’s the little changes that make the largest changes. Thanks for sharing!
lasix 20 mg: furosemide online – lasix pills
purchase cytotec https://cytotec.pro/# purchase cytotec
lasix pills
order cytotec online https://cytotec.pro/# buy cytotec pills
furosemide 100 mg
buy cytotec online fast delivery cheapest cytotec buy cytotec online fast delivery
lipitor 40 mg tablet price: buy lipitor 20mg – cost of lipitor 10 mg
tamoxifen dose tamoxifen pill tamoxifen rash
It’s hard to come by knowledgeable people about this subject, however, you seem like you know what you’re talking about! Thanks
Everything is very open with a precise clarification of the challenges. It was definitely informative. Your site is very helpful. Thanks for sharing.
tamoxifen alternatives: tamoxifen – tamoxifen for breast cancer prevention
buy misoprostol over the counter https://cytotec.pro/# cytotec online
lasix
Oh my goodness! Impressive article dude! Thanks, However I am going through issues with your RSS. I don’t know why I am unable to join it. Is there anybody having the same RSS issues? Anybody who knows the solution will you kindly respond? Thanx!
lisinopril 60 mg tablet Lisinopril refill online lisinopril brand name cost
https://lisinopril.guru/# lisinopril price without insurance
cytotec abortion pill https://lipitor.guru/# lipitor drug prices
lasix dosage
You have made some good points there. I checked on the web to learn more about the issue and found most individuals will go along with your views on this web site.
seo услуги https://process-seo.ru
lipitor price uk: buy atorvastatin online – generic lipitor drugs