请选择 进入手机版 | 继续访问电脑版

kangle软件 是一款高性能跨平台web服务器

 找回密码
 注册
kangle web软件将启用新域名 kangleweb.com 作为kangle软件官方网站网址
kangle web服务器最新版下载
kangle访问控制模块介绍 -  kangle设置优化原则
kangle中文帮助手册 -产品购买
easypanel 虚拟主机控制面板最新版
easypanel虚拟主机控制面板功能列表
easypanel中文帮助手册 - 讨论
   kangle虚拟主机管理下载 - 安装 - 帮助手册
    
   销售: 在线客服QQ   技术支持: 在线客服QQ
    kangle web (介绍, 功能特性, 运行环境, 安装说明, 常见问题, 使用教程)     easypanel主机控制面板 (介绍, 功能特性, 安装说明, 常见问题, 使用教程)
    vhms系统 (介绍, 安装说明, 常见问题, 使用教程)     [kangle软件交流QQ群:104434948]
搜索
楼主: keengo

kangle web server源代码安装简明教程

    [复制链接]
发表于 2013-7-1 09:18:37 | 显示全部楼层

相当给力的教程工程千斤顶
回复 支持 反对

使用道具 举报

发表于 2013-8-16 10:52:31 | 显示全部楼层
请问楼主,以下安装错误是啥原因。


[root@webp kangle-3.2.2]# ./configure --prefix=/usr/local/kangle --enable-disk-cache --enable-ipv6 --enable-ssl --enable-vh-limit
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for g++... g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking whether make sets $(MAKE)... (cached) yes
checking for inline... inline
checking how to run the C++ preprocessor... g++ -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for inttypes.h... (cached) yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking for unistd.h... (cached) yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking sys/epoll.h usability... yes
checking sys/epoll.h presence... yes
checking for sys/epoll.h... yes
checking port.h usability... no
checking port.h presence... no
checking for port.h... no
checking sstream usability... yes
checking sstream presence... yes
checking for sstream... yes
checking for an ANSI C-conforming const... yes
checking for uid_t in sys/types.h... yes
checking for inline... (cached) inline
checking for pid_t... yes
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for u_int8_t... yes
checking for u_int16_t... yes
checking for u_int32_t... yes
checking for ctime_r have len... no
checking for socklen_t... yes
checking for tm_gmtoff... yes
checking for __tm_gmtoff... no
checking for working memcmp... no
checking for sys/time.h... (cached) yes
checking for unistd.h... (cached) yes
checking for alarm... no
checking for working mktime... no
checking whether strerror_r is declared... yes
checking for strerror_r... no
checking whether strerror_r returns char *... yes
checking for vprintf... no
checking for gethostbyname_r... no
checking for gettimeofday... no
checking for inet_ntoa... no
checking for localtime_r... no
checking for memchr... no
checking for memset... no
checking for select... no
checking for socket... no
checking for strcasecmp... no
checking for strchr... no
checking for strdup... no
checking for strncasecmp... no
checking for strrchr... no
checking for strstr... no
checking for strtol... no
checking for ctime_r... no
checking for daemon... no
checking for localtime_r... (cached) no
checking for gmtime_r... no
checking for poll... no
checking for timegm... no
checking for accept4... no
checking for writev... no
checking for iconv_open in -liconv... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating extworker/Makefile
config.status: creating module/webdav/Makefile
config.status: creating src/config.h
config.status: src/config.h is unchanged
config.status: executing depfiles commands
[root@webp kangle-3.2.2]# make
Making all in src
make[1]: Entering directory `/usr/local/kangle-3.2.2/src'
make  all-am
make[2]: Entering directory `/usr/local/kangle-3.2.2/src'
g++ -DHAVE_CONFIG_H -I.    -I../module/access -I../module/whm -O2 -g -DNDEBUG  -D_REENTRANT -DLINUX -D_LARGE_FILE -D_FILE_OFFSET_BITS=64 -D__USE_FILE_OFFSET64 -MT cache.o -MD -MP -MF .deps/cache.Tpo -c -o cache.o cache.cpp
在包含自 KPoolableSocket.h:15 的文件中,
                 从 KAcserver.h:27,
                 从 KHttpRequest.h:27,
                 从 http.h:37,
                 从 cache.cpp:29:
