Forked from danbao/tengine_with_replace_filter_nginx_module
Created
April 27, 2016 08:56
-
-
Save zenny/c20764459764a0cfdd8526ee195f2f6b to your computer and use it in GitHub Desktop.
add replace-filter-nginx-module into tengine and create deb package
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# Copyright @ LinZhen@Net | |
# install git | |
apt-get install git -y | |
# install sregex | |
apt-get install bison -y | |
cd /tmp | |
git clone https://github.com/openresty/sregex.git | |
cd ./sregex | |
make | |
make install | |
#git tengine & replace-filter-nginx-module source code | |
cd /tmp | |
git clone https://github.com/openresty/replace-filter-nginx-module.git | |
git clone https://github.com/alibaba/tengine.git | |
cd ./tengine | |
#git tengine debian make source code | |
git clone https://github.com/danbao/make-tengine-deb.git debian | |
apt-get install build-essential debhelper make autoconf automake patch dpkg-dev fakeroot pbuilder gnupg dh-make libssl-dev libpcre3-dev -y | |
export DEB_BUILD_OPTIONS=nocheck; dpkg-buildpackage -rfakeroot -uc -b | |
cd /tmp | |
#install package | |
dpkg -i ./tengine_10.0.0_amd64.deb |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment