ncurses的安装
[root@localhost ~]# tar zxvf /mnt/ncurses-5.7.tar.gz -C /tmp
[root@localhost ~]# cd /tmp/ncurses-5.7/
[root@localhost ncurses-5.7]# ./configure --prefix=/www/ncurses --with-shared
** Configuration summary for NCURSES 5.7 20081102:
extended funcs: yes
xterm terminfo: xterm-new
bin directory: /www/ncurses/bin
lib directory: /www/ncurses/lib
include directory: /www/ncurses/include/ncurses
man directory: /www/ncurses/man
terminfo directory: /www/ncurses/share/terminfo
** Include-directory is not in a standard location
[root@localhost ncurses-5.7]# make
[root@localhost ncurses-5.7]# make install
httpd的安装
[root@localhost ncurses-5.7]# tar zxvf /mnt/httpd-2.2.9.tar.gz -C /tmp
[root@localhost ncurses-5.7]# cd ../httpd-2.2.9/
[root@localhost httpd-2.2.9]# ./configure --prefix=/www/httpd --enable-modules=all --enable-so --enable-cache --enable-disk-cache --enable-mem-cache --enable-file-
cache --enable-proxy --enable-proxy-http --enable-proxy-ftp --enable-proxy-ajp --enable-proxy-balancer --with-mpm=worker --enable-mods-shared=all --enable-static-ab
--enable-cgi --enable-rewrite
make[4]: Leaving directory `/tmp/httpd-2.2.9/modules/mappers''
make[3]: Leaving directory `/tmp/httpd-2.2.9/modules/mappers''
make[2]: Leaving directory `/tmp/httpd-2.2.9/modules''
make[2]: Entering directory `/tmp/httpd-2.2.9/support''
make[2]: Leaving directory `/tmp/httpd-2.2.9/support''
make[1]: Leaving directory `/tmp/httpd-2.2.9''
[root@localhost httpd-2.2.9]# make
[root@localhost httpd-2.2.9]# make install
[root@localhost httpd-2.2.9]# /www/httpd/bin/apachectl start
[root@localhost httpd-2.2.9]# ps axu|grep httpd
root 14711 1.2 1.0 5280 2580 ? Ss 18:06 0:00 /www/httpd/bin/httpd -k start
拥有帝国一切,皆有可能。欢迎访问phome.net
daemon 14712 0.3 0.6 5168 1744 ? S 18:06 0:00 /www/httpd/bin/httpd -k start
daemon 14713 1.0 0.8 281916 2228 ? Sl 18:06 0:00 /www/httpd/bin/httpd -k start
daemon 14715 0.6 0.8 281916 2228 ? Sl 18:06 0:00 /www/httpd/bin/httpd -k start
daemon 14717 1.0 0.8 281916 2232 ? Sl 18:06 0:00 /www/httpd/bin/httpd -k start
root 14798 0.0 0.2 3908 696 pts/0 S 18:06 0:00 grep httpd
[root@localhost httpd-2.2.9]# netstat -tuln|grep 80
tcp 0 0 :::80 :::* LISTEN
zlib的安装
[root@localhost httpd-2.2.9]# tar zxvf /mnt/zlib-1.2.3.tar.gz -C /tmp
[root@localhost httpd-2.2.9]# cd ../zlib-1.2.3/
[root@localhost zlib-1.2.3]# ./configure --prefix=/www/zlib
[root@localhost zlib-1.2.3]# make
[root@localhost zlib-1.2.3]# make install
libpng的安装
[root@localhost zlib-1.2.3]# tar zxvf /mnt/libpng-1.2.40.tar.gz -C /tmp
[root@localhost zlib-1.2.3]# cd ../libpng-1.2.40/
[root@localhost libpng-1.2.40]# ./configure --prefix=/www/libpng
[root@localhost libpng-1.2.40]# make
[root@localhost libpng-1.2.40]# make install
freetype的安装 |