目录
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 即可。
Online medicine home delivery indian pharmacy world pharmacy india
top 10 online pharmacy in india reputable indian online pharmacy world pharmacy india
http://indianpharmacy.company/# online shopping pharmacy india
http://pharmbig24.com/# tamiflu pharmacy
medicine in mexico pharmacies: mexican online pharmacies prescription drugs – purple pharmacy mexico price list
mail order pharmacy india reputable indian pharmacies buy medicines online in india
Промокод Fonbet https://berforum.ru/rota/pages/?aktualnuy_promokod_fonbet_pri_registracii.html
Промокоды Fonbet предоставляют пользователям возможность получить бонусы и бесплатные ставки. Например, промокод ‘GIFT200’ активирует приветственные бонусы для новых пользователей. Эти промокоды могут использоваться при регистрации или внесении депозита, что делает процесс игры более выгодным и интересным.
one click pharmacy propecia: klonopin online pharmacy no prescription – how to buy viagra at pharmacy
Ретрит http://ретриты.рф международное обозначение времяпрепровождения, посвящённого духовной практике. Ретриты бывают уединённые и коллективные; на коллективных чаще всего проводится обучение практике медитации.
Discover the world of excitement at Pin Up Casino, the world’s leading online casino. The official website Puk up offers more than 4,000 slot machines. Play online for real money or for free using the working link today
buy medicines online in india: best online pharmacy india – mail order pharmacy india
phenytoin clinical pharmacy gold pharmacy online cialis super active online pharmacy
http://indianpharmacy.company/# top online pharmacy india
azithromycin mexico pharmacy: ketamine online pharmacy – big online pharmacy
You’re so cool! I don’t think I’ve read through something like this before. So wonderful to find another person with a few unique thoughts on this subject matter. Seriously.. thanks for starting this up. This website is one thing that is needed on the internet, someone with some originality.
india pharmacy mail order top online pharmacy india best online pharmacy india
online pharmacy pain meds: pharmacy online clomid – best online pharmacy provigil
buy medicines online in india: online shopping pharmacy india – Online medicine order
advair pharmacy coupon: buspirone online pharmacy – cooperative pharmacy store locator
pharmacies in mexico that ship to usa mexican online pharmacies prescription drugs buying from online mexican pharmacy
http://pharmbig24.com/# nexium pharmacy price
reputable mexican pharmacies online: mexican pharmaceuticals online – mexican border pharmacies shipping to usa
You’ve made some good points there. I looked on the web for more information about the issue and found most people will go along with your views on this site.
https://pharmbig24.online/# new zealand pharmacy domperidone
fry’s pharmacy: online pharmacy no prescription needed lortab – health express pharmacy+artane castle
п»їlegitimate online pharmacies india indian pharmacies safe indian pharmacy paypal
Pin up casino official Slot pick up casino website – login and play online
Ready for Live Casino betting? Want to try your hand at Poker, Roulette, Baccarat or one of our many Live Game Shows? Simply sign up to Grosvenor Casino today and get ready to test yourself against our real-life dealers with our selection of Live Casino Games. Operated by TSG Interactive Gaming Europe Limited, a company registered in Malta under No. C54266, with registered office at Spinola Park, Level 2, Triq Mikiel Ang Borg, St Julians SPK 1000, Malta. License No. MGA B2C 213 2011, awarded on August 1, 2018. Maltese VAT-ID MT24413927. Online gambling is regulated in Malta by the Malta Gaming Authority. Although you’d hope never to need customer support at live dealer casinos, having something solid to fall back on is reassuring. The best live dealer casinos offer 24 7 assistance through live chat, email, and even social media. However, our team prioritized live casino sites with a phone support hotline.
https://sergiorsqo307418.prublogger.com/28220726/888-poker-iphone
England are through to the final of Euro 2024 – but will they finally end their long wait for silverware this week? Netherlands: +400 The final draw for UEFA Euro 2024 was held on December 2, 2023. Here’s what you need to know about the last eight: “I'm excited by the challenge of trying to do something that no England team have ever done,” he said. We've never won a European Championship. We've never won a tournament away from home. We've never been to a final away from home. Take a look at these Euro 2024 betting offers and free bets Sign up UEFA EURO 2024 kicks off in Munich on Friday 14 June and ends with the final in Berlin on Sunday 14 July. July 10 + There will be a notable absentee from next year's European Championship: Erling Haaland. It could also impact his ambitions of winning the Ballon d'Or award next year and being confirmed the world's No. 1 soccer player. How could it impact the race? (Read more)
I’m sharing this with my community.오피
tijuana pharmacy cialis: target pharmacy omeprazole – levitra pharmacy price
tijuana pharmacy cialis: polish pharmacy online uk – abortion pill online pharmacy
vyvanse online pharmacy: target pharmacy effexor – target store pharmacy hours
Comment puis-je gagner des points промокод в 1хбет на ставку сегодня?
Dans le bookmaker 1xbet en tant qu’encouragement des clients pour leur participation active au processus de jeu, ils fournissent des points promotionnels dans le cadre du programme de fidelite. Vous pouvez obtenir des points pour les Paris sportifs reguliers, Express, pour la reconstitution reguliere du compte et la participation aux actions du bookmaker.
pharmacy store: risperdal online pharmacy – pharmacy cost of percocet
ретрит что это такое простыми словами https://ретриты.рф
paxil online pharmacy: nabp pharmacy – lexapro pharmacy coupon
tijuana pharmacy cialis: viagra pharmacy india – people’s pharmacy wellbutrin xl
this year our home decorating ideas would be more on eco friendly home decorations;
antabuse online pharmacy: rite aid pharmacy store hours – revatio online pharmacy
Cephalexin: quality rx pharmacy hyde park ma – online pharmacy store usa
Надежная букмекерская контора 888 starz предлагает широкие возможности.
I’m amazed, I have to admit. Rarely do I encounter a blog that’s equally educative and engaging, and let me tell you, you have hit the nail on the head. The problem is something that not enough folks are speaking intelligently about. Now i’m very happy I stumbled across this in my search for something regarding this.
sams club pharmacy: morrisons pharmacy viagra – trusted online pharmacy
эко лайф ретрит https://ретриты.рф
ретриты 2024 https://ретриты.рф
target pharmacy amoxicillin: lamotrigine pharmacy – advair pharmacy coupon
clobetasol propionate online pharmacy: provigil pharmacy prices – viagra generic online pharmacy
Spot on with this write-up, I really feel this site needs a great deal more attention. I’ll probably be returning to see more, thanks for the advice.
online pharmacy programs: Imdur – fred meyer pharmacy
value rx pharmacy tazewell tn: generic cialis pharmacy – austria pharmacy online