Centos7之LNMP环境编译安装
##只做流程熟悉参考,安装过程太耗时间!!! 一、系统环境准备 1、系统信息 [root@localhost ~]# uname -r 3.10.0-957.el7.x86_64 [root@localhost ~]# uname -a Linux localhost.localdomain 3.10.0-957.el7.x86_64 #1 SMP Thu Nov 8 23:39:32 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux [root@localhost ~]# cat /etc/redhat-release CentOS Linux release 7.6.1810 (Core) 2、关闭防火墙 vim /etc/selinux/config 将SELINUX的值改为如下: SELINUX=disabled systemctl stop firewalld.service #停止firewall systemctl disable firewalld.service #禁止firewall开机启动 注:此处是测试环境,在生产环境中,按需开启对应应用端口,不能直接关闭防火墙!! 3、配置地址信息 [root@localhost src]# cat /etc/sysconfig/network-scripts/ifcfg-ens32 TYPE