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

posted @ 2017-01-18 11:28  周全264  阅读(173)  评论(0编辑  收藏  举报