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.
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.
- Install the packages below.
- Before installing the packages, Run the command ‘sudo yum update’. This will update the packages list and any packages on your machine.
- 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)
- 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)
- Extract the Ephesoft_4*.zip file (example Ephesoft_18.104.22.168.zip) to it’s own directory. ‘unzip Ephesoft_22.214.171.124.zip -d Ephesoft4.0 will extract the zip file to a new directory named Ephesoft4.0
- Edit the install-helper file in the installer directory and comment out the internet check (Do this before you attempt to install Ephesoft)
- 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.
- save after making changes
- Update the dependencies file list inside the Ephesoft_126.96.36.199.tar.gz
- Open Ephesoft_188.8.131.52.tar.gz in archive manager (the version number may be newer depending on the Ephesoft version that you install.)
- Navigate to the Ephesoft/Dependencies folder inside of the tar.gz file.
- Edit the file dependencies_redhat
- 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)
- 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.
- Save the cahnges to the text file before closing
- You will be asked if you want to update the file inside of the archive, press Update.
- Once it is finished adding files to archive, then you may close archive manager.
- 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.
- 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:
libjpeg-devel (may be libjpeg-turbo-devel instead, keep a note if it is.)
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*