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
yum repolist
Redis¶
Install Redis using apt-get
sudo yum install redis
redis_session_storage = localhost
RedHat8 Installation Guide¶
-
Install PostgreSQL >= 9.6 (local or remote). Follow the Postgres installation guide for Redhat: Postgres(RedHat)
-
Download Faraday installer (.rpm)
- GitHub for Community Edition
- Faraday Portal for Professional/Corporate
- 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".
- Go to file:
Edit the following lines:
$ nano /var/lib/pgsql/POSTGRESQL_VERSION/data/pg_hba.conf
# IPv4 local connections: host all all 127.0.0.1/32 md5 # IPv6 local connections: host all all ::1/128 md5
-
Once installed, add your user to the faraday group and re-login
sudo usermod -aG faraday $USER
-
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¶
- Start Faraday server by running:
sudo systemctl start faraday-server
We highly recommend you to check our First Steps guide.