yum -y install epel-release
yum -y update
yum -y install httpd mod_perl mariadb mariadb-server make gcc netsnmp net-snmp-utils wget checkpolicy policycoreutils-python
systemctl start httpd
systemctl enable httpd
systemctl start mariadb
systemctl enable mariadb
mysql_secure_installation
cd /opt
wget https://excellmedia.dl.sourceforge.net/project/gestioip/gestioip_3.4.tar.gz
tar zxvf gestioip_3.4.tar.gz
cd /opt/gestioip_3.4/
./setup_gestioip.sh
sudo /usr/bin/htpasswd -c /etc/httpd/users-gestioip root
firewall-cmd --add-port=80/tcp --permanent
firewall-cmd --add-port=443/tcp --permanent
firewall-cmd --reload
systemctl restart httpd
rm -r /var/www/html/gestioip/install
vim /usr/share/gestioip/etc/ip_update_gestioip.conf