- 浏览: 421933 次
- 性别:
- 来自: 南京
文章分类
最新评论
-
felicitia:
需要登录的数据能抓取到吗?模拟淘宝的登录感觉太难了。。。
是使用淘宝API获取数据好,还是利用爬虫去抓取数据好呢 -
baso4233:
我的是机器本身编译器装多了。
Error starting modern compiler -
exceedly:
淘宝有访问其他店铺产品信息的API吗...我怎么没有看到- - ...
是使用淘宝API获取数据好,还是利用爬虫去抓取数据好呢 -
atal162:
根据楼主的配置,成功部署了vsftpd。谢谢!
Ubuntu下成功安装配置vsftpd -
opencvImage:
你好!请问能不能把你Lucene结合PR进行排序优化的代码贴出 ...
PageRank算法的原理和源代码实现(java)
1.4.23 - Leaving the nest
June 19th, 2009
从官方网站下载lighttpd-1.4.23.tar.gz(截止博客发表时最新版本),前往下载页面http://www.lighttpd.net/download
tar -xf lighttpd-1.4.23.tar.gz
cd lighttpd-1.4.23
在编译时碰到两个问题,error: pcre-config not found 和 error: bzip2-headers
需要安装下面两个包:
sudo apt-get install libpcre3-dev
sudo apt-get install libbz2-dev
以下为./configure编译结果:
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... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
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 gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking whether gcc and cc understand -c and -o together... yes
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for gawk... (cached) mawk
checking how to run the C preprocessor... gcc -E
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
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 minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for library containing strerror... none required
checking for minix/config.h... (cached) no
checking whether it is safe to define __EXTENSIONS__... (cached) yes
checking for function prototypes... yes
checking for string.h... (cached) yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... no
checking for dlopen in -ldl... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... no
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... 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 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 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 for unistd.h... (cached) yes
checking sys/sendfile.h usability... yes
checking sys/sendfile.h presence... yes
checking for sys/sendfile.h... yes
checking sys/uio.h usability... yes
checking sys/uio.h presence... yes
checking for sys/uio.h... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking sys/epoll.h usability... yes
checking sys/epoll.h presence... yes
checking for sys/epoll.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking poll.h usability... yes
checking poll.h presence... yes
checking for poll.h... yes
checking sys/poll.h usability... yes
checking sys/poll.h presence... yes
checking for sys/poll.h... yes
checking sys/devpoll.h usability... no
checking sys/devpoll.h presence... no
checking for sys/devpoll.h... no
checking sys/filio.h usability... no
checking sys/filio.h presence... no
checking for sys/filio.h... no
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking sys/event.h usability... no
checking sys/event.h presence... no
checking for sys/event.h... no
checking sys/port.h usability... no
checking sys/port.h presence... no
checking for sys/port.h... no
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking sys/syslimits.h usability... no
checking sys/syslimits.h presence... no
checking for sys/syslimits.h... no
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking sys/un.h usability... yes
checking sys/un.h presence... yes
checking for sys/un.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking sys/prctl.h usability... yes
checking sys/prctl.h presence... yes
checking for sys/prctl.h... yes
checking uuid/uuid.h usability... no
checking uuid/uuid.h presence... no
checking for uuid/uuid.h... no
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking whether char is unsigned... no
checking for off_t... yes
checking for pid_t... yes
checking for size_t... yes
checking for struct tm.tm_gmtoff... yes
checking for struct sockaddr_storage... yes
checking for socklen_t... yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking return type of signal handlers... void
checking whether lstat dereferences a symlink specified with a trailing slash... yes
checking whether stat accepts an empty string... no
checking for strftime... yes
checking for issetugid... no
checking for inet_pton... yes
checking for MySQL support... no
checking for LDAP support...
checking for extended attributes support...
checking for library containing socket... none required
checking for library containing gethostbyname... none required
checking for library containing hstrerror... none required
checking for library containing dlopen... -ldl
checking for dlfcn.h... (cached) yes
checking for valgrind... no
checking for OpenSSL... no
checking for perl regular expressions support... yes
checking for pcre-config... /usr/bin/pcre-config
checking for zlib support... yes
checking for deflate in -lz... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for bzip2 support... yes
checking for BZ2_bzCompress in -lbz2... yes
checking bzlib.h usability... yes
checking bzlib.h presence... yes
checking for bzlib.h... yes
checking for pkg-config... /usr/bin/pkg-config
checking for FAM... no
checking for properties in mod_webdav... no
checking for gdbm... no
checking for memcache... no
checking if lua-support is requested... no
checking for library containing crypt... -lcrypt
checking crypt.h usability... yes
checking crypt.h presence... yes
checking for crypt.h... yes
checking for library containing sendfilev... no
checking for dup2... yes
checking for getcwd... yes
checking for inet_ntoa... yes
checking for inet_ntop... yes
checking for memset... yes
checking for mmap... yes
checking for munmap... yes
checking for strchr... yes
checking for strdup... yes
checking for strerror... yes
checking for strstr... yes
checking for strtol... yes
checking for sendfile... yes
checking for getopt... yes
checking for socket... yes
checking for lstat... yes
checking for gethostbyname... yes
checking for poll... yes
checking for sigtimedwait... yes
checking for epoll_ctl... yes
checking for getrlimit... yes
checking for chroot... yes
checking for getuid... yes
checking for select... yes
checking for signal... yes
checking for pathconf... yes
checking for madvise... yes
checking for posix_fadvise... yes
checking for posix_madvise... yes
checking for writev... yes
checking for sigaction... yes
checking for sendfile64... yes
checking for send_file... no
checking for kqueue... no
checking for port_create... no
checking for localtime_r... yes
checking for gmtime_r... yes
checking for Large File System support...
checking size of long... 4
checking size of off_t... 8
checking if sendfile works... yes
checking for IPv6 support... yes
checking for FCGI_Accept in -lfcgi... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating doc/Makefile
config.status: creating tests/Makefile
config.status: creating tests/docroot/Makefile
config.status: creating tests/docroot/123/Makefile
config.status: creating tests/docroot/www/Makefile
config.status: creating tests/docroot/www/go/Makefile
config.status: creating tests/docroot/www/indexfile/Makefile
config.status: creating tests/docroot/www/expire/Makefile
config.status: creating distribute.sh
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
Plugins:
enabled:
mod_access
mod_accesslog
mod_alias
mod_auth
mod_cgi
mod_compress
mod_dirlisting
mod_evhost
mod_expire
mod_extforward
mod_fastcgi
mod_flv_streaming
mod_indexfile
mod_proxy
mod_redirect
mod_rewrite
mod_rrdtool
mod_scgi
mod_secdownload
mod_setenv
mod_simple_vhost
mod_ssi
mod_staticfile
mod_status
mod_trigger_b4_dl
mod_userdir
mod_usertrack
mod_webdav
disabled:
mod_cml
mod_magnet
mod_mysql_vhost
Features:
enabled:
auth-crypt
compress-bzip2
compress-deflate
compress-gzip
large-files
network-ipv6
regex-conditionals
disabled:
auth-ldap
network-openssl
stat-cache-fam
storage-gdbm
storage-memcache
webdav-locks
webdav-properties
发表评论
-
Ubuntu下成功安装配置vsftpd
2009-09-05 01:48 4056情况介绍: 我的笔 ... -
Ubuntu8.10内核更新成功
2009-09-05 01:13 1602我是一只小小小菜鸟 我只知道用deb包来升级 我的 ... -
Ubuntu设置笔记本电脑双显示器(linux)
2009-07-15 16:01 15961转载地址:http://i.cn.yahoo.com/shiy ... -
ubuntu下使用firefox3.5
2009-07-01 21:53 25281、到官方网站上去下载firefox-3.5.tar.bz2的 ... -
安装ibus输入法过程中的一个提示
2009-06-23 17:13 2061ibus守护进程 将下列内容加入$HOME/.bashrc中 ... -
debian下远程访问windows
2009-05-23 16:36 1793Ubuntu下有个终端伺服器客户端,很方便,同样可以用在Deb ... -
源列表
2009-05-22 18:10 1859这是 Google 对 http://sxpspace.blo ... -
Ubuntu 安装微软雅黑字体
2009-04-12 21:32 1286http://www.cnblogs.com/dyj057 ... -
Could not get lock /var/lib/apt/lists/lock
2009-04-09 09:44 14535今天更新时候出现了点小问题,一开始更新到一半,我嫌速度慢,就取 ... -
快速查看本机ip,dns ---linux
2009-01-07 15:02 15246快速查看本机的DNS: 写道 cat /etc/resolv ... -
ubuntu下访问windows共享文件夹
2008-12-01 14:05 8437ubuntu下访问windows共享文件夹 今天碰到一个 ... -
Ubuntu8.04下上无线网络
2008-07-17 10:21 1717我的无线网卡是Intel Corporation PRO/Wi ...
相关推荐
### Lighttpd安装与配置详解 #### 一、前言 Lighttpd是一款开源的、高性能的、符合标准的Web服务器软件,适用于Unix-like系统,包括Linux、BSD、Solaris等。它以其轻量级、高效率的特点,在处理高并发连接方面表现...
交叉编译最新版的lighttpd-1.4.55,配置与测试CGI与HTML.内含 lighttpd-1.4.55源码,移植教程,cgi测试代码,html测试代码.测试cgi时,浏览器中应该输入192.168.100.30/cgi-bin/xx.cgi .其中 192.168.100.30为开发板的ip
《lighttpd:轻量级Web服务器的深度解析与配置指南》 lighttpd是一款开源、轻量级的Web服务器,其设计目标是提供高效、安全的互联网服务。标题中的"lighttpd-1.4.49.tar.gz"表明我们获取的是lighttpd的1.4.49版本...
要将lighttpd编译到不同的嵌入式平台,首先需要下载源码包(如lighttpd-1.4.48),然后使用标准的 configure、make 和 make install 命令进行编译安装。在编译过程中,可以根据具体平台的特性选择合适的编译选项。 ...
由于其源代码简洁、编译过程简单,开发者可以轻松地将其移植到各种嵌入式系统上,包括Linux、FreeRTOS等操作系统。lighttpd-1.4.45版本在保持轻量级的同时,对不同平台的兼容性进行了优化,大大降低了移植难度。 ...
3. 编译与安装:配置成功后,运行`make`进行编译,接着执行`sudo make install`进行安装。默认情况下,lighttpd会被安装到系统的/usr/local/sbin/目录下。 四、基础配置 1. 配置文件:lighttpd的主配置文件通常...
1. **编译lighttpd**:首先,你需要获取lighttpd的源代码,并确保你有一个合适的交叉编译环境,以便在Android设备上编译。这可能涉及到安装NDK(Android Native Development Kit),设置交叉编译工具链,并对...
5. **安装lighttpd**:编译完成后,使用`sudo make install`将lighttpd及其配置文件安装到系统默认的位置,如`/usr/local/sbin`和`/etc/lighttpd`。 6. **配置lighttpd**:lighttpd的配置文件通常位于`/etc/...
3. **编译和安装**:应用补丁后,需要重新编译lighttpd源代码。这通常包括运行`./configure`,`make`和`make install`等命令。确保在编译过程中指定任何必要的配置选项,以满足你的服务器需求。 4. **配置lighttpd*...
在解压后的目录中,执行以下步骤来编译和安装lighttpd: ``` ./configure --prefix=/usr/local/lighttpd make sudo make install ``` 4. **配置lighttpd** lighttpd的配置文件通常位于`/etc/lighttpd/...
1.修改lighttpd.conf 修改为自己的工作目录 var.server_root = "/home/caoft/lighttpd/lighttpd_websocket_fastcgi/http_server" var.state_dir = "/home/caoft/lighttpd/lighttpd_websocket_fastcgi/http_server"...
startLighttp.vbs 为一键启动lighttpd和php-cgi的启动脚本,php使用fastcgi host:port形式 test_cgi.cmd 为测试cgi传参数用(如果发现php程序返回No input file specified.说明server.document-root这个目录配置的有...
这通常涉及下载源代码包、解压、配置编译选项、编译以及安装几个步骤。 ```bash # cd /tmp/ # wget http://download.lighttpd.net/lighttpd/releases-1.4.x/lighttpd-1.4.39.tar.gz # tar -zxvf lighttpd-...
1. **支持平台与编译环境** Lighttpd适用于多种操作系统平台,包括但不限于Linux(如FC3、SuSE、Debian、Gentoo、PLD-Linux和OpenWRT)、*BSD(FreeBSD、NetBSD、OpenBSD和MacOSX)、SGI IRIX以及Windows(Cygwin)...
之前2013年上传了编译好的执行文件,现在上传代码。...参考了网上的一些资源和信息, lighttpd是自己编译出来的,有代码。php-cgi是网上下载,合起来可以在android上使用。 里面也包括了配置文件。
2. 编译安装:运行configure脚本进行配置,指定安装路径,然后执行make和make install。 3. 配置文件:默认配置文件为/etc/lighttpd/lighttpd.conf,用户可以根据需求修改配置,例如设置监听端口、开启SSL、配置目录...
6. **源码组织**:文档应该会覆盖源码的基本组织结构,包括源码树的布局、源文件的分布和编译构建过程等。 7. **编程风格和模式**:深入研究Lighttpd的编程风格和采用的设计模式,这对于理解服务器内部的工作机制和...