Instalação
O ambiente DEV requer a instalação das seguintes aplicações: Apache, MySQL (MariaDB), PHP. O ambiente de referência é o CEntOS 7.
1. INSTALE O Apache:
# yum install httpd
# systemctl status|start|stop|restart|reload httpd
# firewall-cmd --add-service=http
# firewall-cmd --permanent --add-service=http
# systemctl restart httpd
2. INSTALE O PHP E SUAS DEPENDÊNCIAS:
# yum install php php-mysql php-pecl-apcu php-cli php-pear php-pdo php-mysqlnd php-sqlite php-pecl-memcache php-pecl-memcached php-gd php-mbstring php-mcrypt php-xml php-curl php-imagick php-json php-Phar php-zip php-zlib
# systemctl restart httpd
Obs.: o nome das dependências pode ser consultado com o comando:
# yum search php
3. INSTALE O MARIABD
# yum install mariadb-server mariadb
# systemctl start mariadb
# mysql_secure_installation
4. HABILITE OS SERVIÇOS PARA SUBIR NO BOOT:
# systemctl enable mariadb
# systemctl enable httpd
Feito!