coffee_cn

博客园 首页 新随笔 联系 订阅 管理

2014年6月28日 #

摘要: 1、apache + mysql 直接利用 yum 安装yum -y install httpd httpd-devel mysql mysql-server httpd-manual mod_perl mod_auth_mysql mysql-connector-odbc mysql-devel ... 阅读全文
posted @ 2014-06-28 16:01 coffee 阅读(491) 评论(0) 推荐(0) 编辑

2014年6月26日 #

摘要: array( 'method' => 'POST', 'header' => $header, 'content' => $content ) ); $context = stream_... 阅读全文
posted @ 2014-06-26 16:43 coffee 阅读(475) 评论(0) 推荐(0) 编辑

2014年6月18日 #

摘要: 【需求】web应用需要部署在两台机器,图片目录共用,MySQL共用。【环境】Server: 192.168.168.10Client: 192.168.168.20【配置步骤】1、在两台机器上安装nfs#yum install nfs-utils rpcbind2、在Server机器上执行如下命令#... 阅读全文
posted @ 2014-06-18 14:14 coffee 阅读(165) 评论(0) 推荐(0) 编辑

2014年5月12日 #

摘要: http://wiki.centos.org/HowTos/Chroot_Vsftpd_with_non-system_usersyum install -y vsftpd db4-utilsvsftpd_virtual_config.shvsftpd_virtualuser_add.shvsftp... 阅读全文
posted @ 2014-05-12 16:04 coffee 阅读(239) 评论(0) 推荐(0) 编辑

2013年12月25日 #

摘要: touchmovetouchmove 阅读全文
posted @ 2013-12-25 17:03 coffee 阅读(271) 评论(0) 推荐(0) 编辑

摘要: 横滚|竖滚 tab111111 tab222222 tab333333 1111111111111111111111111111 1111111111111111111111111111 1111111111111111111111111111 1111111111111111111111111111 1111111111111111111111111111 1111111111111111111111111111 111111111111... 阅读全文
posted @ 2013-12-25 14:53 coffee 阅读(637) 评论(0) 推荐(0) 编辑

2013年12月24日 #

摘要: 1. 安装apache\php\mysql=======================================yum -y install httpd php mysql mysql-server php-mysql httpd-manual mod_ssl mod_perl mod_auth_mysql php-mcrypt php-gd php-xml php-mbstring php-ldap php-pear php-xmlrpc mysql-connector-odbc mysql-devel libdbi-dbd-mysql2. 挂载第二块磁盘/dev/xvdb----- 阅读全文
posted @ 2013-12-24 10:30 coffee 阅读(461) 评论(0) 推荐(0) 编辑

2013年7月18日 #

摘要: VMware ESXi 配置小结---------------------------------------------------------------------------------------------------VMware ESXi, 5.1.0--------------------------------------------------------------------------------------------------- vSwitch0 192.168.168.70 255.255.255.0 192.168.99.1 (注意:修改了vSwitc... 阅读全文
posted @ 2013-07-18 18:15 coffee 阅读(943) 评论(0) 推荐(0) 编辑

2013年3月8日 #

摘要: /etc/httpd/conf/httpd.confListen 7002NameVirtualHost *:7002<VirtualHost *:7002> ServerName 192.168.168.231:7002 ProxyRequests Off <Proxy *> Order deny,allow Allow from all </Proxy> ProxyPass / http://192.168.168.132:8089/ ProxyPassReverse / http://192.168.168.132:8089/</VirtualH 阅读全文
posted @ 2013-03-08 16:51 coffee 阅读(1788) 评论(0) 推荐(0) 编辑

摘要: -- apache 配置<VirtualHost *:80> ServerName www.mydomain.com ProxyRequests Off <Proxy *> Order deny,allow Allow from all </Proxy> ProxyPass / http://192.168.168.132:8089/ ProxyPassReverse / http://192.168.168.132:8089/</VirtualHost>-- 访问 http://www.mydomain.com/ 出现错误信息Service T 阅读全文
posted @ 2013-03-08 16:49 coffee 阅读(5085) 评论(0) 推荐(0) 编辑