KSSLSocket.h:6:25: 错误:openssl/rsa.h:没有那个文件或目录
KSSLSocket.h:7:28: 错误:openssl/crypto.h:没有那个文件或目录
KSSLSocket.h:8:25: 错误:openssl/pem.h:没有那个文件或目录
KSSLSocket.h:9:25: 错误:openssl/ssl.h:没有那个文件或目录
KSSLSocket.h:10:25: 错误:openssl/err.h:没有那个文件或目录
In file included from KPoolableSocket.h:15,
                 from KAcserver.h:27,
                 from KHttpRequest.h:27,
                 from http.h:37,
                 from cache.cpp:29:
KSSLSocket.h:20: 错误:expected ‘)’ before ‘*’ token
KSSLSocket.h:30: 错误:ISO C++ 不允许声明无类型的‘SSL’
KSSLSocket.h:30: 错误:expected ‘;’ before ‘*’ token
KSSLSocket.h:33: 错误:expected ‘;’ before ‘bool’
KSSLSocket.h:34: 错误:ISO C++ 不允许声明无类型的‘SSL_CTX’
KSSLSocket.h:34: 错误:expected ‘;’ before ‘*’ token
KSSLSocket.h:36: 错误:ISO C++ 不允许声明无类型的‘SSL_CTX’
KSSLSocket.h:36: 错误:expected ‘;’ before ‘*’ token
KSSLSocket.h:37: 错误:‘SSL_CTX’未声明
KSSLSocket.h:41: 错误:ISO C++ 不允许声明无类型的‘SSL_CTX’
KSSLSocket.h:41: 错误:expected ‘;’ before ‘*’ token
KSSLSocket.h:42: 错误:ISO C++ 不允许声明无类型的‘SSL’
KSSLSocket.h:42: 错误:expected ‘;’ before ‘*’ token
KSSLSocket.h:43: 错误:ISO C++ 不允许声明无类型的‘SSL_CTX’
KSSLSocket.h:43: 错误:expected ‘;’ before ‘*’ token
KSSLSocket.h:48: 错误:‘SSL’在此作用域中尚未声明
KSSLSocket.h:48: 错误:‘ssl’在此作用域中尚未声明
KSSLSocket.h:48: 错误:expected primary-expression before ‘int’
KSSLSocket.h:48: 错误:expected primary-expression before ‘void’
KSSLSocket.h:48: 错误:initializer 表达式列表被看作复合表达式
In file included from KHttpRequest.h:40,
                 from http.h:37,
                 from cache.cpp:29:
KServer.h:61: 错误:ISO C++ 不允许声明无类型的‘SSL_CTX’
KServer.h:61: 错误:expected ‘;’ before ‘*’ token
make[2]: *** [cache.o] 错误 1
make[2]: Leaving directory `/usr/local/kangle-3.2.2/src'
make[1]: *** [all] 错误 2
make[1]: Leaving directory `/usr/local/kangle-3.2.2/src'
make: *** [all-recursive] 错误 1
[root@webp kangle-3.2.2]#
回复 支持 反对

使用道具 举报

发表于 2013-8-16 10:56:12 | 显示全部楼层
没有安装openssl
先运行一下yum -y install openssl-devel
回复 支持 反对

使用道具 举报

发表于 2013-10-14 15:18:47 | 显示全部楼层
安装后后台提示:
kangle版本:         Fatal error: Call to a member function get() on a non-object in /vhs/kangle/nodewww/webftp/framework/templates_c/default/f9/7e/b8/f97eb84e88ea7809696215630df77913cd124083.file.main.html.php on line 89
回复 支持 反对

使用道具 举报

发表于 2013-11-12 09:30:09 | 显示全部楼层
扫盲教程啊~~
回复 支持 反对

使用道具 举报

