看这个贴,安装后带有kangle mysql php等等
如果是单独安装编译kangle,执行这样
yum -y install which file wget make automake gcc gcc-c++ pcre-devel zlib-devel openssl-devel sqlite-devel quota unzip bzip2
ulimit -n 1048576
echo "* soft nofile 1048576" >>/etc/security/limits.conf
echo "* hard nofile 1048576" >>/etc/security/limits.conf
wgethttp://download.kanglesoft.com/devel.php?os=src -O kangle.tar.gz
tar xzf kangle.tar.gz
cd kangle-*
./configure --prefix=/vhs/kangle --enable-vh-limit --enable-disk-cache --enable-ipv6 --enable-ssl --enable-http2
make -j 4
make install
/vhs/kangle/bin/kangle
echo "/vhs/kangle/bin/kangle" >>/etc/rc.d/rc.local
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)