摘要: 安装:http://alfred-long.iteye.com/blog/1684545学习:http://www.cnblogs.com/shanyou/archive/2012/01/28/2330451.html错误集锦:1:Redis server went away:https://github.com/nicolasff/phpredis/issues/196 阅读全文
posted @ 2014-02-11 14:29 一束光 阅读(164) 评论(0) 推荐(0) 编辑
摘要: When developing distributed applications with Yii, naturally, we will face that we have toshare the session in different machine. So here we will use memcache to do it.here is the example to store the session with memcache in Yii, in the main.php file: 'cache'=>array('class'=>& 阅读全文
posted @ 2014-02-11 02:21 一束光 阅读(341) 评论(0) 推荐(0) 编辑
摘要: 一、CentOS 修改IP地址修改对应网卡的IP地址的配置文件 # vi /etc/sysconfig/network-scripts/ifcfg-eth0修改以下内容DEVICE=eth0 #描述网卡对应的设备别名,例如ifcfg-eth0的文件中它为eth0BOOTPROTO=static #设置网卡获得ip地址的方式,可能的选项为static,dhcp或bootp,分别对应静态指定的 ip地址,通过dhcp协议获得的ip地址,通过bootp协议获得的ip地址BROADCAST=192.168.0.255 #对应的子网广播地址HWADDR=00:07:E9:05:E8:B4 #对应的网卡物 阅读全文
posted @ 2014-02-11 00:56 一束光 阅读(524) 评论(0) 推荐(0) 编辑
摘要: 虚拟机的几种网络方式详解: http://wenku.baidu.com/link?url=OEdQdgYp-q8YftNxgTNg3AJNH0dKNfAlqHxhasr6xdjhj3t97gDhj2UTwrJO3H8rPmoFDuVnjHfixpHMdBn87FP8Lz494OjmI7L5pDfEksq 阅读全文
posted @ 2014-02-11 00:35 一束光 阅读(283) 评论(0) 推荐(0) 编辑

友情链接

CFC4N