发表于 2013-11-12 11:38:24 | 显示全部楼层
本帖最后由 懒得写 于 2013-11-12 11:54 编辑

安装好了
1.png

点评

这是安装失败的情况吧  发表于 2014-1-25 17:21
回复 支持 反对

使用道具 举报

发表于 2013-12-31 17:28:39 | 显示全部楼层
回复 支持 反对

使用道具 举报

发表于 2014-1-25 17:27:25 | 显示全部楼层
make[1]: Leaving directory `/root/kangle-3.2.6/module/webdav'
make[1]: Entering directory `/root/kangle-3.2.6'
make[1]: Nothing to be done for `all-am'.
make[1]: Leaving directory `/root/kangle-3.2.6'
You have new mail in /var/spool/mail/root
[root@VM kangle-3.2.6]# make install
Making install in src
make[1]: Entering directory `/root/kangle-3.2.6/src'
make[2]: Entering directory `/root/kangle-3.2.6/src'
test -z "/vhs/kangle/bin" || /bin/mkdir -p "/vhs/kangle/bin"
  /usr/bin/install -c kangle '/vhs/kangle/bin'
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/root/kangle-3.2.6/src'
make[1]: Leaving directory `/root/kangle-3.2.6/src'
Making install in extworker
make[1]: Entering directory `/root/kangle-3.2.6/extworker'
make[2]: Entering directory `/root/kangle-3.2.6/extworker'
test -z "/vhs/kangle/bin" || /bin/mkdir -p "/vhs/kangle/bin"
  /usr/bin/install -c extworker '/vhs/kangle/bin'
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/root/kangle-3.2.6/extworker'
make[1]: Leaving directory `/root/kangle-3.2.6/extworker'
Making install in module/webdav
make[1]: Entering directory `/root/kangle-3.2.6/module/webdav'
make[2]: Entering directory `/root/kangle-3.2.6/module/webdav'
make[2]: Nothing to be done for `install-exec-am'.
test -z "/vhs/kangle/bin" || /bin/mkdir -p "/vhs/kangle/bin"
  /usr/bin/install -c webdav.so '/vhs/kangle/bin'
make[2]: Leaving directory `/root/kangle-3.2.6/module/webdav'
make[1]: Leaving directory `/root/kangle-3.2.6/module/webdav'
make[1]: Entering directory `/root/kangle-3.2.6'
make[2]: Entering directory `/root/kangle-3.2.6'
test -z "/vhs/kangle/etc" || /bin/mkdir -p "/vhs/kangle/etc"
/vhs/kangle/etc/config.xml exsit..
test -z "/vhs/kangle/etc" || /bin/mkdir -p "/vhs/kangle/etc"
test -z "/vhs/kangle/etc" || /bin/mkdir -p "/vhs/kangle/etc"
/usr/bin/install -c -m 644 etc/lang.xml etc/lang_en.xml etc/lang_zh.xml etc/config-default.xml '/vhs/kangle/etc'
test -z "/vhs/kangle/include" || /bin/mkdir -p "/vhs/kangle/include"
/usr/bin/install -c -m 644 src/httpext.h src/httpfilt.h src/ksapi.h module/whm/whm.h '/vhs/kangle/include'
test -z "/vhs/kangle/webadmin" || /bin/mkdir -p "/vhs/kangle/webadmin"
/usr/bin/install -c -m 644 webadmin/kangle.css webadmin/core.whm webadmin/logo.gif '/vhs/kangle/webadmin'
test -z "/vhs/kangle/var" || /bin/mkdir -p "/vhs/kangle/var"
test -z "/vhs/kangle/www" || /bin/mkdir -p "/vhs/kangle/www"
/usr/bin/install -c -m 644 www/index.html '/vhs/kangle/www'
make[2]: Leaving directory `/root/kangle-3.2.6'
make[1]: Leaving directory `/root/kangle-3.2.6'
[root@VM kangle-3.2.6]# cd ..
[root@VM ~]#
[root@VM ~]# yum -y install wget make automake gcc gcc-c++ pcre-devel zlib-devel sqlite-devel openssl-devel
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: ftp.cuhk.edu.hk
* extras: ftp.cuhk.edu.hk
* updates: ftp.cuhk.edu.hk
Setting up Install Process
Package wget-1.12-1.8.el6.i686 already installed and latest version
Package 1:make-3.81-20.el6.i686 already installed and latest version
Package automake-1.11.1-4.el6.noarch already installed and latest version
Package gcc-4.4.7-4.el6.i686 already installed and latest version
Package gcc-c++-4.4.7-4.el6.i686 already installed and latest version
Package pcre-devel-7.8-6.el6.i686 already installed and latest version
Package zlib-devel-1.2.3-29.el6.i686 already installed and latest version
Package sqlite-devel-3.6.20-1.el6.i686 already installed and latest version
Package openssl-devel-1.0.1e-16.el6_5.4.i686 already installed and latest version
Nothing to do
[root@VM ~]# yum -y install pcre-devel zlib-devel
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: ftp.cuhk.edu.hk
* extras: ftp.cuhk.edu.hk
* updates: ftp.cuhk.edu.hk
Setting up Install Process
Package pcre-devel-7.8-6.el6.i686 already installed and latest version
Package zlib-devel-1.2.3-29.el6.i686 already installed and latest version
Nothing to do
[root@VM ~]# yum -y install openssl-devel
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: ftp.cuhk.edu.hk
* extras: ftp.cuhk.edu.hk
* updates: ftp.cuhk.edu.hk
Setting up Install Process
Package openssl-devel-1.0.1e-16.el6_5.4.i686 already installed and latest version
Nothing to do
You have new mail in /var/spool/mail/root
[root@VM ~]# yum -y install sqlite-devel
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: ftp.cuhk.edu.hk
* extras: ftp.cuhk.edu.hk
* updates: ftp.cuhk.edu.hk
Setting up Install Process
Package sqlite-devel-3.6.20-1.el6.i686 already installed and latest version
Nothing to do
[root@VM ~]#
回复 支持 反对

使用道具 举报

发表于 2014-3-31 14:18:25 | 显示全部楼层
ssh 发表于 2011-8-2 16:36
http://服务器ip地址:3311/

我是懒人

偷不了懒啊,wget下载下来不是kangle-*.tar.z 要重命名
回复 支持 反对

使用道具 举报

发表于 2014-5-12 11:35:04 | 显示全部楼层
[root@cloud ~]#  wget http://download.kanglesoft.com/zcore.php?os=src
--2014-05-12 11:33:05--  http://download.kanglesoft.com/zcore.php?os=src
姝e湪瑙f瀽涓绘満 download.kanglesoft.com... 112.117.211.48, 113.105.167.12, 211.90.16.20
姝e湪杩炴帴 download.kanglesoft.com|112.117.211.48|:80... 宸茶繛鎺ャ€
宸插彂鍑HTTP 璇锋眰锛屾鍦ㄧ瓑寰呭洖搴.. 302 Found
浣嶇疆锛歴rc/kangle-3.2.8.tar.gz [璺熼殢鑷虫柊鐨URL]
--2014-05-12 11:33:05--  http://download.kanglesoft.com/src/kangle-3.2.8.tar.gz
鍐嶆浣跨敤瀛樺湪鐨勫埌 download.kanglesoft.com:80 鐨勮繛鎺ャ€
宸插彂鍑HTTP 璇锋眰锛屾鍦ㄧ瓑寰呭洖搴.. 200 OK
闀垮害锛63742 (648K) [application/x-tar]
姝e湪淇濆瓨鑷 鈥渮core.php?os=src.2鈥

100%[=============================================================================================================================>] 663,742      978K/s   in 0.7s   

2014-05-12 11:33:06 (978 KB/s) - 宸蹭繚瀛鈥渮core.php?os=src.2鈥[663742/663742])



什么情况,怎么变乱码了?
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|Archiver|Bangteng Inc. ( 赣ICP备13005708号-5

GMT+8, 2018-6-19 06:42 , Processed in 0.082302 second(s), 24 queries .

Powered by Discuz! X3.3

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表