仓酷云

 找回密码
 立即注册
搜索
热搜: 活动 交友 discuz
查看: 752|回复: 8
打印 上一主题 下一主题

[CentOS(社区)] 给大家带来centos下nginx+postgresql+php+memcached+apc

[复制链接]
小女巫 该用户已被删除
跳转到指定楼层
楼主
发表于 2015-1-14 20:25:07 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有帐号?立即注册

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
透明 该用户已被删除
沙发
发表于 2015-1-16 17:58:08 | 只看该作者

给大家带来centos下nginx+postgresql+php+memcached+apc

下面看看一个让人无法回答的问题:“救命各位高手,向你们请教一些问题:如何在Linux下配制HTTP、FTP、Samba、DNS、DHCP、Sendmail服务器,谢谢”这样的问题。
莫相离 该用户已被删除
板凳
发表于 2015-1-21 11:09:08 | 只看该作者
这种补充有助于他人在邮件列表/新闻组/论坛中搜索对你有过帮助的完整解决方案,这可能对他们也很有用。
金色的骷髅 该用户已被删除
地板
发表于 2015-1-30 16:39:22 | 只看该作者
把这个问题放在其他Linux社区请求帮助也是一种选择。如果Linux得不到答案,请不要以为我们觉得无法帮助你。有时只是看到你问题的人不知道答案罢了。这时换一个社区是不错的选择。
山那边是海 该用户已被删除
5#
发表于 2015-2-6 14:31:10 | 只看该作者
安装一个新的软件时先看README,再看INSTALL然后看FAQ,最后才动手安装,这样遇到问题就知道为什么。如果Linux说明文档不看,结果出了问题再去论坛来找答案反而浪费时间。
小魔女 该用户已被删除
6#
发表于 2015-2-16 19:51:07 | 只看该作者
期间我阅读了不少关于Linux的相关资料,其中也不乏一些有趣的小故事,这既丰富了我的课余生活,也让我加深了对一些术语的理解,比玩游戏强多了。?
7#
发表于 2015-3-5 09:43:41 | 只看该作者
下面看看一个让人无法回答的问题:“救命各位高手,向你们请教一些问题:如何在Linux下配制HTTP、FTP、Samba、DNS、DHCP、Sendmail服务器,谢谢”这样的问题。
海妖 该用户已被删除
8#
发表于 2015-3-12 05:05:20 | 只看该作者
对Linux命令熟悉后,你可以开始搭建一个小的Linux网络,这是最好的实践方法。Linux是网络的代名词,Linux网络服务功能非常强大,不论是邮件服务器、Web服务器、DNS服务器等都非常完善。
灵魂腐蚀 该用户已被删除
9#
发表于 2015-3-19 20:36:57 | 只看该作者
我想即使Linux高手也很难快速准确精练的回答你。
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|Archiver|手机版|仓酷云 鄂ICP备14007578号-2

GMT+8, 2024-5-21 18:53

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表