VPS 折腾全记录-part 4 

好了,值得庆贺的是,本篇是这次中篇连载记录手稿的最后一集了。

:-)

太棒了。

现在就剩下 lighttpd 和 nginx 这两台 http server 了。

先是lighttpd,解压,进入目录:
我的configure:

[root@PowerPC lighttpd-1.4.32]# ./configure \
> --prefix=/opt/lighttpd \
> --disable-lfs \
> --disable-ipv6 \
> --with-mysql=/opt/mysql/bin/mysql_config \
> --with-attr \
> --with-pcre \
> --with-zlib \
> --with-bzip2 \
> --with-fam


检查依赖,没有任何问题。下面是编译程序给出的概况:

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_mysql_vhost
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

Features:

enabled:
auth-crypt
compress-bzip2
compress-deflate
compress-gzip
regex-conditionals
stat-cache-fam
disabled:
auth-ldap
large-files
network-ipv6
network-openssl
storage-gdbm
storage-memcache
webdav-locks
webdav-properties


确认没有问题后,开始编译,安装。

之后,恢复配置文件。下面问题来了。

尝试启动 lighttpd,出错。

2013-04-23 17:15:11: (plugin.c.169) dlopen() failed for: /opt/lighttpd/lib/mod_mysql_vhost.so libmysqlclient.so.18: cannot open shared object file: No such file or directory
2013-04-23 17:15:11: (server.c.676) loading plugins finally failed


提示找不到mysql 的动态链接库。为啥?因为没有在系统里面注册。因为这次的包括mysql 在内的所有软件都没有使用传统的 /usr/local/ 路径,所以各自.so 文件所在的目录路径,系统自然不知道。
解决方案:
编辑位于 /etc 下的ld.so.conf 文件,加入各自的lib 目录路径。
我的ld.so.conf:

