目录
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 即可。
Good post. I’m facing a few of these issues as well..
Comp Points: Earn Comp Points automatically every time you wager real money at SlotoCash. No forms, no special applications—just play your favorite games and earn points from your first bet with no max cashout. Accumulate points and redeem them for real cash: $1 for every 100 Comp Points. If you’re a UK-based casino player, you’ll be pleased to know there are many outstanding online casinos to play slots and casino games in the UK. What’s more, these sites typically offer very competitive casino bonuses and free spins for new players. Compared to their land-based counterparts, online casinos have one huge advantage- they allow players to explore games without having to spend money. That’s right, it is possible to have lengthy playing sessions exploring some of the best slot machines, video poker games, and table games without having to pay a single dollar.
https://www.pubpub.org/user/Angela-Robison
The way to win big and really get to experience every slot game is to take the first deposit bonus. Again, Casumo make it easy and simple, with deposits instantly in your account and your bonuses sitting in your rewards tab, whenever you want to use them. Founded in 2012, Casumo is one of the most distinctive and innovative online casino and sports betting operators in Europe. Our goal has always been to design, improve, reinvent and shape the future of online gaming. The company was founded in Sweden in 2012 and today we are proud to offer our products in a number of highly regulated markets including Sweden, the United Kingdom, Germany and other emerging markets worldwide subject to applicable law. Casumo is something extra and a fun contrast to all casino sites that tend to look so similar to each other. Except the friendly casumos that will guide you through the adventure, a 200% bonus with a fair wager requirement is up for grabs which just is the start of a cool casino experience. If you become a member of Casumo we highly recommend trying the reel races at least once since the action and thrill it creates is rare to find at any other casino site.
mexico drug stores pharmacies buying prescription drugs in mexico online mexican border pharmacies shipping to usa
instagram en iyi hacklink servisi satın al. Porno videoları izle.
princeton university store pharmacy superdrug pharmacy doxycycline gabapentin online pharmacy
mexico drug stores pharmacies: buying prescription drugs in mexico online – mexican pharmaceuticals online
indian pharmacy buy prescription drugs from india reputable indian pharmacies
mexico pharmacies prescription drugs: mexican online pharmacies prescription drugs – best online pharmacies in mexico
buy prescription drugs from india: cheapest online pharmacy india – Online medicine home delivery
mexico drug stores pharmacies: medication from mexico pharmacy – mexican pharmaceuticals online
online pharmacy cialis reviews: best online pharmacy generic levitra – pharmacy online program
I’ve been looking for answers on this—thank you!오피
mexico drug stores pharmacies reputable mexican pharmacies online buying prescription drugs in mexico online
You need to take part in a contest for one of the greatest websites online. I’m going to recommend this blog!
winn dixie pharmacy seconal online pharmacy propecia pharmacy price
buying from online mexican pharmacy: buying from online mexican pharmacy – п»їbest mexican online pharmacies
mexican border pharmacies shipping to usa best online pharmacies in mexico medication from mexico pharmacy
buy medicines online in india: world pharmacy india – top 10 pharmacies in india
inderal online pharmacy: viagra international pharmacy – frys pharmacy
buying prescription drugs in mexico online: mexican pharmaceuticals online – mexican border pharmacies shipping to usa
pharmacies in mexico that ship to usa: п»їbest mexican online pharmacies – buying from online mexican pharmacy
warfarin audit pharmacy: best online pharmacy stores – rx express pharmacy stockton ca
https://pharmbig24.online/# imiquimod cream online pharmacy
Utilisez le 1xBet Guyane 2024 et profitez de l’offre VIP 1xBet de 200% jusqu’a 78 000 XOF sur les paris sportifs. Inscrivez-vous avec un code promotionnel et recevez un bonus de bienvenue. Vous pouvez utiliser l’argent du bonus pour parier sur des sports ou jouer dans des casinos en ligne. La promotion 2024 est valable pour tous les nouveaux clients.
india pharmacy percocet levitra prices pharmacy seroquel pharmacy assistance
http://pharmbig24.com/# periactin online pharmacy no prescription
Модные заметки по созданию превосходных видов на любой день.
Заметки профессионалов, новости, все новинки и мероприятия.
https://mvmedia.ru/novosti/122-gde-luchshe-pokupat-originalnye-brendovye-veshchi-kak-vybrat-nadezhnye-magaziny-i-platformy/
cheapest online pharmacy india reputable indian pharmacies buy prescription drugs from india
Hey there! I just want to offer you a big thumbs up for the excellent information you’ve got here on this post. I am coming back to your website for more soon.
tesco pharmacy levitra med rx online pharmacy Levitra Soft
cheapest online pharmacy india: Online medicine order – best online pharmacy india
pharmacies in mexico that ship to usa: mexican mail order pharmacies – buying prescription drugs in mexico online
virginia board of pharmacy: buy growth hormone online pharmacy – mexican pharmacies
Naltrexone: save rx discount pharmacy – cigna online pharmacy
indian pharmacies safe: pharmacy website india – best online pharmacy india
avandia rems pharmacy Levitra watson pharmacy viagra
https://mexicopharmacy.cheap/# buying from online mexican pharmacy
You’ve offered a unique perspective here.오피
indian pharmacy online pharmacy india india online pharmacy
best online pharmacies in mexico: mexican mail order pharmacies – mexican pharmaceuticals online
reputable indian pharmacies: online pharmacy india – cheapest online pharmacy india
http://mexicopharmacy.cheap/# mexican mail order pharmacies
Way cool! Some very valid points! I appreciate you penning this article and the rest of the website is very good.
promo code on 1xbet
A 1xBet promo code list is a compilation of active promo codes that can be used to claim bonuses on the platform. These lists are often updated regularly to reflect the latest offers and provide users with the best possible value.
mexico drug stores pharmacies: medication from mexico pharmacy – pharmacies in mexico that ship to usa
I could not resist commenting. Well written.
mexican mail order pharmacies reputable mexican pharmacies online mexican online pharmacies prescription drugs
mexican rx online medicine in mexico pharmacies medicine in mexico pharmacies
viagra from mexico pharmacy: can i buy viagra from tesco pharmacy – naproxen pharmacy
buy prescription drugs from india Online medicine order indian pharmacy online