- Installation Guide
- Installing Session Monitor Offline
- Configuring the Repository Server
Configuring the Repository Server
This section describes how to configure the Repo server in order to install OCSM.
- Copy the RPMs to
the repo server in a temporary directory, such as
/tmp/ocsm/
. - Install the
following RPMs in this order:
- rpm -ivh vsftpd-3.0.3-36.el8.x86_64.rpm
- rpm -ivh drpm-0.4.1-3.el8.x86_64.rpm
- rpm -ivh createrepo_c-libs-0.17.7-6.el8.x86_64.rpm
- rpm -ivh createrepo_c-0.17.7-6.el8.x86_64.rpm
- Move the
/tmp/ocsm/
directory to/var/ftp/pub/
by running the following command:mv /tmp/ocsm/ /var/ftp/pub/
- Copy the RPM files of OCSM and MySQL to
/var/ftp/pub/ocsm/
.Note:
OCSM uses the MySQL 8.0.39 Commercial Package for offline installation.Note:
The OCSM dependencies used here are based on MySQL 8.0.39, installing a different version of MySQL requires changes in the dependency RPMs.mysql-commercial-backup-8.0.39-1.1.el8.x86_64.rpm
mysql-commercial-common-8.0.39-1.1.el8.x86_64.rpm
mysql-commercial-libs-8.0.39-1.1.el8.x86_64.rpm
mysql-commercial-client-8.0.39-1.1.el8.x86_64.rpm
mysql-commercial-devel-8.0.39-1.1.el8.x86_64.rpm
mysql-commercial-server-8.0.39-1.1.el8.x86_64.rpm
mysql-commercial-client-plugins-8.0.39-1.1.el8.x86_64.rpm
mysql-commercial-icu-data-files-8.0.39-1.1.el8.x86_64.rpm
mysql-commercial-test-8.0.39-1.1.el8.x86_64.rpm
OCSM, MySQL, and other dependency RPM files are now located in/var/ftp/pub/ocsm/.
- Run the following command to
create the Repo:
createrepo /var/ftp/pub/ocsm/
- Add a comment in front of the
root line of
/etc/vsftpd/ftpusers
and/etc/vsftpd/user_list
using "#" to say the following:[root@test vsftpd]# cat /etc/vsftpd/ftpusers # Users that are not allowed to login via ftp #root bin daemon adm lp sync shutdown halt mail news uucp operator games nobody
[root@test vsftpd]# cat /etc/vsftpd/user_list # vsftpd userlist # If userlist_deny=NO, only allow users in this file # If userlist_deny=YES (default), never allow users in this file, and # do not even prompt for a password. # Note that the default vsftpd pam config also checks /etc/vsftpd/ftpusers # for users that are denied. #root bin daemon adm lp sync shutdown halt mail news uucp operator games nobody
- Disable SELinux by running the following commands:
setenforce 0 sed -i -e "s/^SELINUX=.*/SELINUX=disabled/" /etc/selinux/config reboot
- Using an editor, open the file
/etc/vsftpd/vsftpd.conf
. - Comment the line
anonymous_enable=NO
. - Save and quit the
vsftpd.conf
file. - Start the vsftp service by running the following commands:
systemctl start vsftpd systemctl enable vsftpd
- Check the status of vsftp service by running the following command:
systemctl status vsftpd
The status of the service should be active (running). - Disable the firewall by running the following commands:
systemctl stop firewalld systemctl disable firewalld
The
repo server is ready to use.