目录
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 即可。
price of lipitor in india: buy lipitor 20mg – lipitor 10mg price singapore
Cytotec 200mcg price: cheapest cytotec – buy cytotec pills online cheap
Джип туры по Крыму https://м-драйв.рф/ уникальные маршруты и яркие эмоции. Погрузитесь в увлекательнее приключение вместе с нами. Горные, лесные, подземные экскурсии, джиппинг в Крыму с максимальным комфортом.
Pretty! This was a really wonderful post. Thank you for supplying this info.
как заработать денег с нуля http://kak-zarabotat-dengi11.ru .
furosemida: furosemide online – generic lasix
cytotec online https://tamoxifen.bid/# tamoxifen bone pain
lasix 20 mg
buy misoprostol over the counter http://lisinopril.guru/# lisinopril 60 mg tablet
furosemide 40mg
tamoxifen and ovarian cancer: buy tamoxifen citrate – pct nolvadex
สูตรบาคาร่าฟรี 2024 ไพ่ 3 ใบตัด อีกสูตรหนึ่งที่มักเห็นได้ชัดที่สุดตอนผลออก โดยเล่นแบบเดิม 3 รอบติดๆ กัน แล้วรอบต่อไปแทงฝั่งตรงข้าม บางคนนั่งรอให้ผลออกมา 3 รอบก่อนค่อยแทง แต่ก็ไม่ถือว่าเป็นเทคนิคที่แย่เลย.สูตรบาคาร่าฟรี2024
buy cytotec online fast delivery https://lipitor.guru/# lipitor cost in canada
lasix generic
Abortion pills online: cheapest cytotec – cytotec abortion pill
There is certainly a great deal to find out about this topic. I really like all the points you made.
дом инвалидов в симферополе http://xn—–1-43da3arnf4adrboggk3ay6e3gtd.xn--p1ai .
buy cytotec pills: Misoprostol price in pharmacy – cytotec pills buy online
lipitor without prescription: Atorvastatin 20 mg buy online – lipitor 10
Excellent article! We will be linking to this particularly great content on our website. Keep up the good writing.
best google hacklink services.
капельница от запоя в симферополе капельница от запоя в симферополе .
order cytotec online https://lipitor.guru/# lipitor 20 mg
lasix pills
I enjoy reading through a post that will make people think. Also, thanks for permitting me to comment.
buy cytotec online https://cytotec.pro/# Misoprostol 200 mg buy online
lasix 100 mg tablet
выезд нарколога на дом narkolog-na-dom-krasnodar12.ru .
buying lipitor from canada: Lipitor 10 mg price – п»їlipitor price comparison
This site certainly has all of the information I wanted about this subject and didn’t know who to ask.
alternative to tamoxifen: buy tamoxifen online – tamoxifen hot flashes
how much is lipitor: buy lipitor 20mg – lipitor 10mg price comparison
This excellent website really has all the information and facts I needed about this subject and didn’t know who to ask.
cytotec pills buy online http://lipitor.guru/# lipitor generic canada
generic lasix
zestril 10 mg cost: Lisinopril online prescription – lisinopril 40 mg mexico
Hi there! I could have sworn I’ve been to your blog before but after browsing through many of the posts I realized it’s new to me. Anyhow, I’m certainly delighted I found it and I’ll be book-marking it and checking back frequently!
lasix tablet: lasix for sale – lasix dosage
buy nolvadex online: buy tamoxifen online – does tamoxifen cause weight loss
I’d like to thank you for the efforts you have put in penning this blog. I really hope to see the same high-grade blog posts by you later on as well. In fact, your creative writing abilities has encouraged me to get my own blog now 😉
buy misoprostol over the counter https://lisinopril.guru/# buy zestril online
lasix pills
Abortion pills online http://lisinopril.guru/# lisinopril tabs 4mg
lasix furosemide
zestoretic 20 25: cheap lisinopril – lisinopril 25 mg price
furosemida: lasix side effects – furosemide 40 mg
Misoprostol 200 mg buy online: cheapest cytotec – Cytotec 200mcg price
Greetings! Very useful advice within this post! It is the little changes which will make the largest changes. Thanks for sharing!
There is certainly a great deal to find out about this issue. I really like all the points you’ve made.
buy cytotec pills https://furosemide.win/# lasix
lasix furosemide
окно три створки окно три створки .
This web site definitely has all of the info I needed concerning this subject and didn’t know who to ask.
lipitor 30 mg: Lipitor 10 mg price – lipitor discount
atorvastatin lipitor: lipitor 40 mg price – order lipitor online
lipitor cost canada: buy lipitor 20mg – lipitor coupon
https://lipitor.guru/# buy lipitor online uk
Pretty! This was an incredibly wonderful post. Thanks for providing this info.
https://tamoxifen.bid/# how to prevent hair loss while on tamoxifen