标签:-o res etc epel systemctl server 配置 str https
YUM安装 Linux+Apache+MySQL+PHP
配置YUM源
wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo yum -y install epel-release rpm -Uvh https://mirror.webtatic.com/yum/el7/epel-release.rpm rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm
安装LAMP5
yum install -y httpd httpd-devel mariadb mariadb-server mysql-devel php php-mysql php-common php-gd php-mbstring php-mcrypt php-devel php-xml
systemctl restart httpd
systemctl restart mariadb
安装LAMP7
yum install -y httpd httpd-devel mariadb mariadb-server mysql-devel php70w php70w-intl php70w-mysql php70w-common php70w-gd php70w-mbstring php70w-mcrypt php70w-devel php70w-xml
systemctl restart httpd
systemctl restart mariadb
标签:-o res etc epel systemctl server 配置 str https
原文地址:https://www.cnblogs.com/LyShark/p/9062631.html