Nginx入门到实践Nginx中间件-第1章-课程前言-1-2-学习环境准备

第1章 课程前言

1-2 学习环境准备

一、学习环境

系统硬件:CPU >= 2Core,内存 >= 256M

操作系统:版本 >= 7.0,位数 X64

二、环境调试确认

四项确认

1.确认系统网络

ping www.baidu.com

2.确认yum可用

yum list|grep gcc

3.确认关闭 iptables 规则 

#查看有没有规则
iptables -L

#关闭
iptables -F

#查看表nat有没有规则
iptables -t nat -L

#关闭
iptables -t nat -F

4.确认停用 selinux

#查看
getenforce

#临时关闭
setenforce 0 

两项安装

yum -y install gcc gcc-c++ autoconf pcre pcre-devel make automake
yum -y install wget httpd-tools vim

一次初始化

cd /opt;mkdir app download logs work backup

  

posted on 2019-12-19 20:45  herisson_pan  阅读(10)  评论(0)    收藏  举报

导航