2016年5月2日
摘要: 为eth0 配置网络 1 vi /etc/network/intefaces 添加以下内容 1 auto eth0 2 iface eth0 inet static 3 address 192.168.0.10 4 netmask 255.255.255.0 5 gateway 192.168.0. 阅读全文
posted @ 2016-05-02 10:25 zeopean 阅读(469) 评论(0) 推荐(0)
摘要: 下载安装包 1 curl -sS https://getcomposer.org/installer | php 把 composer 把复制到 /usr/bin/composer 1 mv composer.phar /usr/bin/composer composer 运行,ok caompos 阅读全文
posted @ 2016-05-02 10:23 zeopean 阅读(200) 评论(0) 推荐(0)
摘要: 最近使用了laravel5 的 缓存,做些记录,若有错误,还望指正 设置缓存 1 #put 方式 2 Cache::put('key', 'value', $minutes); 3 4 # 设置文件缓存 5 Cache::store('file')->get('foo'); 6 7 #使用redis 阅读全文
posted @ 2016-05-02 10:21 zeopean 阅读(13836) 评论(0) 推荐(0)
摘要: 环境配置 设置global user.email git config --global user.email "email@.." 设置global user.name git config --global user.name "your-name" 常规操作 克隆github地址 git cl 阅读全文
posted @ 2016-05-02 10:09 zeopean 阅读(160) 评论(0) 推荐(0)
摘要: 今天尝试安装了 rabbitmq ,用作php 的消息队列,下面是具体的步骤 首先呢,需要在github 下载这个包,我这里用的是 v0.5.2 版本的 rabbitmq v0.5.2 接下来,通过 使用 .sh脚本,进行安装 1 #切换目录到 rabbittmq-c ,更改文件属性 2 chmod 阅读全文
posted @ 2016-05-02 10:06 zeopean 阅读(883) 评论(0) 推荐(0)