首页 运维 网络学院 查看内容

linux下kangle虚拟主机安装 教程

2013-6-8 16:02 976 0

摘要:   首先到kangle官方网站上下载最新的源代码。  前提条件:  请先确保你的系统上有g++,libz开发包,libpcre开发包,libiconv开发包(非linux版要).如你的系统为cento...
关键词: kangle make 开发包 enable install 代码 checking linux configure devel

  首先到kangle官方网站上下载最新的源代码。  前提条件:  请先确保你的系统上有g++,libz开发包,libpcre开发包,libiconv开发包(非linux版要).如你的系统为centos/rhel则运行下面命令安装这些包:  1. yum -y install wget make gcc gcc-c++ pcre-devel zlib-devel  复制代码  第一步 下载源代码:  下载后我们会得到kangle-x.y.z.tar.gz(x,y,z是版本号,以下命令请替换x,y,z为具体的版本号)  以2.8.3版本为例:  1. wget http://www.kanglesoft.com/download/zcore.php?os=src  复制代码  第二步,解压:  1. tar xzf kangle-2.8.3.tar.gz  2. cd kangle-2.8.3  复制代码  第三步,配置:这一步用来配置kangle源代码。  1. ./configure --prefix=/vhs/kangle --enable-disk-cache --enable-ipv6 --enable-ssl --enable-vh-limit  复制代码  第四步 编译安装:  1. make  2. make install  复制代码  第五步 启动kangle  1. /vhs/kangle/bin/kangle  复制代码  第六步 进入kangle管理  通过浏览器打开  1. http://服务器ip地址:3311/  复制代码  第一次进入输入 用户名admin,密码kangle  强烈建议第一次进入后修改管理后台的用户名和密码  **注意事项**  1:有时候安装make报错,可能是因为没有安装openssl  先运行一下yum -y install openssl-devel ,在去编译,在make就OK。  2:  make  Making all in src  make[1]: Entering directory `/root/kangle-2.4.1/src'  没有安装pcre开发包  3:  ./configure --prefix=/usr/local/kangle  如果是centos的,请执行:  1. yum -y install pcre-devel zlib-devel  4:  这个安装在 linux 上也能跑asp+access吗  linux上不支持asp+access  5:  [root@localhost kangle-2.8.3]# ./configure --prefix=/usr/local/kangle --enable-disk-cache --enable-ipv6 --enable-ssl --enable-vh-limit  checking build system type... i686-pc-linux-gnu  checking host system type... i686-pc-linux-gnu  checking target system type... i686-pc-linux-gnu  checking for a BSD-compatible install... /usr/bin/install -c  checking whether build environment is sane... configure: error: newly created file is older than distributed files!  Check your system clock  [root@localhost kangle-2.8.3]# make  make: *** 娌℃湁鎸囨槑鐩?爣骞朵笖鎵句笉鍒makefile銆鍋滄?銆  [root@localhost kangle-2.8.3]# make install  make: *** 娌℃湁瑙勫垯鍙?互鍒涘缓鐩?爣鈥渋nstall鈥濄
声明:文章版权归原作者所有 部分文章转自互联网 如有侵权请联系 [邮箱地址] 删除

路过

雷人

握手

鲜花

鸡蛋

最新评论

返回顶部