2019-08-04
install RPM-GPG-KEY
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY*
yum -y install epel-release
install mariadb
yum -y install mariadb-server mariadb
systemctl start mariadb.service
systemctl enable mariadb.service
mysql_secure_installation
yum -y install httpd
enable httpd.service
systemctl start httpd.service
systemctl enable httpd.service
enable httpd firewall
firewall-cmd --permanent --zone=public --add-service=http
firewall-cmd --permanent --zone=public --add-service=https
firewall-cmd --reload
install remi php
rpm -Uvh http://rpms.remirepo.net/enterprise/remi-release-7.rpm
yum -y install yum-utils
yum update
install php7.3 and php lib
yum-config-manager --enable remi-php73
yum -y install php php-opcache
yum -y install php-mysqlnd php-pdo
yum -y install php-gd php-ldap php-odbc php-pear php-xml php-xmlrpc php-mbstring php-soap curl curl-devel
systemctl restart httpd.service