在CentOS 6.x/7.x最简单的方式安装screen应该是通过yum进行安装:
yum -y install screen
但是假如没有网络,或者想升级screen,那么就需要编译安装screen。
1:下载screen
下载地址:https://ftp.gnu.org/gnu/screen/
2:解压,编译安装:
tar zxf screen-4.6.1.tar.gz cd screen-4.6.1 ./autogen.sh ./configure make make install install -m 644 etc/etcscreenrc /etc/screenrc
该过程make install可能遇到下面问题:
【已解决】make[2]: makeinfo: Command not found
3:测试是否成功:
[root@localhost ~]# which screen /bin/screen [root@localhost ~]# screen --version Screen version 4.06.01 (GNU) 10-Jul-17
到此,CentOS 6.x下的screen安装完成。
更多可以参考:
https://blog.csdn.net/T1DMzks/article/details/78465462
http://www.linuxfromscratch.org/blfs/view/cvs/general/screen.html
文章的脚注信息由WordPress的wp-posturl插件自动生成
微信扫一扫,打赏作者吧~![[已解决]nc命令报错 close: Bad file descriptor](http://www.jyguagua.com/wp-content/themes/begin/timthumb.php?src=http://www.jyguagua.com/wp-content/uploads/2022/03/Snipaste_2022-03-18_20-16-48.png&w=280&h=210&zc=1)
![[已解决]SecureCRT/SSH 连接Linux缓慢](http://www.jyguagua.com/wp-content/themes/begin/timthumb.php?src=http://www.jyguagua.com/wp-content/uploads/2020/07/ssh_slow.jpg&w=280&h=210&zc=1)
![[转载]Linux的tickless设置](http://www.jyguagua.com/wp-content/themes/begin/timthumb.php?src=http://www.litrin.net/wp-content/uploads/2018/11/kernel_menuconfig_tickless-1.png&w=280&h=210&zc=1)
![[整理]鲲鹏性能优化十板斧(五)——应用程序性能调优<TaiShan特战队出品>](http://www.jyguagua.com/wp-content/themes/begin/timthumb.php?src=http://www.jyguagua.com/wp-content/uploads/2020/03/1-4.jpg&w=280&h=210&zc=1)