Get the most out of your Centmin Mod LEMP stack
Become a Member

Sysadmin Who uses Screen for linux ?

Discussion in 'System Administration' started by eva2000, Jun 19, 2014.

Tags:
  1. eva2000

    eva2000 Administrator Staff Member

    30,546
    6,849
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,262
    Local Time:
    3:10 AM
    Nginx 1.13.x
    MariaDB 5.5
    Screen is useful for managing multiple SSH windows and also for maintaining an active SSH window even when your connection between you and your server is lost. This is useful is you run Centmin Mod install and/or upgrade commands and you have a flaky ISP connection to your server.

    To install linux screen and setup a dedicated screen for updates etc check out below tutorials

    Install is easy
    Code:
    yum -y install screen
    Screen tutorials
    I use screen alot of times with long term clients of mine, I setup a dedicated screen which I work in and survives when I log out of SSH, so when I return I can pick off where I left off on or check on processes or commands I may have left running for monitoring or analysis.

    Comes in handy :)
     
    Last edited: Nov 6, 2016
    • Like Like x 1
    • Informative Informative x 1
  2. Floren

    Floren Active Member

    148
    76
    28
    Jun 6, 2014
    Ratings:
    +76
    Local Time:
    12:10 PM
    I use it all the time, is an essential tool for my work.

    screen.jpg

    @eva2000, you should look also into autossh, is available in AXIVO repo.
    Yes, I also use Windows, not just Linux. :D
     
  3. eva2000

    eva2000 Administrator Staff Member

    30,546
    6,849
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,262
    Local Time:
    3:10 AM
    Nginx 1.13.x
    MariaDB 5.5
    ouch white background ! Looking at that for long periods of time must be killer on the eyes :)
     
  4. Floren

    Floren Active Member

    148
    76
    28
    Jun 6, 2014
    Ratings:
    +76
    Local Time:
    12:10 PM
    Actually the white background is default in RHEL6 distributions. :)
    For some reason, black hurts my eyes... probably because I'm to used dealing with text editors. :)
     
  5. eva2000

    eva2000 Administrator Staff Member

    30,546
    6,849
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,262
    Local Time:
    3:10 AM
    Nginx 1.13.x
    MariaDB 5.5
  6. Floren

    Floren Active Member

    148
    76
    28
    Jun 6, 2014
    Ratings:
    +76
    Local Time:
    12:10 PM
    @eva2000, default terminal in RHEL, I did not changed the color scheme:

    screen.jpg

    Check the OQGraph functionality I enabled in MariaDB 10.0.12. :D
     
  7. eva2000

    eva2000 Administrator Staff Member

    30,546
    6,849
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,262
    Local Time:
    3:10 AM
    Nginx 1.13.x
    MariaDB 5.5
    Oh you meant terminal app itself.
     
  8. Floren

    Floren Active Member

    148
    76
    28
    Jun 6, 2014
    Ratings:
    +76
    Local Time:
    12:10 PM
    @eva2000, ya, in a Gnome environment.
     
  9. Sunka

    Sunka Active Member

    923
    240
    43
    Oct 31, 2015
    Rijeka, Croatia
    Ratings:
    +388
    Local Time:
    6:10 PM
    Nginx 1.13.3
    MariaDB 10.1.24
    How to upgrade screen to newest version (4.4.0)?

    Code:
    [root@tvor-ocean ~]# screen -v
    Screen version 4.01.00devel (GNU) 2-May-06
    
    
    [root@tvor-ocean ~]# yum list screen -q
    Installed Packages
    screen.x86_64            4.1.0-0.23.20120314git3c2946.el7_2            @updates
    
    
    [root@tvor-ocean ~]# yum update screen
    Loaded plugins: fastestmirror, priorities
    Loading mirror speeds from cached hostfile
     * base: mirror.imt-systems.com
     * epel: mirror.de.leaseweb.net
     * extras: ftp.plusline.de
     * updates: ftp.plusline.de
    135 packages excluded due to repository priority protections
    No packages marked for update
     
  10. eva2000

    eva2000 Administrator Staff Member

    30,546
    6,849
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,262
    Local Time:
    3:10 AM
    Nginx 1.13.x
    MariaDB 5.5
    • Agree Agree x 1