- Upgrade Guide
- Upgrading Session Monitor
- Upgrading Session Monitor without an Internet Connection
- Installing OCSM without Internet
- Configuring the Repository Server
Configuring the Repository Server
This section describes how to configure the repository server to install Session Monitor.
- Copy the RPM files to the repository server in a temporary directory, such as
/tmp/ocsm/
. - Install the following RPM files in this order:
rpm -ivh vsftpd-3.0.3-35.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
- Run this command to move the directory
/tmp/ocsm/
to the directory/var/ftp/pub/
.mv /tmp/ocsm/ /var/ftp/pub/
- Copy RPM files of OCSM and MySQL to the directory
/var/ftp/pub/ocsm/
Note:
Use the Commercial Package of MySQL 8.0.32 for installation. The OCSM dependencies used here are based on MySQL 8.0.32 version. If there are any additional dependencies required, please take that as wellmysql-commercial-backup-8.0.32-1.1.el8.x86_64.rpm mysql-commercial-client-8.0.32-1.1.el8.x86_64.rpm mysql-commercial-client-plugins-8.0.32-1.1.el8.x86_64.rpm mysql-commercial-common-8.0.32-1.1.el8.x86_64.rpm mysql-commercial-devel-8.0.32-1.1.el8.x86_64.rpm mysql-commercial-icu-data-files-8.0.32-1.1.el8.x86_64.rpm mysql-commercial-libs-8.0.32-1.1.el8.x86_64.rpm mysql-commercial-server-8.0.32-1.1.el8.x86_64.rpm mysql-commercial-test-8.0.32-1.1.el8.x86_64.rpm
The OCSM, MySQL, and other dependency RPM files are now located in the directory/var/ftp/pub/ocsm/
. - Run the following command to create the repository: .
createrepo /var/ftp/pub/ocsm/
- Add a comment at the beginning of the root line of
/etc/vsftpd/ftpusers
and/etc/vsftpd/user_list
using the character "#" 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
- Run these commands to disable SELinux:
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. - Run the following commands to start the vsftp service:
systemctl start vsftpd systemctl enable vsftpd
- Run this command to check the status of vsftp service:
systemctl status vsftpd
The status of the service should be active (running). - Run these commands to disable the firewall:
systemctl stop firewalld systemctl disable firewalld
The repo server is now ready to be used.