Configuring the Repo Server

This section describes how to configure the repo server in order to install Session Monitor.

  1. Copy the RPMs to the repo server in a temporary directory, such as /tmp/ocsm/.
  2. Install the following RPMs in this order:
    1. rpm -ivh vsftpd-3.0.2-25.el7.x86_64.rpm
    2. rpm -ivh deltarpm-3.6-3.el7.x86_64.rpm
    3. rpm -ivh python-deltarpm-3.6-3.el7.x86_64.rpm
    4. rpm -ivh createrepo-0.9.9-28.el7.noarch.rpm
  3. 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/.
  4. Create the repo by running the following command:
    createrepo  /var/ftp/pub/ocsm/
  5. 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
    
  6. Start the vsftp service by running the following commands:
    systemctl start vsftpd
    systemctl enable vsftpd
  7. Check the status of vsftp service by running the following command:
    systemctl status vsftpd
    The status of the service should be active (running).
  8. Disable the firewall by running the following commands:
    systemctl stop firewalld
    systemctl disable firewalld
The repo server is ready to use.