目录
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 即可。
xeloda online pharmacy: sams club pharmacy lipitor – publix pharmacy
reputable indian online pharmacy: loratadine pharmacy choice – people’s pharmacy wellbutrin
капельницы от запоя капельницы от запоя .
заказать семена по интернету https://www.semenaplus74.ru .
https://drstore24.com/# irmat pharmacy
pharmacy escrow viagra
clotrimazole price pharmacy: actos pharmacy assistance – lipitor mail order pharmacy
https://onlineph24.com/# reliable rx pharmacy reviews
finasteride united pharmacy
phuket pharmacy viagra: fred’s pharmacy – us pharmacy
Hey! I’m Charles, and if you’re tired of the 9-to-5 grind and believe office coffee tastes like anguish, I’ve got great news for you. Invite to the 1K a Day System, where we swap coffee for capital and desks for financial independence. Are you all set to sell your tie for a ticket to liberty? Let’s turbocharge your profits and have some enjoyable along the way!
https://onlineph24.com/# online pharmacy zithromax
republic rx specialty pharmacy
Профессиональный сервисный центр по ремонту бытовой техники с выездом на дом.
Мы предлагаем: сервис центры бытовой техники москва
Наши мастера оперативно устранят неисправности вашего устройства в сервисе или с выездом на дом!
rx crossroads pharmacy phone number: giant pharmacy – schnucks pharmacy buttler hill rd store hours
https://easydrugrx.com/# trusted online pharmacy cialis
rx express pharmacy
Hey! I’m Charles, and if you’re tired of the 9-to-5 grind and believe workplace coffee tastes like misery, I’ve got great news for you. Welcome to the 1K a Day System, where we switch coffee for capital and desks for monetary independence. Are you prepared to trade in your tie for a ticket to liberty? Let’s turbocharge your revenues and have some enjoyable along the way!
грунт для цветов комнатных грунт для цветов комнатных .
brazilian pharmacy online: celebrex target pharmacy – aciclovir in pharmacy
https://pharm24on.com/# us pharmacy cialis online
pharmacy metoprolol
ПромоКод Букмекерской Конторы Melbet 2024 При Регистрации – это код для новых пользователей, так как он дает денежные призы на первый депозит новым игрокам. промокод мелбет 2024 – это отличный способ сделать игру максимально захватывающей и прибыльной. Букмекер регулярно запускает выгодные бонусные программы и акции, которые помогают беттерам наслаждаться игровым процессом и иметь особые привилегии. Сегодня доступно несколько типов промокодов на игру в Мелбет. Они различаются условиями получения и принципом действия. Melbet промокод при регистрации, увеличивающий сумму первого взноса. С его помощью можно получить дополнительные 130% на игровой баланс для заключения пари.
прогнозы на спорт в телеграмм прогнозы на спорт в телеграмм .
https://drstore24.com/# publix pharmacy store locator
albendazole online pharmacy
https://drstore24.com/# publix pharmacy lipitor
online pharmacy vardenafil
pain meds online pharmacy: bactrim ds online pharmacy – thriftway pharmacy store locator
I’m sharing this with my community.오피
usa pharmacy: doxycycline from pharmacy – mutual of omaha rx pharmacy
https://onlineph24.com/# orlistat online pharmacy uk
superdrug pharmacy doxycycline
When performing fundamental analysis, it is key to note that no single metric can give you a full picture of cryptocurrency investment, however by examining the full scope of a cryptocurrency project, you can develop a more comprehensive outlook. We’ve put together an overview of today’s key cryptocurrency statistics and trends, including investor demographics, key influences, and risks, as well as some insights into crypto revenue. Let’s take a look. See how Trend outperforms the competition Kennedy has previously highlighted the potential power of cryptocurrency to help protect the transactional freedom of Americans. Digital assets like cryptocurrencies, NFTs and other tokens are past “emerging” — they’re here to stay.
https://wiki-net.win/index.php?title=Bitcoin_to_sats_converter
His project Biologlitchy is exclusively available as part of Sedition art curated program. Into NFTs and crypto art? You can find his works at Rarible, Elementum, Snark.Art, Pixeos, Mintable, Ephimera, My BAE by BlockchainArtExchange. Links are to be found here. The issue occurred in mid-November when Coinbase customers were able to buy GYEN, a stablecoin that is pegged to the value of one Japanese yen. Also involved in the mishap was POWR, a cryptocurrency designed to be used in energy trading. Copyright © 2023. Portions of this content may be copyrighted by Fresh Brewed Media, Investors Observer, and or O2 Media LLC. All Rights Reserved. Portions of this content protected by US Patent numbers 7,865,496, 7,856,390, and 7,716,116. Investing in stocks, bonds, option and other financial instruments involve risks and may not be suitable for everyone. Portfolio results are unaudited and based on varying investment expiration dates. Terms of Service | Privacy Policy
mckesson pharmacy rx: cialis offshore pharmacy – uk pharmacy viagra online
https://drstore24.com/# viagra online us pharmacy no prescription
mexican pharmacy seroquel
https://pharm24on.com/# flomax training pharmacy
Feldene
саженцы почтой наложенным платежом rodnoisad.ru .
лучшие онлайн казино лучшие онлайн казино .
хендай солярис 2024 автомат хендай солярис 2024 года цена
технический аудит сайта москва https://seo-5.ru
электрокарнизы в москве http://www.elektrokarniz2.ru/ .
комплексное seo в интернете цена продвижение сайта в москве
I take pleasure in, lead to I discovered just what I was having a look for. You have ended my four day long hunt! God Bless you man. Have a nice day. Bye
https://diariodejatai.com.br/pag/pin-up-login_2.html
снять ломку наркомана снять ломку наркомана .
выведение из запоя на дому спб выведение из запоя на дому спб .
1вин: 1win вход – 1win зеркало
Букмекерские конторы в России предлагают огромное количество промокодов и бонусов для своих клиентов, особенно много купонов новичкам, где при регистрации можно получить бесплатно деньги на свой счет. Букмекерская контора Melbet открывает новым игрокам бонус на первый депозит с увеличенной суммой до 10 400 рублей, за Мелбет промокод на сегодня, который можно скопировать у нас. Предлагаем ввести промокод при регистрации Melbet на сегодня, который в 2024 году даёт увеличение 130% бонуса на первый депозит до 10 400 рублей. Регистрируйся и играй с Мелбет сегодня!!! Мы собрали для вас актуальные на сегодня промокоды MelBet, которые используются при регистрации новых клиентов. После чего скидки и бонусы будут зачислены вам на счет.
http://vavada.auction/# vavada casino
http://vavada.auction/# вавада рабочее зеркало
ван вин: ван вин – 1вин
vavada: вавада зеркало – казино вавада
Hi superb blog! Does running a blog similar to this take a large amount of work? I’ve very little knowledge of coding however I had been hoping to start my own blog in the near future. Anyhow, if you have any suggestions or techniques for new blog owners please share. I understand this is off subject nevertheless I simply had to ask. Cheers!
вавада зеркало рабочее на сегодня
https://1xbet.contact/# 1xbet официальный сайт мобильная версия
You made some really 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.
http://vavada.auction/# вавада зеркало
1вин зеркало: 1win официальный сайт – 1вин официальный сайт
1xbet официальный сайт мобильная версия: 1xbet скачать – 1хбет