Skip to content

RedHat8

Before installation

Please note that PostgreSQL YUM repository and Faraday, depend on EPEL repository for some packages. Users with RHEL, CentOS, etc. should install EPEL repo RPM along with PGDG repo RPMs to satisfy dependencies. In order to do that, follow these instructions:

If you are using RHEL, first run the following command:

Install EPEL using the following command:

yum -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
Refresh repo by typing the following command:
yum repolist

Redis

Install Redis using apt-get

sudo yum install redis
Then add into the server.ini(/faraday/.faraday/config):

redis_session_storage = localhost

RedHat8 Installation Guide

  1. Install PostgreSQL >= 9.6 (local or remote). Follow the Postgres installation guide for Redhat: Postgres(RedHat)

  2. Download Faraday installer (.rpm)

  3. Go to your Download directory and run the following command
    sudo yum install ./faraday-server_amd64.rpm
    

    💡 If PostgreSQL is running in a remote machine please follow these instructions, if instead, it is running locally, you need to open the pg_hba.conf file.

There, you need to modify the localhost authentication type from "ident" to "md5". To do this, change host IPV4 local and IPV6 local from "ident" to "md5".

  1. Go to file:
    $ nano /var/lib/pgsql/POSTGRESQL_VERSION/data/pg_hba.conf  
    
    Edit the following lines:
    # IPv4 local connections:
    host all         all 127.0.0.1/32       md5
    # IPv6 local connections:
    host all         all ::1/128       md5
    
  2. Once installed, add your user to the faraday group and re-login

    sudo usermod -aG faraday $USER
    

  3. Restart PostgreSQL server and initialize the database(first time only)
    This will generate a random password, use it for Faraday Web UI and change it

    sudo systemctl restart postgresql-XX
    
    sudo faraday-manage initdb
    

⚠️ Important: In case of being in a SELinux environment run:

sudo setenforce 0

Importing License

Step 1

Import license from Faraday Portal (Professional/Corporate only)

faraday-manage import-license

Step 2

  1. Start Faraday server by running:
    sudo systemctl start faraday-server
    

We highly recommend you to check our First Steps guide.