Attachments

advanced/Portal Installation Remotely

1. Safe portal installation using Screen utility

1.1. Summary

Installing the portal using ssh connection may cause some issues if the network connection stops.

If the ssh connection stop or quit unexpectively, the script installation will stops.

2. Analysis and Resolution

2.1. Summary

This article describe how to use screen session to install the portal and allow to have a safe installation.

Screen utility take the ability to decouple the terminal emulator from the running program, which ensures your job is running even if you accidentally close your window, session stop or in case you log out.

2.2. Resolution

  1. Login to the Portal via ssh
  2. Type:

    screen
    (screen starts and creates a new single window with a shell)
  3. Now that you have started screen in a terminal, follow the instruction provided about the installation of the portal package:

    sudo rpm -Uvh portal-XXXX.rpm
  4. At the end of the installation, Type:

    exit
    .

Note: If you are disconnected during the installation, the screen session persist.

For example:

  • Login to the Portal via ssh
  • Type:

    $ screen -ls
    There is a screen on:
            4124.pts-0.nxportal     (Attached)
    1 Socket in /var/run/screen/S-nexthink.
  • Connect using the pid provided:

    $ screen -r 4124

3. Supporting Material

3.1. Additional Documentation

http://www.pixelbeat.org/lkdb/screen.html

3.2. Contact Information

If you require further assistance regarding the present case or if you want to contribute to the accuracy of published information, please open a case using http://support.nexthink.com,


CategoryPortal