Topic: How to install Ephesoft on a RedHat 6.5 server with no internet connection.

Applicable Ephesoft versions: 4.0 and above

In the event that you must install Ephesoft on an air-gapped server or a server on a closed network with no external access, there are specific steps which must be taken.

More Info:

When installing Ephesoft on a RedHat server which has no internet connection, a few changes must be made to the install-helper file and some changes must be made to the tar.gz file after installing the dependencies required by Ephesoft.

The dependencies which Ephesoft uses must be installed prior to the installation of Ephesoft. There are multiple methods for this. Some distributions such as Red Hat have the option of creating a satellite server on your network which has a copy of all repositories available for Red Hat and will allow you to install the packages through it. Some distributions will have the ability to install the packages from the installation disk with which you installed your distribution. And the other option is to download the packages or source from the repositories and compile/install the yourself on the server. Ephesoft will not install without these dependencies, so one of these options is necessary.

Instructions:

  1. Install the packages below.
    1. Before installing the packages, Run the command ‘sudo yum update’. This will update the packages list and any packages on your machine.
    2. Install the packages with the ‘sudo yum install’ command. All packages must be installed. See wiki article here if you are installing on a RedHat server without a Desktop Environment such as AWS (Gnome or other GUI)
    3. Some packages may change names and will be listed during the install of the packages, keep track of the new names as they will be needed in step 4.5. (example: libjpeg-devel is renamed libjpeg-turbo-devel on some systems)
  2. Extract the Ephesoft_4*.zip file (example Ephesoft_4.0.2.0.zip) to it’s own directory. ‘unzip Ephesoft_4.0.2.0.zip -d Ephesoft4.0 will extract the zip file to a new directory named Ephesoft4.0
  3. Edit the install-helper file in the installer directory and comment out the internet check (Do this before you attempt to install Ephesoft)
    1. You will comment out lines 1408-1413 (Or search for the line with google.com in it and comment out the 6 lines in that secone from echo to fi.
    2. save after making changes
  4. Update the dependencies file list inside the Ephesoft_4.0.2.0.tar.gz
    1. Open Ephesoft_4.0.2.0.tar.gz in archive manager (the version number may be newer depending on the Ephesoft version that you install.)
    2.  Navigate to the Ephesoft/Dependencies folder inside of the tar.gz file.
    3. Edit the file dependencies_redhat
    4. Replace the 0’s with 1’s next to the packages which you have installed in step 1. (example gettext=0 will need to be changed to gettext=1)
    5. If in step 1, it installed libjpeg-turbo-devel instead of libjpeg-devel, you will also want to change the name of the dependency in this file before saving the file.
    6. Save the cahnges to the text file before closing
    7. You will be asked if you want to update the file inside of the archive, press Update.
    8. Once it is finished adding files to archive, then you may close archive manager.
    9. If you already tried to install, then the dependencies file will be at /opt/Ephesoft/Dependencies/dependencies and you will have to replace the 0’s in the file with 1’s.
  5. You may now install Ephesoft as you normally would. Remember to switch to Root in order to install Ephesoft or the install will fail.

 

 

Dependencies that must be installed:

List of Dependencies:
libpng-devel
libjpeg-devel (may be libjpeg-turbo-devel instead, keep a note if it is.)
libtiff-devel
gettext
glibc-devel
dos2unix
libc.so.6
rpm-build
rpmdevtools
gcc* (not listed in the dependencies file, but is necessary and if the server does not have internet access, this does not provide a security issue)

 

You can install them all at once with the command below.

sudo yum install libpng-devel libjpeg-devel libtiff-devel gettext glibc-devel dos2unix libc.so.6 rpm-build rpmdevtools gcc*

 

 

< Back | How To Main PageNext How To Article #? > 

Was this article helpful to you?

J.D. Abbey

Comments are closed.