Choose Server with GUI
and customize then select the checked optional packages listed below
from Add-Ons for Selected Environment
during CentOS 7 setup.
Create a user named excelsw exclusively for GCEMS.
Log in as excelsw (do not use terminal mode) so that operation system is able to create automatically user’s folders including Desktop folder for excelsw.
This should all be done as a root user.
$su
$Password: excel2 (root password)
Install packages via CentOS Repository (follow this step if an internet connection is accessible on CentOS 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
freeradius festival audit net-snmp-utils mesa-libGLU-devel
xorg-x11-utils httpd vsftpd dhcp tigervnc* wireshark wireshark-gnome ksh
Install packages via local Yum Repository (follow the steps below if an internet connection is not accessible on CentOS server).
Build a local repository, Download the Everything ISO.
https://www.centos.org/download
Mount your CentOS 7 installation DVD. For example, let us
mount the installation media on /mnt directory.
mount
/dev/cdrom /mnt/
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-3.0.2-9.el7.x86_64.rpm
Enable and start vsftpd service.
systemctl
enable vsftpd
systemctl
start vsftpd
Create a storage location in our FTP server pub directory.
mkdir
/var/ftp/pub/localrepo
Install "createrepo" package, for instance.
rpm
-ivh createrepo-0.9.9-23.el7.noarch.rpm
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/
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 preference.
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 three slashes (///) in the baseurl.
Start building local repository.
createrepo
-v /var/ftp/pub/localrepo/
Clean the yum cache and update the repository lists.
yum
clean all
Alternatively, you can install packages only from the local
repository by mentioning the repository as shown below.
yum
install --disablerepo="*" --enablerepo="localrepo"
compat-libstdc++-33.i686
kexec-tools fipscheck device-mapper-multipath sgpio perl-Convert-ASN1
python-dmidecode imake emacs libsane-hpaio tftp-server freeradius
festival
audit net-snmp-utils mesa-libGLU-devel xorg-x11-utils httpd vsftpd
dhcp
tigervnc* wireshark wireshark-gnome ksh 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 mariadb-server
This should all be done as a root user.
$su
$Password: excel2 (root password)
[root]# systemctl enable httpd.service
[root]# systemctl enable vsftpd.service
[root]# systemctl enable dhcpd.service
[root]# systemctl enable crond.service
[root]# systemctl enable mariadb.service
[root]# systemctl enable snmpd.service
This should all be done as a root user.
$su
$Password: excel2 (root password)
[root]# vi /etc/sysconfig/nfs
mountd_nfs_v2="yes"
RPCNFSDARGS="-V 2"
RPCMOUNTDOPTS="-V 2"
[root]# systemctl reload nfs-server
[root]# systemctl restart nfs-server
Create IMG build to /home/excelsw/ftpBuilds folder.
Copy GCEMS build to /home/excelsw/ftpBuilds folder.
JRE version 1.7 or greater is required for GCEMS in CentOS 7.x.
Install GCEMS in /home/excelsw/ftpBuilds folder.
Disable root ssh access.
[root]# vi /etc/ssh/sshd_config
Locate the following line.
PermitRootLogin yes
Modify the line to the following.
PermitRootLogin no
Create symbolic link from /opt/dialogic/common/osconfig/xlntp to /home/excelsw.
cd /home/excelsw
ln –sf /opt/dialogic/common/osconfig/xlntp xlntp
Create symbolic link from /opt/dialogic/common/osconfig/xldhcp to /home/excelsw.
cd /home/excelsw
ln –sf /opt/dialogic/common/osconfig/xldhcp xldhcp
Copy /opt/dialogic/common/osconfig/lnimg to /home/excelsw/ftpBuilds.
Use lnimg script to create symbolic link to img build.
Verify latest IMG build installed.
Verify latest GCEMS build installed.
Remove any older GCEMS builds (if any).
Disable and stop dnsmasq service and firewalld.
[root]# systemctl disable dnsmasq
[root]# systemctl stop dnsmasq
[root]# systemctl disable firewalld
[root]# systemctl stop firewalld