Nginx锛欳entOS7瀹夎Nginx
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Nginx锛欳entOS7瀹夎Nginx相关的知识,希望对你有一定的参考价值。
鏍囩锛?a href='http://www.mamicode.com/so/1/c_1__1_' title='c++'>c++
toc tar upd nss too span efi conf
1銆佸畨瑁呯紪璇戠幆澧?/p>
#yum update # yum -y install gcc gcc-c++ autoconf automake libtool make cmake # yum -y install zlib zlib-devel openssl openssl-devel pcre-devel
yum -y install wget
cd /usr/local/ mkdir software cd /usr/local/software //涓嬭浇 wget wget http://nginx.org/download/nginx-1.13.0.tar.gz //瑙e帇 tar -zxvf nginx-1.13.0.tar.gz //缂栬瘧 ./configure --prefix=/usr/local/nginx
make & make install
以上是关于Nginx锛欳entOS7瀹夎Nginx的主要内容,如果未能解决你的问题,请参考以下文章
Nginx——Nginx启动报错Job for nginx.service failed because the control process exited with error code(代码片段