Dialogic IMG - IMG 1010 - GCEMS RHEL6 - Installation of required packages

Dialogic IMG - IMG 1010 - GCEMS RHEL6 - Installation of required packages

This should all be done as a root user. (excel2 (root password))

  1. Install packages via RHEL Repository (Following this step if the Internet is accessible on RHEL server)

    [root]# yum install compat-libstdc++-33.i686 kexec-tools fipscheck device-mapper-multipath sgpio perl-Convert-ASN1 python-dmidecode imake emacs libsane-hpaio tftp-server mod_auth_mysql freeradius festival audit net-snmp-utils mesa-libGLU-devel xorg-x11-utils httpd vsftpd dhcp tigervnc* wireshark wireshark-gnome ksh
  2. Install cacti required packages

    yum install mysql-server mysql php-mysql php-pear php-common php-gd php-devel php php-mbstring php-cli php-snmp httpd net-snmp-utils php-snmp net-snmp-libs rrdtool net-snmp* gd gd-devel php-gd
  3. Install packages via local Yum Repository (Following this step if the Internet is not accessible on RHEL server)

    1. Mount your RHEL 6 installation DVD. For example, let us mount the installation media on /mnt directory.

      mount -t iso9660 /dev/cdrom /mnt/
    2. The CentOS installation DVD is mounted under /mnt directory. Next install vsftpd package and let the packages available over FTP to your local clients.

      // Change to /mnt/Packages directory cd /mnt/Packages/     // Install vsftpd package, for instance rpm -ivh vsftpd-2.2.2-14.el6.x86_64.rpm     // Enable and start vsftpd service service vsftpd start chkconfig vsftpd on     // Create a storage location in our FTP server pub directory mkdir /var/ftp/pub/localrepo
    3. Install “createrepo” package

      rpm -ivh deltarpm-3.5-0.5.20090913git.el6.x86_64.rpm rpm -ivh createrepo-0.9.9-22.el6.noarch.rpm rpm -ivh python-deltarpm-3.5-0.5.20090913git.el6.x86_64.rpm
    4. Copy all the files from CentOS DVD(s) i.e from /mnt/Packages/ directory to the “localrepo” directory

      cp -ar /mnt/Packages/*.* /var/ftp/pub/localrepo/

       

    5. Once you copied all the files, create a repository file called “localrepo.repo” under /etc/yum.repos.d/ directory and add the following lines into the file. You can name this file as per your liking.

      vi /etc/yum.repos.d/localrepo.repo     // add the following lines [localrepo] name=Unixmen Repository baseurl=file:///var/ftp/pub/localrepo gpgcheck=0 enabled=1

      Note:

      Use the three slashes (///) in the baseurl.

       

    6. Start building local repository

      createrepo -v /var/ftp/pub/localrepo/

       

    7. Clean the Yum cache and update the repository lists

      yum clean all yum makecache

       

    8. Alternatively, you can install packages only from the local repository by mentioning the repository as shown below.

      yum install --disablerepo="*" --enablerepo="localrepo" libXpm-devel gd compat-libstdc++-33.i686 kexec-tools fipscheck device-mapper-multipath sgpio perl-Convert-ASN1 python-dmidecode imake emacs libsane-hpaio tftp-server mod_auth_mysql freeradius festival audit net-snmp-utils mesa-libGLU-devel xorg-x11-utils httpd vsftpd dhcp tigervnc* wireshark wireshark-gnome ksh mysql-server mysql php-mysql php-pear php-common php-gd php-devel php php-mbstring php-cli php-snmp httpd net-snmp-utils php-snmp net-snmp-libs rrdtool net-snmp* gd-devel php-gd

       

    9. Install the following packages manually

      rpm –ivh gd-devel-2.0.35-11.el6.x86_64.rpm rpm –ivh php-devel-5.3.3-40.el6_6.x86_64.rpm rpm –ivh php-mbstring-5.3.3-40.el6_6.x86_64.rpm rpm –ivh php-snmp-5.3.3-40.el6_6.x86_64.rpm

       

    10. Disable the firewall

      # service iptables save # service iptables stop # chkconfig iptables off

       

  4. Client Side Configuration

    1. Go to your client systems. Create a new repository file as shown above under /etc/yum.repos.d/ directory

      vi /etc/yum.repos.d/localrepo.repo
    2. And add the following content.

      [localrepo] name=Unixmen Repository baseurl=ftp://192.168.1.101/pub/localrepo gpgcheck=0 enabled=1

      NOTE:

      Use double slashes in the baseurl and 192.168.1.101 is yum server IP Address.

       

    3. List out the repositories using the following command.

      yum repolist yum clean all yum makecache

       

    4. Install ftp rpm package.

      rpm –ivh ftp-0.17-54.el6.x86_64.rpm

       

    5. Alternatively, you can install packages only from the local repository by mentioning the repository as shown below.

      yum install --disablerepo="*" --enablerepo="localrepo" libXpm-devel gd compat-libstdc++-33.i686 kexec-tools fipscheck device-mapper-multipath sgpio perl-Convert-ASN1 python-dmidecode imake emacs libsane-hpaio tftp-server mod_auth_mysql freeradius festival audit net-snmp-utils mesa-libGLU-devel xorg-x11-utils httpd vsftpd dhcp tigervnc* wireshark wireshark-gnome ksh mysql-server mysql php-mysql php-pear php-common php-gd php-devel php php-mbstring php-cli php-snmp httpd net-snmp-utils php-snmp net-snmp-libs rrdtool net-snmp* gd-devel php-gd