目录
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 即可。
I’m impressed, I have to admit. Rarely do I encounter a blog that’s both equally educative and interesting, and without a doubt, you have hit the nail on the head. The problem is something which not enough folks are speaking intelligently about. I am very happy I found this in my search for something regarding this.
cytotec buy online usa https://tamoxifen.bid/# generic tamoxifen
furosemide 40 mg
вывод из запоя в ростове-на-дону вывод из запоя в ростове-на-дону .
10 mg lisinopril cost: Buy Lisinopril 20 mg online – lisinopril 30
buy cytotec pills online cheap http://lipitor.guru/# lipitor prescription drug
lasix 100 mg
Cytotec 200mcg price https://tamoxifen.bid/# tamoxifen citrate pct
lasix 20 mg
tamoxifen and weight loss buy tamoxifen online tamoxifen endometrium
An intriguing discussion is definitely worth comment. There’s no doubt that that you should write more about this subject, it may not be a taboo subject but usually people don’t discuss these subjects. To the next! Kind regards.
https://tamoxifen.bid/# common side effects of tamoxifen
lipitor tabs cheapest ace inhibitor lipitor buy
https://tamoxifen.bid/# tamoxifen rash
does tamoxifen cause bone loss: Purchase Nolvadex Online – tamoxifen dose
Cytotec 200mcg price https://tamoxifen.bid/# tamoxifen premenopausal
furosemide 40 mg
cytotec online Abortion pills online order cytotec online
You’re so awesome! I do not believe I have read anything like that before. So wonderful to find somebody with some original thoughts on this issue. Seriously.. thank you for starting this up. This website is something that is required on the internet, someone with some originality.
order cytotec online: Misoprostol price in pharmacy – buy cytotec pills
http://tamoxifen.bid/# tamoxifen premenopausal
lipitor 20mg price: buy lipitor 20mg – lipitor 20 mg tablet
order cytotec online http://tamoxifen.bid/# tamoxifen men
furosemida
кнопка росгвардия кнопка росгвардия .
order cytotec online https://lipitor.guru/# lipitor drug
lasix dosage
Having read this I believed it was very informative. I appreciate you finding the time and effort to put this content together. I once again find myself spending a lot of time both reading and leaving comments. But so what, it was still worth it.
электрокарнизы для штор купить в москве электрокарнизы для штор купить в москве .
lisinopril 20 tablet: Lisinopril refill online – generic zestoretic
http://tamoxifen.bid/# arimidex vs tamoxifen bodybuilding
вывод из запоя цены ростов на дону https://vyvod-iz-zapoya-rostov111.ru .
You made some good points there. I looked on the net for more info about the issue and found most people will go along with your views on this website.
how to order lisinopril online: cheap lisinopril – buy zestril online
https://lisinopril.guru/# lisinopril 10 mg no prescription
buy cytotec in usa https://lisinopril.guru/# lisinopril 5mg tabs
furosemide 40 mg
lasix generic: buy furosemide – lasix for sale
https://lipitor.guru/# lipitor rx cost
cytotec abortion pill http://cytotec.pro/# п»їcytotec pills online
lasix for sale
lasix medication: cheap lasix – lasix furosemide
buy cytotec online fast delivery https://furosemide.win/# lasix generic name
lasix furosemide
Saved as a favorite, I love your website!
Howdy, I do believe your blog could be having browser compatibility issues. When I take a look at your website in Safari, it looks fine however when opening in I.E., it’s got some overlapping issues. I just wanted to provide you with a quick heads up! Apart from that, excellent site!
We optimise our soccer predictions(predictz) and tips for maximum flexibility and convenience, with categories catering to different betting markets such as both teams to score (BTTS), over 1.5, under 1.5, over 2.5 goals, over 3.5 goals, 1st half goals, double chance, fulltime handicap, accumulators, Chance Mix, Combo, highest scoring half, win either half, win both halves and many more. There are football predictions available every day, with our team covering over 100 leagues and competitions. It’s good to find out the latest betting tips before deciding which way to play the big games. With lots of markets available. The entire 2024 Copa America will be televised in the United Kingdom on Premier Sports 1, with streaming on their platform, Premier Sports Player.
https://stephenzvnh603691.blogkoo.com/nedbank-cup-fixtures-48274921
HOW TO DOWNLOAD YOUR SEASON DRAW Playing a high-octane brand of attacking rugby combined with immense physicality, the All Blacks scored early tries through Aaron Smith and Shannon Frizell before late scores from Will Jordan and Richie Mo’unga put a seal on the victory. ALL DRAWS AND RESULTS REGION WIDE © 2024 Major League Rugby. All rights reserved. Major League Rugby, MLR and the MLR shield design are registered trademarks of Major League Rugby. The team names, logos and designs are registered trademarks of the teams indicated. Men’s U23 Boy’s U19s Girls U19’s Boy’s U16s Under 14s Boy’s U16s Under 14s The world champions, starved of the ball and heavily penalised, looked shellshocked by the early onslaught but recovered to score second-half tries through Malcolm Marx, Cheslin Kolbe and Kwagga Smith.
индийский пасьянс гадать онлайн бесплатно indiyskiy-pasyans-online.ru .
Very nice blog post. I absolutely appreciate this site. Thanks!
Hello, I think your website might be having browser compatibility problems. When I take a look at your web site in Safari, it looks fine however, when opening in Internet Explorer, it’s got some overlapping issues. I simply wanted to provide you with a quick heads up! Aside from that, great site!
Having read this I believed it was really enlightening. I appreciate you spending some time and effort to put this information together. I once again find myself personally spending a lot of time both reading and leaving comments. But so what, it was still worth it.
Spot on with this write-up, I really believe that this site needs far more attention. I’ll probably be returning to read through more, thanks for the info!
I needed to thank you for this good read!! I absolutely loved every little bit of it. I have got you bookmarked to check out new things you post…
Good information. Lucky me I recently found your website by accident (stumbleupon). I’ve saved as a favorite for later!
This is a topic which is close to my heart… Best wishes! Exactly where can I find the contact details for questions?
boner pills online: Cheapest online ED treatment – online ed drugs
cheapest online ed meds: online ed prescription same-day – ed meds cheap
indian pharmacy online: Top mail order pharmacies – п»їlegitimate online pharmacies india
You should be a part of a contest for one of the best sites on the net. I’m going to highly recommend this web site!