项目二: LNMP-wordpress博客镜像

环境介绍

centos7.9
内存>4G
处理器>4核
IP (NAT) 192.168.222.110

配置

setenfore 0
iptables -F
systemctl stop firewalld 

wget -O /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/repo/Centos-7.repo
wget -O /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-7.repo

yum clean all
yum makecache

安装软件

 mkdir /lnmp
 wget https://www.linuxprobe.com/Software/rpcsvc-proto-1.4.tar.gz
 wget https://www.linuxprobe.com/Software/nginx-1.16.0.tar.gz
 wget https://www.linuxprobe.com/Software/mysql-8.0.18.tar.xz
 wget https://www.linuxprobe.com/Software/php-7.3.5.tar.gz
 wget https://www.linuxprobe.com/Software/wordpress.tar.gz

安装依赖

yum -y install gcc gcc-c++ pcre-devel openssl openssl-devel zlib-devel ncurses-devel cmake bison
libxml2-devel libpng-devel

你可能感兴趣的:(php,nginx,开发语言)