https://github.com/openresty/opm 还没整合进安装包,git拉取这个 进入 bin就可以 用了
在 2016年10月2日星期日 UTC+8上午9:29:40,项楠写道:
我安装如下步骤安装:
sudo apt-get install libreadline-dev libncurses5-dev libpcre3-dev libssl-dev perl make build-essential --yes
wget https://openresty.org/download/openresty-1.11.2.1.tar.gz
tar xvf openresty-1.11.2.1.tar.gz
cd openresty-1.11.2.1
sudo ./configure --with-luajit && sudo make && sudo make install
vim ~/.bashrc
export PATH=/usr/local/openresty/bin:/usr/local/openresty/nginx/sbin:/usr/local/openresty/luajit/bin:$PATH
然后进入bin目录,并没有opm
pronan:/usr/local/openresty $ ls bin
md2pod.pl* nginx-xml2pod* openresty@ resty* restydoc* restydoc-index*
pronan:/usr/local/openresty $ nginx -v