标签:安装包 eve tree wget ack strong chkconfig lin yum
确认网络
ping baidu.com
关闭防火墙
service iptables stop
chkconfig iptables off
临时关闭selinux
setenforce 0
基本安装包
yum install -y gcc gcc-c++ autoconf pcre pcre-devel make automake wget httpd-tools vim tree
配置 Nginx 官方 yum 源
[nginx-stable]
name=nginx stable repo
baseurl=http://nginx.org/packages/centos/6/$basearch/
gpgcheck=1
enabled=1
gpgkey=https://nginx.org/keys/nginx_signing.key
安装 Nginx
yum install nginx (查看仓库、查看仓库、查看仓库是否官方 yum,是否时最新稳定版本)
查看 Nginx 当前版本
nginx -v
查看编译参数
nginx -V
查看
rpm -q nginx
rpm -ql nginx
rpm -qc nginx
标签:安装包 eve tree wget ack strong chkconfig lin yum
原文地址:https://www.cnblogs.com/whysz/p/11877792.html