centos 7 安装lamp

piaoling  2022-07-05 15:48:57

systemctl stop firewalld
setenforce 0
yum -y install httpd
systemctl start httpd.service
systemctl enable httpd.service
yum install php* -y --skip-broken
systemctl restart httpd
yum install mariadb-server mariadb -y
systemctl start mariadb
mysql_secure_installation

yum -y install php-mysql --skip-broken
yum -y install php-gd php-ldap php-odbc php-pear php-xml php-xmlrpc php-mbstring php-snmp php-soap curl curl-devel
systemctl restart httpd.service
类别 :  默认(706)  |  浏览(445)  |  评论(0)
发表评论(评论将通过邮件发给作者):

Email: