- gcc7
sudo yum -y install git gcc gcc-c++ make zlib-devel pcre-devel openssl-devel
git clone https://github.com/slact/nchan.git
wget https://nginx.org/download/nginx-1.20.2.tar.gz
tar xzvf nginx-1.20.2.tar.gz
cd nginx-1.20.2
sudo ./configure --add-module=../nchan --pid-path=/var/run/nginx.pid
sudo make
sudo make install
yum install -y redis
service redis restart
wget https://ftp.gnu.org/gnu/autoconf/autoconf-2.71.tar.gz
gunzip autoconf-2.71.tar.gz
tar xvf autoconf-2.71.tar
cd autoconf-2.71
./configure
make
make install
wget https://ftp.gnu.org/gnu/automake/automake-1.16.5.tar.gz
tar xvzf automake-1.16.5.tar.gz
cd automake-1.16.5
./configure
make
sudo make install
yum install gcc gcc-c++ pcre-devel zlib-devel make unzip gd-devel perl-ExtUtils-Embed libxslt-devel openssl-devel perl-Test-Simple
yum install openssl*
yum install redis-devel
yum install redis*
gcc9
sudo yum install devtoolset-9-toolchain
scl enable devtoolset-9 bash
LANG=C ./build_module.sh -v 1.20.2 https://github.com/slact/nchan.git