LAMP创建
httpd
yum install httpd -y
systemctl status httpd
systemctl start httpd
systemctl stop firewalld
Mariadb
yum install mariadb-server mariadb-client -y
systemctl start mariadb
mysql -uroot
exit
PHP
yum install php -y
yum -y install php-gd php-ldap php-odbc php-pear php-xml php-xmlrpc php-mbstring php-snmp php-soap curl curl-devel php-mysql
touch index.php
vi index.php
<?php phpinfo(); :wq