代码拉取完成,页面将自动刷新
luarocks
mode for installation and deployment.
# install epel, `luarocks` need it.
wget http://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
sudo rpm -ivh epel-release-latest-7.noarch.rpm
# add openresty source
sudo yum install -y yum-utils
sudo yum-config-manager --add-repo https://openresty.org/package/centos/openresty.repo
# install openresty and some compilation tools
sudo yum install -y openresty openresty-resty curl git automake autoconf \
gcc pcre-devel openssl-devel libtool gcc-c++ luarocks cmake3 lua-devel
sudo ln -s /usr/bin/cmake3 /usr/bin/cmake
# add openresty source
wget -qO - https://openresty.org/package/pubkey.gpg | sudo apt-key add -
sudo apt-get update
sudo apt-get -y install software-properties-common
sudo add-apt-repository -y "deb http://openresty.org/package/ubuntu $(lsb_release -sc) main"
sudo apt-get update
# install openresty and some compilation tools
sudo apt-get install -y openresty openresty-resty curl git luarocks\
check libpcre3 libpcre3-dev libjemalloc-dev \
libjemalloc1 build-essential libtool libssl1.0-dev automake autoconf pkg-config cmake
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。