Configuring the Repo Server
This section describes how to configure the repo server in order to install Session Monitor.
-
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.2-25.el7.x86_64.rpm
- rpm -ivh deltarpm-3.6-3.el7.x86_64.rpm
- rpm -ivh python-deltarpm-3.6-3.el7.x86_64.rpm
- rpm -ivh createrepo-0.9.9-28.el7.noarch.rpm
-
Move the
/tmp/ocsm/
directory to/var/ftp/pub/
by running the following command:mv /tmp/ocsm/ /var/ftp/pub/
OCSM, MySQL, and other dependency RPMs are now located in/var/ftp/pub/ocsm/
. -
Create the repo by
running the following command:
createrepo /var/ftp/pub/ocsm/
-
Add a comment in
front of the root line of
/eyc/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
-
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.