Menu

Rhel7.5 new setup

Help
tom
2018-09-24
2018-09-24
  • tom

    tom - 2018-09-24

    Here is my new fresh install and setup of filelocker2 on Rhel7.5.

     
  • tom

    tom - 2018-09-24

    Here is my new fresh install and setup of filelocker2 on Rhel7.5.
    My goal of this is to help other newbees and im just keeping it simple for now..

    First read the installer howto on github to get a feel for whats up. I did notice the
    installer only talks an upgrade. Nothing about a new install.

    So i followed this setup guide to setup my data
    I had nothing to startup mariadb sql server.
    http://www.jachin.org/home/operating-systems/filelocker2

    Im showing how to use the same password that is in the example.conf
    but you can make the password to whatever you want it to be just update your conf to use it.

    create database filelocker_sqlalchemy;
    create user 'filelocker'@'localhost' identified by 'l0ck;files';
    grant all privileges on filelocker.* to 'filelocker'@'localhost';
    SHOW GRANTS FOR 'filelocker'@'localhost';
    FLUSH PRIVILEGES;
    exit;

    then run inside mysql

    mysql_secure_installation

    I used Tobin Lee filelocker.conf, as I too wanted my setup to live under /opt/
    https://sourceforge.net/p/filelocker2/bugs/98/#2480

    For me all the required resources were pulled down and installed once I enable EPEL and the
    other optional repos from Redhat.

    yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
    subscription-manager repos --enable "rhel--optional-rpms" --enable "rhel--extras-rpms"

    Now you install the tools posted on the github installation requirements.

    One thing I kept seeing in my error logs was about vault.
    [system] [maintenance] [There was a problem loading data for node[0]: [Errno 2] No such file or directory: '/vault'
    Not sure why yet but noticed Tobins config and the example config show it vault="/vault" .. Not to mess with things to much right
    now I just made a dir and soft link and the error went away. If anyone can tell me whats thats all about please do.

    mkdir /opt/filelocker/vault
    cd /
    ln -s /opt/filelocker/vault vault

    For now under my config I took out clamscan as I have yet to figure out how to get that one to work.

    next few phases.
    1: Import cert to use with ldap.
    2: stand behind F5
    3: run an ibm appscann on it..

     

Log in to post a comment.