目录
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 即可。
купить квартиру в новостройке от застройщика https://nedvizhimost-47.ru
южный парк смотреть на русском бесплатно https://southpark-serial.ru
Real Madrid midfielder Rodrigo https://rodrygo.prostoprosport-ar.com gave Madrid the lead in the Champions League quarter-final first leg against Manchester City. The meeting takes place in Madrid. Rodrigo scored in the 14th minute after a pass from Vinicius Junior.
There are several posts to choose from near this, I do think taking there reference could experience made this spot or article really informative. That’s not me expression this information is negative. Simply I’ve got to pronounce how the info provided here was unique, merely to make it more in close proximity to complete, supporting with former information get been actually good. The points you will enjoy touched allow me to share really important, thus I will spot some of the information here to produce this actually good for entirely the newbie’s here. Many thanks for this information. Actually helpful!
I like the helpful info you provide in your articles. I?ll bookmark your blog and check again here frequently. I am quite sure I?ll learn a lot of new stuff right hear Best of luck for the next!
Someone essentially help to make significantly posts I might state. This is the first time I frequented your web page and so far? I surprised with the research you made to make this actual submit amazing. Wonderful job!
Simply wanna remark that you have a very decent internet site , I love the design it actually stands out.
It arduous to search out educated people on this topic, but you sound like you realize what you are talking about! Thanks
An impressive share, I just now given this onto a colleague who had previously been doing a small analysis for this. Anf the husband the truth is bought me breakfast because I came across it for him.. smile. So allow me to reword that: Thnx for your treat! But yeah Thnkx for spending time to discuss this, Personally i think strongly concerning this and enjoy reading more on this topic. If you can, as you become expertise, would you mind updating your blog site with additional details? It’s extremely of great help for me. Big thumb up just for this post!
You have brought up a very fantastic points , regards for the post.
Thrilled you desire sensible business online guidelines keep wearing starting tools suitable for the particular web-based business. cash
I think this internet site holds very excellent indited subject material articles .
Hello there, just became alert to your blog through Google, and found that it’s truly informative. I am gonna watch out for brussels. I will be grateful if you continue this in future. Many people will be benefited from your writing. Cheers!
I’m more than happy to discover this site. I wanted to thank you for your time due to this wonderful read!! I definitely appreciated every part of it and i also have you saved as a favorite to look at new stuff on your web site.
I like this site so much, saved to my bookmarks .
I’d must consult you here. Which is not some thing It’s my job to do! I spend time reading an article that may get people to think. Also, many thanks for permitting me to comment!
Aw, this was an incredibly nice post. In notion I have to invest writing similar to this additionally – taking time and actual effort to generate a excellent article… but exactly what do I say… I procrastinate alot and no means apparently go done.
Very Nice website. I recently engineered mine and that i was craving for some ideas and you gave me a number of. might i raise you whether or not you developed the web site by youself ?
of course like your web-site however you need to check the spelling on quite a few of your posts. A number of them are rife with spelling issues and I to find it very bothersome to inform the reality however I’ll surely come back again.
This site is usually a walk-through you discover the details you wished with this and didn’t know who must. Glimpse here, and you’ll absolutely discover it.
well, our bathroom sink is always made from stainless steel because they are long lasting”
Thanks so much for writing all of the excellent information! Looking forward to checking out more posts!
There’s noticeably a bundle to find out about this. I assume you made sure nice points in options also.
The camera work heightens this loss of individuality by filming everyone from the back or side whenever there is action, so close you can’t tell who is doing what, or were in relation to other people they are doing anything with.
Thanks a ton for bothering to line all this out for people. This particular posting ended up being extremely useful if you ask me.
Youre so cool! I dont suppose Ive read anything like this before. So nice to find somebody with original applying for grants this subject. realy thank you for beginning this up. this amazing site is something that is required on the web, an individual if we do originality. valuable job for bringing new stuff towards the internet!
There were countless one liners that made me chuckle or laugh.
I do agree with all the ideas you’ve presented in your post. They are really convincing and will certainly work. Still, the posts are too short for newbies. Could you please extend them a bit from next time? Thanks for the post.
http://azithromycinca.com/# doxycycline over the counter australia
purchase doxycycline online
https://azithromycinca.com/# discount doxycycline
doxycycline for sale
amoxicillin buy online canada: amoxicillin – amoxicillin 500mg capsules antibiotic
amoxicillin 500mg buy online uk
amoxicillin buy online canada: amoxil doxycyclineca – amoxicillin 500 mg
generic amoxicillin cost
amoxicillin online without prescription: amoxil online – where can i buy amoxocillin
amoxicillin 500mg capsules antibiotic
https://azithromycinca.com/# 10 mg doxycycline
price of doxycycline 100mg
amoxicillin no prescription: cheapest amoxicillin – amoxicillin price without insurance
amoxicillin 500 mg online
http://azithromycinca.com/# cost of doxycycline 40 mg
doxycycline 100 mg india
Скачать свежие новинки песен https://muzfo.net 2024 года ежедневно. Наслаждайтесь комфортным прослушиванием, скачивайте музыку за пару кликов на сайте.
buy generic zithromax no prescription: amoxicillinca – zithromax 500 mg lowest price pharmacy online
Hello! Do you know if they make any plugins to assist with SEO?
I’m trying to get my blog to rank for some targeted keywords but I’m not seeing very good
gains. If you know of any please share. Cheers! I saw similar
art here
prescription for amoxicillin: amoxil online – how to buy amoxicillin online
http://doxycyclineca.com/# can you buy amoxicillin over the counter in canada
order generic clomid: clomid Prednisonerxa – can you buy generic clomid pill
https://azithromycinca.shop/# order doxycycline capsules online
zithromax 1000 mg pills: zithromax – zithromax antibiotic
zithromax tablets for sale: buy zithromax online – buy zithromax online australia
http://azithromycinca.com/# how to get doxycycline without prescription
how much is amoxicillin prescription: buy cheapest antibiotics – amoxacillian without a percription
https://clomidca.com/# buying prednisone
Spot on with this write-up, I truly believe that this website needs a great deal more attention. I’ll probably be returning to read more, thanks for the info!
where can i get clomid tablets: Clomiphene – buy cheap clomid price