How Can We Help?

Categories

How to run from source code – (advanced)

You are here:

GIT (Advanced)

Install and configure a web server with php and mysql server

For RH (centos, fedora) systems

dnf install epel-release -y
dnf install php php-cli php-common php-mysqlnd php-zip php-xml php-gd php-mbstring git python3-pip procps mariadb mariadb-server -y

Enable and start mysql and httpd services

systemctl enable httpd mariadb
systemctl start httpd mariadb

Configure firewall

firewall-cmd --zone=public --permanent --add-service=http
firewall-cmd --zone=public --permanent --add-service=https
firewall-cmd --reload

Set mysql root password

mysql_secure_installation

Create the db

mysql -uroot -p
create database pvault;
exit;

Set permissions

chown apache.apache -R /var/www/html

Download PV from GIT

git clone https://github.com/globaldyne/parfumvault.git /var/www/html
Table of Contents