When installing Ephesoft on a server which is not connected to the internet, a local repository must be created on the server or on a server which is in the same local network as the Ephesoft Linux server. These instructions are for how to create a local repository for Red Hat 6.5-6.7.

 

First you will need a binary ISO of Red Hat 6.5-6.7. The filename we used is rhel-server-6.7-x86_64-dvd.iso

  1. Make directories that will be used during the install
    1. mkdir -p /mnt/cd /opt/yum/rhel6.7/repodata
  2. Mount the ido to the local machine
    1. mount -o loop /dev/cdrom /mnt/cd
  3. Navigate to the mounted disk and then copy the packages from the disk image to the local directory and the xml file
    1. cd /mnt/cd
    2. cp -a /mnt/cd/Packages/*.rpm /opt/yum/rhel6.7
    3. cp /mnt/cd/repodata/*comps*.xml /opt/yum/rhel6.7/repodata/comps.xml
  4. Creating a local repository will require the installation of specific packages. Here we will navigate to the proper directory and install the three packages needed. The Packages must be installed in the order below due to dependencies.
    1. cd /opt/yum/rhel6.7
    2. rpm -ivh ./deltarpm-3.5-0.5.20090913git.el6.x86_64.rpm
    3. rpm -ivh ./python-deltarpm-3.5-0.5.20090913git.el6.x86_64.rpm
    4. rpm -ivh ./createrepo-0.9.9-22.el6.noarch.rpm
  5. We will now create the repository
    1. createrepo -g repodata/comps.xml .
  6. Once this succeeds, we will need to edit the repository list in Red Hat to show it the location of the new local repository.
    1. nano /etc/yum.repos.d/rhel-local.repo
    2. You will then need to enter the following details into the rhel-local.repo file:
      1. [rhel6.7-local]
        name=RHEL 6.7 local repository
        baseurl=file:///opt/yum/rhel6.7/
        gpgcheck=1
        gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
        enabled=1
  7. There are three steps necessary to finish the creation of the local repository
    1. yum clean all
    2. yum repolist
    3. yum update
  8. Your local repository has been created. You will now need to follow the steps for installing on a closed network. I’m including the command used to install all of the dependencies necessary to install Epehsoft 4.0.x versions on Linux.
    1. yum install GConf2 libpng-devel libjpeg-devel libtiff-devel gettext glibc-devel dos2unix libc.so.6 rpm-build rpmdevtools gcc*
  9. There is one more dependency that must be installed from an external link. You can transfer the file downloaded from another workstation. Instructions are at the wiki here and apply to CentOS and RedHat.
    1.  http://wiki.ephesoft.com/installing-ephesoft-on-centos-6-6-on-ephesoft-4-0-x

Was this article helpful to you?

J.D. Abbey

Comments are closed.