openresty 安装

2018-03-01 11:16:26来源:oschina作者:jk409人点击

分享

#Openresty #环境:openresty-1.11.2.2 + pcre-8.40 + openssl-1.0.1u #wget https://openresty.org/download/openresty-1.11.2.2.tar.gz #wget https://ftp.pcre.org/pub/pcre/pcre-8.40.tar.gz #wget https://github.com/openssl/openssl/archive/OpenSSL_1_0_1u.tar.gz


#Opensuse #zypper --non-interactive install autoconf gmake gcc make gcc-c++


#Centos(稳定),只需下载openresty-1.11.2.2.tar.gz yum install bind-utils yum install -y autoconf gmake gcc make gcc-c++ yum install -y openssl openssl-devel yum install -y pcre-devel #yum install -y psmisc net-tools unzip lrzsz iftop tar zxvf openresty-1.11.2.2.tar.gz cd openresty-1.11.2.2 && ./configure && make -j 8 && make install


#ubutnu apt-get install dnsutils sudo apt install libreadline-dev libncurses5-dev libpcre3-dev libssl-dev perl make build-essential sudo apt install openssl libssl-dev sudo apt install libpcre3 libpcre3-dev


#deepin(本地环境) #比较特殊,需要下载openresty-1.11.2.2 + pcre-8.40 + openssl-1.0.1u tar zxvf openresty-1.11.2.2.tar.gz tar zxvf pcre-8.40.tar.gz tar zxvf openssl-1.0.1u.tar.gz cd openresty-1.11.2.2 ./configure --prefix=/usr/local/openresty --with-pcre=/home/kkk/pcre-8.40 --with-openssl=/home/kkk/openssl-1.0.1u make -j 8 && sudo make install

最新文章

123

最新摄影

闪念基因

微信扫一扫

第七城市微信公众平台