系统教程
您现在的位置是:首页>服务器系统>Ubuntu系统内容

在ubuntu 16.04 LTS上安装openresty-1.11.2.3

时间:2018-04-29 出处:未知复制分享人气(次) 【

操作系统为ubuntu 16.04 LTS,openresty的版本为1.11.2.3,安装过程如下:
 
1、首先安装依赖项
apt-get install libreadline-dev libncurses5-dev libpcre3-dev \
    libssl-dev perl make build-essential curl
 
2、下载openresty源码
http://openresty.org/en/download.html
wget https://openresty.org/download/openresty-1.11.2.3.tar.gz
 
3、解压压缩包
tar -zxvf openresty-1.11.2.3.tar.gz
 
4、进入解压后的文件夹
cd openresty-1.11.2.3/
 
5、执行configure
./configure --prefix=/opt/openresty
 
6、执行安装
sudo make
sudo make install
 
参考自openresty的官方网站:
在ubuntu 16.04 LTS上安装openresty-1.11.2.3
 
    最新资讯
    热门内容
    小米移动电源能为iPad mini充几次电