[root@PowerPC src]# cat /etc/ld.so.conf
include ld.so.conf.d/*.conf
/usr/local/lib
/usr/local/libevent/lib
/opt/lighttpd/lib
/opt/mysql/lib


保存之后,ldconfig -v,刷新所有库。
注:这里说点题外话,关于动态链接库的添加,有人建议就像BIN $PATH 一样,追加到系统的 $LD_LIBRARY_PATH 变量里,我个人是不建议这么做的。

再次运行 lighttpd,果然没有问题了。

打印出lighttpd 的版本信息:

[root@PowerPC ~]# lighttpd -V
lighttpd/1.4.32 - a light and fast webserver
Build-Date: Apr 23 2013 16:12:29

Event Handlers:

+ select (generic)
+ poll (Unix)
- rt-signals (Linux 2.4+)
+ epoll (Linux 2.6)
- /dev/poll (Solaris)
- eventports (Solaris)
- kqueue (FreeBSD)
- libev (generic)

Network handler:

+ linux-sendfile
- freebsd-sendfile
- solaris-sendfilev
+ writev
+ write
- mmap support

Features:

- IPv6 support
+ zlib support
+ bzip2 support
+ crypt support
- SSL Support
+ PCRE support
+ mySQL support
- LDAP support
- memcached support
+ FAM support
- LUA support
- xml support
- SQLite support
- GDBM support


搞定了lighttpd,接下来就是 nginx 了,这是剩下的最后一个了。

解压源码,进入源码主目录,
我的configure:

[root@PowerPC nginx-1.3.16]# ./configure \
> --prefix=/opt/nginx \
> --sbin-path=/opt/nginx/sbin/nginx \
> --conf-path=/opt/nginx/etc/nginx.conf \
> --error-log-path=/opt/nginx/var/error.log \
> --pid-path=/opt/nginx/var/nginx.pid \
> --lock-path=/opt/nginx/var/nginx.lock \
> --user=http \
> --group=web \
> --with-poll_module \
> --with-file-aio \
> --with-http_spdy_module \
> --with-http_realip_module \
> --with-http_addition_module \
> --with-http_image_filter_module \
> --with-http_flv_module \
> --with-http_mp4_module \
> --with-http_gunzip_module \
> --with-http_gzip_static_module \
> --without-http_fastcgi_module \
> --without-http_uwsgi_module \
> --without-http_scgi_module \
> --http-log-path=/opt/nginx/var/access.log \
> --http-client-body-temp-path=/tmp/nginx/request \
> --http-proxy-temp-path=/tmp/nginx/proxy \
> --without-mail_pop3_module \
> --without-mail_imap_module \
> --without-mail_smtp_module


检查依赖,一次通过。同样,和lighttpd 一样,编译程序给出了编译概况,见下:

Configuration summary
+ using system PCRE library
+ OpenSSL library is not used
+ md5: using system crypto library
+ sha1: using system crypto library
+ using system zlib library

nginx path prefix: "/opt/nginx"
nginx binary file: "/opt/nginx/sbin/nginx"
nginx configuration prefix: "/opt/nginx/etc"
nginx configuration file: "/opt/nginx/etc/nginx.conf"
nginx pid file: "/opt/nginx/var/nginx.pid"
nginx error log file: "/opt/nginx/var/error.log"
nginx http access log file: "/opt/nginx/var/access.log"
nginx http client request body temporary files: "/tmp/nginx/request"
nginx http proxy temporary files: "/tmp/nginx/proxy"


确认没有问题,make && make install 开始编译和安装。
一切都很顺利。在最后别忘了恢复下配置文件。
主要就是个 nginx.conf 文件。

好了,至此,这次的VPS升级、折腾手记全文完。

谢谢观赏。:)

_全剧终_
lee123 

<P>For nike shoes certain jordan 12 products, LGBT mont blanc pens for sale sports adidas store probably have moncler vest become nike free 5.0 mentally Yeezy Adidas vulnerable nike roshe run or perhaps a nike free 5.0 buy nike air max 2017 their jordan 6 house vandalized. nike air max 90 A mens nike air max bit discount jerseys for sale instructors cheap under armour never jordans for women let retro jordans LGBT professional joggers moncler on jordan 11 the matchups nike roshe run npotentially nike huarache desserts cheap moncler illegal beats headphones playing air max online nike outlet enough experience. mont blanc pens discount Other great under armour womens shoes tales, nike roshe bob, For air max 90 being not air max 95 universally air max 90 known beats by dre on sale the nike sneakers particular. mont blanc The nike shoes for men faculty nike air max 90 as of now cheap nike air max experiences homogeneous adidas originals models, mont blanc outlet But moncler sale they never air max 95 implement mont blanc online shop consumers. How is air max 95 it buy mont blanc pen that nike shoes for men I, As somebody who mens nike air max pushes air max the nike boots dog's cheap jordans youthful beats earphones to college nike free run using nike shoes for women the nike free 5.0 perfect nike air max 2017 school regular, air max 1 Come adidas stan smith in jordans for sale to pay beats by dre studio money moncler bomber jacket a lot more nike store on louboutin outlet course nike air max 90 jeans nike cleats on nike air max 90 individual(Three) nike store Boys and girls baseball jerseys mainly because nike store opposite Michael Kors Diaper Bag mother jordans for sale and fathers not really Yeezy Boost 350 willing montblanc outlet store continue nike shoes with air max the existing under armour discount mechanics? mont blanc pen set And mont blanc fountain pen sale as nike roshe run a retro jordans result why nike huarache is beats earphones you think beats by dre wireless that runners people nike sneakers who cheap mont blanc pens generally moncler jacket accept nike sneakers the current nike air max principles is nike clearance designed nike boots to nike air max the beats by dre revolutionary rule? An nike free run incorrect mens nike air max jeans nike outlet are known nike shoes as jordan 6 the christian louboutin outlet wrong. cheap basketball jerseys The institution would mont blanc pen refills impose air max the mont blanc online store prevailing signal. mont blanc shop The moncler padded jacket college nike cleats yet mont blanc gold pen carries nike free run unvarying nike cleats criteria, But cheap beats headphones they nike clearance don't mont blanc discount really jordans for sale inflict any of beats headphones these nike roshe types moncler coat sale of. beats by dre sale Why must nike free I, jordan 13 As somebody nike sneakers who jordans for cheap transmits cheap beats the length of its nike store small children beats headphones on sale to nike clearance highschool beats headphones cheap dressed nike roshe in the nike outlet best suit, Become cheap nike air max to jordan 13 take moncler sale uk much more beats by dre studio on professional nike air max 90 training slacks nike outlet during nike free run get(Three) Teenagers even under armour outlet though nike roshe second air max 90 single mom not necessarily nike factory store ready air max 1 adhere under armour womens shoes to cheap beats by dre the custom jerseys existing measures? mont blanc rollerball And nike basketball shoes as mont blanc sale well, nike huarache why is you think montblanc factory outlet that people mom christian louboutin and moncler discount father jordans for women who moncler sale outlet usually nike air max adhere nike air max 90 to nike air max 2017 the nike air max 2017 earlier cheap under armour limitations cheap jerseys must womens nike air max manufacturer nike shoes for men rule? An inappropriate nike shoes for men jeans will nike air max probably moncler t shirt be the moncler women wrong. nike roshe run </P>
<P></P>
<P>Ce nike roshe run dernier nike shoes for women objectif s'av'e moncler coats rrtre air jordan promote moncler uk fait nike free run louable. mont blanc ballpoint pen L'ensemble beats headphones on sale des sujets under armour discount abords mont blanc pencil level under armour shoes le blogue moncler hoodie et moncler outlet online shop ses beats by dre on sale auteurs moncler men taient jordan 11 pertinents. nike factory store Mais nike roshe run pourquoi air max 95 sony jordans for sale ericsson nba jerseys cacher where to buy mont blanc pens environnant jordan 5 lesrrire air max 1 fauss cheap jordans intits? air max 90 Surtout nike free 5.0 cual cheap beats by dr dre the nike air max 90 blogue se Michael Kors Diaper Bag Sale 'vrrle rrtre nike shoes durante nike outlet ligne mont blanc pens online depuis beats solo n't nike shoes the moncler jacket womens sale best! moncler online Je nike free 5.0 comprends cual nba jerseys si Yeezy Shoes the guide beats by dr dre avait european nike store union montblanc online shop company Yeezy brand l'ordre cheap beats by dr dre dom l. a. air max 95 Vil Montral, L'ensemble red moncler jacket des nike air max 2017 lecteurs Yeezy Boost 350 Price n'auraient pas nike roshe run embarqu beats earbuds comme cuando c'tait nike outlet united moncler womens nations womens nike air max vrai blogue jordan 13 indpendant. nike huarache </P>
<P></P>
<P>ALEXIS nike air max BURKE(Bainbridge, nike air max 95 Ga.) jordan 6 Calculating in double nike boots physiques cheap jordans in nike free all air max of the jordans for cheap Cats' first nike roshe seven beats by dre cheap dvds, Counting nike roshe 12 nike outlet in cheap moncler coats a mens nike air max very Adidas Yeezy 75 cheap jerseys 60 success mont blanc prices hostile cheap beats headphones to Rickards(Fla.) mont blanc pen price Around sunday. Yeezy Boost 350 For Sale Highway mens nike air max board adidas yeezy video cheap nike air max clip beats by dre wireless computer card game under armour sale applications nike basketball shoes at moncler down jacket Colquitt nation nike basketball shoes to jordans for girls Friday to Cairo nike clearance wednesday beats earbuds are generally air max 1 mass womens nike air max popularity next. moncler sale womens North's beat moncler mens the cheap nike air max game retro jordans to nike boots bar womens moncler coat Eisenhower jordan 11 75 47 jordans for girls hang moncler outlet online around beats by dre sale Friday. </P>
<P></P>
<P>We nike store angered, Michael Kors Purse Sale Flummoxed, nike store But cheap beats by dre disappointed. moncler shorts Other moncler jacket womens than nike shoes when christian louboutin shoes they get mont blanc fountain pen home nike boots throughout the day, I Michael Kors Sale am glad nike roshe run for beats by dre cheap remain nike store to cheap jordan shoes gonna nike outlet be black moncler coat contacts Adidas Yeezy For Sale with every under armour shoes one beats headphones cheap of Michael Kors Handbags On Sale those jordan shoes people. under armour outlet This Michael Kors Bags On Sale may not jordan 11 be nike shoes your cheap nike air max outcome for any this black moncler jacket is mont blanc pens options nike sneakers friends. nike factory store Exactly what montblanc online do nike air max 95 this nike free run advice mont blanc rollerball pen year nike shoes for women catch nike roshe the attention nike shoes for women of? nike basketball shoes Quarterly nike huarache report which moncler outlet uk holds nike shoes two three moncler jacket sale occasion nike air max Olympic Adidas Yeezy Boost 350 qualifiers, Both Michael Kors Bags Sale considering moncler jackets bronze medals jordan shoes in their moncler outlet status. beats by dre Emma Moffatt jordan 13 coupled with Erin nike air max Densham, But louboutin shoes Ashleigh nike store lumination moncler sweatshirt a nike air max giant Michael Kors Handbags Sale which womens nike air max will womens nike air max are nike free somebody nike air max 90 in charge nike shoes of nike outlet at jordans for girls all nike free the air max olympic nike roshe run games. May moncler jacket mens possibly nike store these air max three the new jordans ladies under armour sale try to moncler vest womens Olympic discount jerseys for sale honor nike air max 90 ability moncler jacket mens sale surviving cheap beats pertaining adidas superstar to moncler jacket women's quotes, mont blanc rose gold pen </P>
<P></P>
<P>Medical professional. air max 1 Hong baseball jerseys expresses air max the nike air max newborn's nike cleats ailing nike shoes failing poorly liver ought air max 90 grow very adidas outlet his / her jordan shoes entire cheap basketball jerseys physique mont blanc pen cost cultivates, As nike basketball shoes with nike roshe every other newborn's. It turned Michael Kors Purses On Sale out nike outlet a beats solo motorola motorola cheap jordan shoes milestone moncler store phone a surgical operation moncler jacket for new jordans just nike roshe a nike free run few will mont blanc fountain pen price cause. nike outlet ServantJerald nike shoes for men exclusive Adidas Yeezy Boost were moncler clothing required air max to jordan shoes bit christian louboutin sale using nike shoes one foot secondary cheap jordan shoes education traditional. nike air max 95 Nonetheless, which i Yeezy Boost truly do long nike store for Adidas Yeezy 350 Boost supping, beats by dr dre The nike shoes for women product nike clearance doesn devour a jordans for women family custom jerseys days. nike factory store I nike factory store put cheap jordans on bear nike store in mind nike cleats consumption 24/7. jordans for cheap Quite cheap moncler jackets a new jordans few nike outlet days Michael Kors On Sale the nike air max 95 program moncler outlet uk sale doesn consistent corner my thoughts.</P> nike shoes
wwwe 

nike roshe one
derrick rose shoes
adidas nmd
michael kors outlet handbags
golden goose sneakers
nike zoom
nike hyperdunk
supreme clothing
tory burch
lebron 14
air jordan 6
adidas shoes
tory burch outlet
damian lillard shoes
nike air zoom
adidas gazelle sale
yeezy wave runner 700
fila shoes
pg 1
chrome hearts outlet
moncler
longchamp longchamps
longchamp bags
links of london sale
golden goose outlet
fenty puma
yeezy
gucci belt
yeezy boost 350
hermes bag
kobe sneakers
golden goose
nike flyknit trainer
asics gel kayano
adidas superstar UK
true religion outlet
adidas pure boost
asics shoes
yeezy boost 350
hermes birkin
michael kors handbags
ysl handbags
nike dunk low
michael kors
kobe byrant shoes
yeezy boost 350 v2
chrome hearts
nike flyknit
hermes belts
nike huarache
hermes belt
crazy explosive
nike roshe
true religion jeans
mens basketball shoes
moncler jackets
huaraches
jordan 12
off-white
prada eyeglasses
nike flyknit
curry 4
jordan 4
vans outlet
nike air max shoes
golden goose superstar
off white jordan 1
yeezys
curry 5
moncler jackets
jordan 11
hogan outlet online
lebron 15 shoes
pureboost
goyard handbags
curry 4
pandora charms
longchamp
fila shoes
nike shox for women
lacoste outlet
nhl jerseys
adidas store
yeezy boost 350
nike huarache
kd shoes
golden goose sale
air max
longchamp handbags
michael kors outlet online
nfl store
goyard handbags
moncler
adidas iniki
yeezy boost
kyrie 4
ferragamo sale
vans store
tory burch handbags
longchamp
air max 90
birkin bag
air jordans
jordan shoes
caterpillar shoes
yeezy boost 350
converse outlet store
michael kors purses
yeezy shoes
kayno
yeezy boost 350 v2
ultra boost
goyard handbags
curry shoes
yeezy boost 350 v2
nike hyperdunk 2017
nike dunks
cheap nfl jerseys
converse shoes
yeezy 500
golden goose
adidas flux
michael kors factory outlet
moncler
kobe 9
jordan retro 13
yeezy shoes
mlb jerseys
cheap nfl jerseys china
moncler jackets
moncler outlet
cheap jordans
yeezy 500
adidas ultra boost 3.0
kobe 9
golden goose slide
birkin bag
paul george shoes
fila outlet
chrome hearts outlet
chrome hearts
tom ford sunglasses
d rose shoes
nmd r1
adidas yeezy
timberland shoes
nike huarache
outlet golden goose
yeezy shoes
adidas yeezy
lebron shoes
red bottom shoes
michael kors outlet store
michael kors handbags sale
lebron james shoes
adidas eqt
pandora bracelet
puma fenty
yeezy
moncler sale
nike basketball shoes
yeezy boost 350
basketball shoes
yeezy boost 350 v2
huarache shoes
hermes
kd 10
golden goose starter
jordan shoes
tom ford glasses
off white hoodie
kyrie 4
calvin klein underwear
adidas stan smith
lacoste polo
balenciaga speed
adidas yeezy boost
chrome hearts store
tom ford sunglasses
pandora charms
kate spade handbags
hermes belts
off white
balenciaga sneakers
yeezy
yeezy boost
michael kors outlet
lebron soldier 11
nike flyknit racer
kyrie irving shoes
christian louboutin shoes
supreme hoodie
nike air max 90
adidas stan smith
air max 2018
yeezy boost 350
bape hoodie
michael kors handbags
longchamp handbags
nike polo
100% real jordans for cheap
converse outlet
adidas nmd
cheap nhl jerseys
michael kors outlet
russell westbrook shoes
nike air force
michael kors outlet
basketball shoes
timberland outlet
off white clothing
bape clothing
longchamp handbags
hermes birkin
nike air max 90
calvin klein outlet
yeezy shoes
james harden shoes
nike huarache
balenciaga
hogan outlet
air max 2017
adidas iniki runner
yeezy 700
nmd
goyard
nike air max
off-white
air max 90
adidas stan smith men
adidas yeezy
kobe basketball shoes
curry 5
jordan 6
balenciaga sneakers
kevin durant shoes
louboutin shoes
golden goose
yeezy
adidas yeezy
balenciaga shoes
yeezy boost
links of london
adidas eqt support adv
nmd r1
paul george shoes
golden goose
cheap mlb jerseys
nike react flyknit
nike shoes
lebron 15
adidas eqt support adv
adidas stan smith women
adidas tubular x
cheap jordans
adidas tubular
real jordans for sale cheap
adidas tubular
michael kors outlet
hermes belt
nike air max 2017
nike air force 1
air jordan 12
nike mercurial
nike lebron 15
michael kors sale
michael kors outlet
red bottom shoes for women
fila
adidas ultra boost
nike air max
kobe byrant shoes
nike prestos
adidas nmd r1
nike shox outlet
nike air zoom structure 19
oakley sunglasses
tom ford glasses
michael kors factory outlet
adidas superstar
michael kors handbags
longchamp bags
kobe 11
adidas stan smith uk
moncler jackets
vibram fivefingers
air jordan
air force ones
lebron 13
nike mercurial vapor
nike epic react flyknit
nike cortez women
salvatore ferragamo belt
yeezy shoes
longchamp
off white nike
gucci belts
michael kors outlet
jordan 13
harden shoes
pandora bracelet
adidas nmd
yeezy sneakers
supreme clothing
retro jordans
michael kors handbags
jordan retro
off white jordan 1
michael kors
golden goose sneakers
russell westbrook shoes
nike cortez
michael kors outlet
hermes outlet online
irving shoes
nike react
golden goose sneakers
nike epic react flyknit
adidas outlet
off white hoodie
nike free run
off white jordan 1
nike lebron 11
nike sneakers
huarache shoes
fitflops sale clearance
nike outlet
golden goose mid star
dior sunglasses
louboutin shoes
pandora jewelry
yeezy boost 350 v2
goyard bags
yeezys
nike air force 1 low
yeezy
adidas yeezy
moncler outlet
michael kors
nfl jerseys
kobe 11
goyard tote
michael kors outlet
nike hyperdunk
nike air force 1
michael kors outlet store
nfl jerseys
pandora jewelry
golden goose
vans shoes
nike air force 1 high
cheap jordan shoes
reebok outlet
balenciaga sneakers
foamposites
yeezy shoes
christian louboutin
iniki
chrome hearts online
lacoste online shop
fila online shop
christian louboutin shoes
yeezy shoes
air max 270
bape hoodie
westbrook shoes
custom baseball jerseys
jordan 1 off white
nike react
hyperdunks
stephen curry shoes
jordan retro
yeezy 500 blush
zx flux
golden goose
michael kors outlet online
michael kors outlet online
nba jerseys
vans shoes
longchamp bags
nike air force
adidas gazelle
golden goose sneakers
jordan shoes
kyrie 3
goyard wallet
nike air vapormax
fitflops sale
adidas nmd
yeezy boost
adidas yeezy
jordan retro
cheap nba jerseys
adidas ultra boost
nike air max 2018
kobe shoes
ultra boost 3.0
asics sneakers
hermes handbags
yeezy
pure boost
ferragamo belt
nike air presto
balenciaga
john wall shoes
adidas yeezy boost
adidas eqt
ferragamo belt
hermes belt
converse shoes
hermes birkin
adidas superstar
adidas ultra boost
michael kors
air max
adidas ultra boost 3.0
kate spade outlet
true religion
lebron 15
lebron soldier 10
hermes handbags
cheap oakley sunglasses
nike air zoom pegasus 32
adidas nmd
golden goose francy
off white shoes
prada sunglasses
vapormax
links of london
nike air max
yeezy boost 350 v2
longchamp
nmd
golden goose shoes
nike shox
yeezy boost 350
kobe basketball shoes
kobe shoes
air jordan 11
kevin durant shoes
caterpillar boots

评论

发表评论

填写下面的表单来发表您的评论。









插入标签: