Install Web Client on Offline Systems

Before you begin

Even though you want to install Web Client on an offline machine, you need to have required packages to be available. For this, you need to perform from Step-1 through Step-8 to download these required packages on a machine that is connected to the internet and then manually copy the packages to the offline machine.

About this task

Use this method of installation if you want to install Plant Applications Web Client in an offline mode.

Procedure

  1. Ensure that you are connected to the internet until Step-5. Create a requirements.txt file.
  2. Open the requirements.txt file and copy below 3 lines (no line spaces in between) into the file and save it.

    pymssql==2.1.4

    ansible==2.9.0

    Jinja2==2.10
  3. Run the command mkdir offlinepackages && pip download -r requirements.txt -d offlinepackages to download the offline packages dependencies.
    Once the command is executed the offlinepackages directory is created.
  4. Copy the requirements.txt file into the offlinepackages directory.
  5. Run the tar -zcf offlinepackages.tar.gz offlinepackages command.
  6. Uninstall pymssql, ansible, and jinja2.
  7. Create a new directory offline_rpms using the mkdir offline_rpms command.
  8. Run the following commands to download the freetds rpm packages to the offline_rpms folder.
    1. sudo wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
    2. sudo rpm -ivh epel-release-6-8.noarch.rpm
    3. sudo yum install --downloadonly --downloaddir=offline_rpms freetds freetds-devel
    Once the above commands are executed, you can see the below rpm packages downloaded to the offline_rpms folder.
    • freetds-1.1.20-1.el7.x86_64.rpm
    • freetds-devel-1.1.20-1.el7.x86_64.rpm
    • freetds-libs-1.1.20-1.el7.x86_64.rpm

    Perform Step-9 through Step-15 on a offline machine where you want to install Plant Applications Web Client.

  9. Copy the offline_rpms folder and the offlinepackages.tar.gz file to any selected path on the target machine.
  10. Navigate to the offline_rpms folder.
  11. From the offline_rpms folder, run the following commands to install the rpm packages locally.
    1. sudo yum localinstall freetds-1.1.20-1.el7.x86_64.rpm
    2. sudo yum localinstall freetds-devel-1.1.20-1.el7.x86_64.rpm
    3. sudo yum localinstall freetds-libs-1.1.20-1.el7.x86_64.rpm
  12. Navigate to the folder where the offlinepackages.tar.gz file was copied.
  13. To extract the file, run tar -zxf offlinepackages.tar.gz.
  14. Run pip install -r offlinepackages/requirements.txt --no-index --find-links offlinepackages to install the libs and their dependencies.
  15. Perform the installation.