这篇文章主要做一下PHP以fpm的方式连接httpd来工作的实验。php的fpm模式,简单点说就是php可以作为一台独立的服务器来提供服务,而不是像上一篇文章一样以httpd程序模块的方式工作。这次我将把每个服务单独安装在一台服务器上来工作。一、拓扑图:图片遮挡了,mysql(10.0.0.10..
分类:
Web程序 时间:
2014-07-20 00:37:51
阅读次数:
406
首先建立站点,httpd或nginx都可,我的站点根目录指向“/var/www/centos/”然后下载源,并同步源rsync-avrtrsync://mirrors.ustc.edu.cn/centos/6.5/updates/x86_64//opt/centos/other/updates/rsync-avrtrsync://mirrors.ustc.edu.cn/centos/6.5/extras/x86_64//opt/centos/ot..
分类:
其他好文 时间:
2014-07-19 02:23:45
阅读次数:
162
设置Wordpress的Pretty Permalink的关键点莫过于下面几点(本文是基于Apache httpd服务器)。1、Apache httpd要有rewrite module在httpd服务器的httpd.conf配置文件中把"LoadModule rewrite_module modul...
分类:
其他好文 时间:
2014-07-18 17:18:30
阅读次数:
302
安装LAMPyum-yinstallhttpdphpphp-mysqlmysqlmysql-serverperl-DBD-MySQLphp-pdonet-snmpnet-snmp-libsnet-snmp-utilsnet-snmp-develrubyphp-snmpruby-develrrdtool-rubyrrdtool-perlvim/etc/httpd/conf/httpd.conf找到DirectoryIndex所在的位置,添加一行DirectoryIndexindex.p..
分类:
其他好文 时间:
2014-07-18 13:24:33
阅读次数:
590
1.关闭selinux[root@localhost~]#setenforce02.安装FedoraEPEL[root@localhost~]#yuminstall-yhttp://ftp.riken.jp/Linux/fedora/epel/6/x86_64/epel-release-6-8.noarch.rpm3.安装docker[root@localhost~]#yuminstall-ydocker-io[root@localhost~]#yuminstall-ydocker4.下载官..
分类:
其他好文 时间:
2014-07-18 13:22:38
阅读次数:
232
1.yum install mysql-server mysql //安装Mysql服务端和客户端2.yum install httpd // 安装Apache3.yum install php // 安装PHP4.chkconfig mysqld on // 设置mysql开机启动5.chkco....
分类:
其他好文 时间:
2014-07-17 23:28:44
阅读次数:
241
新发布的CentOS7中使用systemd服务代替了之前版本的SysV服务,对比下两种启动方式的不同。修改系统启动级别旧版编辑配置文件/etc/inittab,设置启动级别为3(多用户文字界面),修改initdefault前面的数字为3,保存重启新版修改默认启动级别为3systemctlenablemulti-user.target..
分类:
其他好文 时间:
2014-07-17 21:05:41
阅读次数:
346
Apache服务器自定义404错误页面有两种方法:
第一种方法最简单,直接在Apache的httpd.conf下进行配置修改命令,修改的内容请参看.htaccess命令写法中的自定义错误页面
第二种方法可以在.htaccess文件中配置命令,具体操作请参看.htaccess命令写法中的自定义错误页面...
分类:
数据库 时间:
2014-07-17 17:11:07
阅读次数:
300
POCO是什么?
看官网说明:
Modern, powerful open source C++ class libraries and frameworks for building network- and internet-based applications that run on desktop, server, mobile and embedded systems.
...
分类:
其他好文 时间:
2014-07-17 16:13:45
阅读次数:
352
本文主要介绍了LAMP的安装。Linux+Apache+Mysql/MariaDB+Perl/PHP/Python一组常用来搭建动态网站或者服务器的开源软件,本身都是各自独立的程序,但是因为常被放在一起使用,拥有了越来越高的兼容度,共同组成了一个强大的Web应用程序平台本文所用环境和安装包为CentOS6.5+http..
分类:
系统相关 时间:
2014-07-17 15:14:01
阅读次数:
438