原创,实践出来的。希望加精!!!
安装MYSQL
引用:# groupadd mysql
# useradd -g mysql -d /usr/local/mysql/data -M mysql
# tar -zxvf mysql-5.0.17.tar.gz
# cd mysql-5.0.17
./configure --prefix=/usr/local/mysql \ 指定安装目录
> --sysconfdir=/etc \ 配置文件的路径
> --localstatedir=/usr/local/mysql/data \ 数据库存放的路径
> --enable-assembler \ 使用一些字符函数的汇编版本
> --with-mysqld-ldflags=-all-static \ 以纯静态方式编译服务端
> --with-charset=utf8 \ 添加utf8字符支持
> --with-extra-charsets=all 添加所有字符支持
# make
# make install
# /usr/local/mysql/bin/mysql_install_db
# chown -R mysql:mysql /usr/local/mysql/data
# cp /usr/local/mysql/share/mysql/mysql.server /etc/rc.d/init.d/mysqld
# chkconfig --add mysqld
# cp /usr/local/mysql/share/mysql/my-medium.cnf /etc/my.cnf
安装Apache
tar -zvxf httpd-2.2.tar.gz
cd httpd-2.2
./configure --prefix=/usr/local/apache --enable-so
make
make install
先安装支持包(注意安装顺序)
先列出配置gd2需要的网址
gd-2.0.33.tar.gz
www.boutell.com/gd
jpegsrc.v6b.tar.gz
ftp.uu.net/graphics/jpeg
www.ijg.org
libpng-1.2.7.tar.tar
www.libpng.org/pub/png/libpng.html
libpng.sourceforge.net
sourceforge.net/projects/libpng
zlib-1.2.2.tar.gz
www.zlib.net
sourceforge.net/projects/zlib
freetype-2.1.9.tar.gz
www.freetype.org
freetype.sourceforge.net/index2.html
sourceforge.net/projects/freetype
建立初始目录:
mkdir /usr/local/modules
jpeg目录
mkdir /usr/local/modules/jpeg6
mkdir /usr/local/modules/jpeg6/bin
mkdir /usr/local/modules/jpeg6/lib
mkdir /usr/local/modules/jpeg6/include
mkdir /usr/local/modules/jpeg6/man
mkdir /usr/local/modules/jpeg6/man/man1
安装libxml
# tar -zxf libxml2-2.6.16.tar.gz
# cd libxml2-2.6.16
# ./configure (xml默认安装就可以,不要指定路径了,因为安装时php可能找不到它,PHP5只支持libxml2-2.5.10以上版本)
# make
# make install
安装zlib
tar xzvf zlib-1.2.2.tar.gz
cd zlib-1.2.2
#不要用--prefix自定义安装目录,影响gd的安装
./configure
make
make install
安装freetype
tar xzvf freetype-2.1.5.tar.gz
cd freetype-2.1.5
./configure --prefix=/usr/local/modules/freetype
make
make install
安装libpng
tar xzvf libpng-1.2.5.tar.gz
#不要用--prefix自定义安装目录,影响gd的安装
cd libpng-1.2.5
cp scripts/makefile.std makefile
make
make install
安装jpeg
tar xzvf jpegsrc.v6b.tar.gz
./configure --prefix=/usr/local/modules/jpeg6 --enable-shared --enable-static
make
make install
安装GD
tar xzvf gd-2.0.33.tar.gz
./configure --prefix=/usr/local/modules/gd --with-jpeg=/usr/local/modules/jpeg6 --with-png --with-zlib --with-freetype=/usr/local/modules/freetype
make
make install
安装imap:
tar zxvf imap-2001a.tar.Z
cd imap-2001a
make slx
cp ipopd/ipop*.* /usr/sbin
cp imapd/imapd /usr/sbin
cp c-client/c-client.a /usr/local/lib
请确定你有 /usr/local/include 这个目录
cp c-client/rfc822.h /usr/local/include
cp c-client/mail.h /usr/local/include
cp c-client/linkage.h /usr/local/include
mkdir /usr/local/php5
tar -zxvf php-5.1.1.tar.gz
cd php-5.1.1
./configure --prefix=/usr/local/php5 \
--with-mysql=/usr/local/mysql \
--with-mysqli=/usr/local/mysql/bin/mysql_config \
--with-apxs2=/usr/local/apache/bin/apxs \
--with-libxml-dir=/usr/local/lib \
--with-gd=/usr/local/modules/gd \
--with-jpeg-dir=/usr/local/modules/jpeg6 \
--with-zlib \
--with-png \
--with-freetype-dir=/usr/local/modules/freetype \
--with-imap=/usr/local/lib \
--with-xmlrpc \
--with-config-file-path=/usr/local/php5/etc
make
make install
cp ./php.ini-dist /usr/local/php5/etc/php.ini
修改httpd.conf
#vi /usr/local/apache/conf/httpd.conf
加载php模块,去掉注释“#”,如没有此行,请加上。
LoadModule php5_module modules/libphp5.so
加上此两行
AddType application/x-httpd-php .php .phtml
AddType application/x-httpd-php-source .phps
到这里全部的安装过程已完成。
72.232.95.* 于 2006-12-27 20:22:41发表:
Good design!
poker sites | gambling sites | free on line games | world poker tour | casino on net | free online bingo games | hold em poker | no download casino | caribbean stud poker | slot machine games
72.232.95.* 于 2006-12-27 20:22:26发表:
Great work!
caribbean poker online | world poker | game poker | poker online free | pai gow poker | free online poker | no deposit bonus | poker tour | free online blackjack | joker poker
72.232.95.* 于 2006-12-27 20:21:53发表:
Great work!
caribbean poker online | world poker | game poker | poker online free | pai gow poker | free online poker | no deposit bonus | poker tour | free online blackjack | joker poker
72.232.95.* 于 2006-12-27 20:21:13发表:
Great work!
caribbean poker online | world poker | game poker | poker online free | pai gow poker | free online poker | no deposit bonus | poker tour | free online blackjack | joker poker
72.232.95.* 于 2006-12-27 20:21:01发表:
Thank you!
holdem poker | online poker reviews | russian roulette game | black jack | texas hold em | free poker online | roulette free | party poker download | free roulette | free slot machine downloads
72.232.95.* 于 2006-12-27 20:21:00发表:
Thank you!
holdem poker | online poker reviews | russian roulette game | black jack | texas hold em | free poker online | roulette free | party poker download | free roulette | free slot machine downloads
65.110.43.* 于 2006-12-27 16:31:27发表:
Great work!
free online blackjack | free bonus slots | roulette game | free blackjack | omaha poker | keno games | internet casino | internet blackjack | uk poker | free no deposit online casinos
72.232.93.* 于 2006-12-27 16:18:02发表:
Good design!
free poker game download | video poker machines | online gambling casino | accept us poker players | black jack online | free casino | new no deposit casinos | free download poker | flash casino | online gaming
65.110.43.* 于 2006-12-27 16:11:47发表:
Nice site!
sims slots | poker room review | free internet poker | slim slots | playing poker | poker gambling | full poker review tilt | download casino games | no limit texas hold em | party poker bonus
65.110.43.* 于 2006-12-27 06:39:04发表:
Good design!
roulette wheel | caribbean poker online | poker texas hold em | free online casinos | poker machine | poker cards | blackjack download | internet bingo | free bonus slots | free download poker
65.110.43.* 于 2006-12-27 06:35:09发表:
Good design!
draw poker | gambling on line | flash casino | free black jack | poker for free | 3 card poker | internet casino poker | online free poker | download free poker | on line gambling
72.232.93.* 于 2006-12-27 06:29:53发表:
Nice site!
free slot machine games online | internet poker | online poker review room | bonus poker | free online slots no download | real poker | online bingo games | machine games | gambling poker machine | play casino game
72.232.93.* 于 2006-12-27 06:22:45发表:
Well done!
best casinos | casino download | slot machines | blackjack online free | free fun slots | aussie slots | poker on line | black jack online | free online slot machines | poker site us
65.110.43.* 于 2006-12-26 05:38:07发表:
Great work!
slots games | roulette game | gambling games | best casino online | free slots on line | poker usa | full poker review tilt | texas poker | free blackjack online | best internet poker
65.110.43.* 于 2006-12-26 05:37:34发表:
Great work!
card poker | poker casino | free casino cash | play blackjack | party poker download | real money poker | virtual poker | free slot machines games | free slim slots | on line gambling
65.110.43.* 于 2006-12-26 05:37:11发表:
Nice site!
free no deposit casinos | poker directory | slots online | no download casino | free no download slots | keno games | free cash casinos | black jack free | casino online | playing poker
65.110.43.* 于 2006-12-26 05:36:41发表:
Great work!
slot game | play roulette | flash casino games | slot machine | monopoly online | free internet poker | world poker | crazy game of poker | flash casinos | free poker
72.232.93.* 于 2006-12-26 05:36:10发表:
Great work!
casino stud poker | play casino game | free poker downloads | free money no deposit casinos | online gambling casino | poker online free | play free slot machine game | monopoly slots | aussie slots | black jack
72.232.93.* 于 2006-12-25 07:42:01发表:
Nice site!
poker star | game poker | free black jack games | video poker free | poker games | free casino slots | free poker software | poker site usa | play texas holdem | holdem poker online
65.110.43.* 于 2006-12-25 07:41:34发表:
Great work!
blackjack free | free gambling games | play poker usa | strip blackjack | flash casino | poker texas holdem | poker us | online poker tournament | roulette free | online gambling bonuses
65.110.43.* 于 2006-12-25 07:41:18发表:
Well done!
poker free | gambling on line | online poker games | casino no deposit | monopoly slots | gambling casinos | free slot machine downloads | draw poker | online slots free | poker card game
72.232.93.* 于 2006-12-25 07:41:06发表:
Well done!
free roulette games | download poker games | no limit texas holdem | new online casinos | free casino games online | free slots online | keno online | no deposit bingo online | free on line poker | play free slots
72.232.93.* 于 2006-12-25 07:40:52发表:
Thank you!
world poker | poker websites | online roulette | noble poker | slots for fun | pacific poker | poker game online | free slim slots | free no deposit online casinos | free casino money
65.110.43.* 于 2006-12-24 17:59:54发表:
Great work!
video poker download | poker gambling | cleopatra slots | playing roulette | online bingo games | gambling casinos | download casino | poker pages | uk poker | free gambling
65.110.43.* 于 2006-12-24 17:57:28发表:
Great work!
casino game online | online poker games | free online casino games | no deposit online casinos | gambling poker machine | free slot machine | gamble poker | free online bingo | free online slot games | best poker sites
72.232.93.* 于 2006-12-24 17:56:45发表:
Thank you!
free casino slot games | multi player poker | free on line poker | online poker accept us | online hold em | free no deposit online casinos | free online slot machine games | best casino bonus | free poker websites | free joker poker
72.232.93.* 于 2006-12-24 17:56:04发表:
Great work!
poker online | texas holdem online | best online poker room | best internet poker | poker games online | free video poker | free 3 card poker | easy online real bingo | slot online | virtual poker
72.232.92.* 于 2006-12-24 17:55:36发表:
Good design!
blackjack free | free on line slots | blackjack download | play free blackjack | free poker online | play slot machines for free | machine games | poker review | no limit holdem | internet poker
65.110.43.* 于 2006-12-23 20:58:08发表:
Thank you!
country music ringtones | wav ringtones | downloadable free ringtones | free tracfone ringtones | verizon ringtones | mp3 ringtone | ringtones i730 nextel motorola | crazy frog ringtone | free monophonic ringtones | mtv ringtones
65.110.43.* 于 2006-12-23 20:56:18发表:
Thank you!
free mobile phone ringtones | motorola v60i composer ringtones | anime ringtones | motorola 120c free ringtones | sanyo ringtones free sprint | free ringtones samsung | free polyphonic motorola ringtones | polyphonic ringtones | free motorola v60i ringtones | ringtones composer
65.110.43.* 于 2006-12-23 20:55:14发表:
Great work!
boost mobile ringtones | jamster ringtones | downloads free mp3 ringtone | free ringtones for lg | ringtones verizon | christian song ringtones | 24 ringtone | cisco voice ip ringtones | free ringtone converter | free real music ringtones
65.110.43.* 于 2006-12-23 20:54:43发表:
Great work!
ringtone downloads ringtone downloads | free ringtones for motorola | i730 nextel ringtones | audiovox cdm8900 free ringtone | ctu ringtones | free ringtones cingular | nascar ringtones | free polyphonic ringtones usa | nextel wav i730 ringtones | monophonic ringtones
72.232.92.* 于 2006-12-23 20:54:22发表:
Well done!
free sprint ringtones | polyphonic ringtones free | absolutely free ringtones | alltel cell phone ringtones | free i730 nextel ringtones | download samsung ringtones | mp3 ringtones | free mp3 ringtone | 24 ringtone 24 ringtone | ringtone jukebox ringtone jukebox
72.232.93.* 于 2006-12-22 22:23:01发表:
Thank you!
online casino blackjack | texas holdem tournament | best online poker room | free poker games | ringtones for verizon | online casino poker | no download slots | free no deposit online casinos | motorola v60i free ringtones | online poker tournament
65.110.43.* 于 2006-12-22 22:21:02发表:
Great work!
poker accept usa | best online casinos | blackjack odds | free samsung t100 ringtones | free sprint sanyo ringtones | free poker software | download free music ringtones | free slot machine games | roulette wheel | poker open to us
72.232.93.* 于 2006-12-22 22:19:54发表:
Well done!
samsung ringtones | internet bingo | online free poker | casino online | free fun slots | slots free | free poker tournaments | free texas holdem | 24 ctu ringtone nokia | real music ringtones
65.110.43.* 于 2006-12-22 22:19:27发表:
Good design!
poker games | casino game | free slot machine downloads | cell phone ringtones | play poker usa | slot machine | online bingo games | russian roulette game | free blackjack online | poker star
72.232.92.* 于 2006-12-22 22:18:33发表:
Good design!
casino free games | gambling poker | country music ringtones | flash casinos | blackjack game | free casino downloads | online holdem | poker us | free motorola keypress ringtones | free roulette online
65.110.43.* 于 2006-12-22 03:15:13发表:
Thank you!
free mobile polyphonic ringtones | free ringtone for motorola | nextel i730 mp3 ringtones | christian song ringtones | free ringtones for verizon | i730 midi nextel ringtone | i730 nextel ringtones | nextel i730 country ringtones | free us cellular ringtones | palm treo 600 ringtones
65.110.43.* 于 2006-12-22 03:12:50发表:
Nice site!
ctu ringtone ctu ringtone | 24 ctu ringtone nokia | ringtone jukebox | free polyphonic ringtones motorola | free mp3 ringtone downloads | free ringtones for cingular | download free ringtone nokia | harry potter ringtones | free alltel ringtones | mobile phone ringtones