yum update
yum install epel-release deltarpm yum-utils
rpm -Uvh http://rpms.remirepo.net/enterprise/remi-release-7.rpm
yum-config-manager --enable remi-php73
sudo tee /etc/yum.repos.d/MariaDB.repo<<EOF
[mariadb]
name = MariaDB
baseurl = http://yum.mariadb.org/10.4/centos7-amd64
gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
gpgcheck=1
EOF
yum makecache fast
yum install nano wget httpd php-common fail2ban php-opcache \
php-gd php-pdo php-mbstring php-xml php-ctype php-json \
php-imap php-bcmath php-curl php-pecl-ssh2 php-iconv \
php-zip php-fileinfo php-domdocument php-pecl-dom-varimpor \
openssl php-tokenizer MariaDB-server MariaDB-client \
certbot python2-certbot-apache bind-utils php-pecl-mysql php-mysql \
htop mytop iotop zip unzip telnet
firewall-cmd --zone=public --permanent --add-port=80/tcp
firewall-cmd --zone=public --permanent --add-port=443/tcp
firewall-cmd --reload