10 Star 43 Fork 14

sumory / orange

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
install-dependencies.md 1.19 KB
一键复制 编辑 原始数据 按行查看 历史

Install Dependencies

CentOS 7

# 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

Ubuntu 18

# 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
Lua
1
https://gitee.com/sumory/orange.git
git@gitee.com:sumory/orange.git
sumory
orange
orange
master

搜索帮助