马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
如果您觉得本篇CentOSLinux教程讲得好,请记得点击右边漂浮的分享程序,把好文章分享给你的好朋友们!详细装置步调以下:
详细装置软件包:
[size=1em][size=1em]01nginx1.0.13
[size=1em]02
[size=1em]03wgethttp://nginx.org/download/nginx-1.0.13.tar.gz
[size=1em]04
[size=1em]05postgresql9.1.2
[size=1em]06
[size=1em]07wgethttp://ftp.postgresql.org/pub/source/v9.1.2/postgresql-9.1.2.tar.gz
[size=1em]08
[size=1em]09php5.3.10
[size=1em]10
[size=1em]11wgethttp://cn2.php.net/get/php-5.3.10.tar.gz/from/ar.php.net/mirror
[size=1em]12
[size=1em]13memcache1.4.13
[size=1em]14
[size=1em]15wgethttp://code.谷歌.com/p/memcached/downloads/detail?name=memcached-1.4.13.tar.gz&can=2&q=
[size=1em]16
[size=1em]17memcachedphp插件memcache1.5
[size=1em]18
[size=1em]19wgethttp://pecl.php.net/get/memcache-1.5.tgz
[size=1em]20
[size=1em]21apcphp插件apc3.1.9
[size=1em]22
[size=1em]23wgethttp://pecl.php.net/get/APC-3.1.9.tgz
1.晋级体系包
yumupdate
封闭selinux
2.nginx装置:
装置pcre
yuminstallpcre*
解压编译:
[size=1em][size=1em]1tar–zxvfnginx-1.0.13.tar.gz
[size=1em]2
[size=1em]3cdnginx-1.0.13
[size=1em]4
[size=1em]5./configure--prefix=/usr/local/nginx--with-http_flv_module--with-http_stub_status_module--with-pcre
[size=1em]6
[size=1em]7make&&makeinstall
变动设置文件:
vi/usr/local/nginx/conf/nginx.conf
往失落上面一段的正文:
<divclass="syntaxhighlighter"id="highlighter_943386"style="width:565.28125px;font-size:13px;color:rgb(0,0,0);letter-spacing:1px;margin:1em0px!important;padding:1px!important;border:0px!important;outline:0px!important;float:none!important;vertical-align:baseline!important;position:relative!important;left:auto!important;top:auto!important;right:auto!important;bottom:auto!important;height:auto!important;line-height:1.1em!important;font-family:Consolas,BitstreamVeraSansMono,CourierNew,Courier,monospace!important;min-height:inherit!important;background-image:none!important;background-attachment:initial!important;background-size:initial!important;background-origin:initial!important;background-clip:initial!important;background-position:initial!important;background-repeat:initial!important;"><divclass="lines"style="margin:0px!important;padding:0px!important;border:0px!important;outline:0px!important;float:none!important;vertical-align:baseline!important;position:static!important;left:auto!important;top:auto!important;right:auto!important;bottom:auto!important;height:auto!important;width:auto!important;line-height:1.1em!important;font-size:1em!important;min-height:inherit!important;background:none!important;">[size=1em]01location~.php${
[size=1em]02
[size=1em]03roothtml;
[size=1em]04 |