上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 31 下一页
摘要: git config --global user.name "jack"git config --global user.email "jackluo@xxx.com"Create a new repositorymkdir fromai_cncd fromai_cngit inittouch RE... 阅读全文
posted @ 2014-12-11 11:19 jackluo 阅读(15274) 评论(0) 推荐(0) 编辑
摘要: master = array(); $this->slave = array(); } /** * master */ public function setMasterTable($host,$user,$pwd,$dbname){ ... 阅读全文
posted @ 2014-12-04 16:49 jackluo 阅读(554) 评论(0) 推荐(0) 编辑
摘要: 我的服务器是500G。最重要的是/var分区一定要大(不论postfix邮件,还是LAMP的WEB 服务器等)。最好是400G以上。具体的/boot 只要100M就足够了。下面是我的分区方案:硬盘500G服务器分区的方案:分区类型 分区的实际大小/ 1G-2G (最少要150–250MB)/boot... 阅读全文
posted @ 2014-12-02 16:20 jackluo 阅读(1718) 评论(0) 推荐(1) 编辑
摘要: $my_curl = curl_init(); //初始化一个curl对象curl_setopt($my_curl, CURLOPT_URL, "http://www.webjoy.net"); //设置你需要抓取的URLcurl_setopt($my_curl,CURLOPT_RETURN... 阅读全文
posted @ 2014-12-01 10:21 jackluo 阅读(5292) 评论(0) 推荐(0) 编辑
摘要: unzip -x libfastcommon-master.zip./make.sh ./make.sh install /usr/include/fastcommoncd FastDFS./make.sh ./make.sh installfile /usr/local/bin/fdfs_trac... 阅读全文
posted @ 2014-11-24 16:18 jackluo 阅读(4585) 评论(0) 推荐(0) 编辑
摘要: //设置帐号和帐号名 curl_setopt($ch, CURLOPT_USERPWD, 'joe:secret' ); function upload_file($url,$filename,$path,$type){ $data = array( 'pic'=>new CURLFile(real 阅读全文
posted @ 2014-11-21 16:33 jackluo 阅读(48611) 评论(0) 推荐(0) 编辑
摘要: 最近公司做了一𠆤分布式,便于管理安装了server: 192.168.2.29client: 192.168.2.230先来配置client安装就不介绍了[root@ser-tracker-230 rsync]# lltotal 16drwxr-xr-x. 2 root root 4096 Nov... 阅读全文
posted @ 2014-11-14 14:42 jackluo 阅读(947) 评论(0) 推荐(0) 编辑
摘要: 1 .1 LvsLVS是Linux Virtual Server的简写,意即Linux虚拟服务器,是一个虚拟的服务器集群系统。本项目在1998年5月由章文嵩博士成立,是中国国内最早出现的自由软件项目之一。目前有三种IP负载均衡技术(VS/NAT、VS/TUN和VS/DR)本文主要介绍DR模式运用1 ... 阅读全文
posted @ 2014-09-26 17:57 jackluo 阅读(1194) 评论(0) 推荐(0) 编辑
摘要: vip.sh#!/bin/bashifconfig eth0:0 192.168.2.240 broadcast 192.168.2.240 netmask 255.255.255.255 uproute add -host 192.168.2.240 dev eth0:0ipvsadm -Cipv... 阅读全文
posted @ 2014-09-25 17:18 jackluo 阅读(1123) 评论(0) 推荐(0) 编辑
摘要: 转:http://blog.nosqlfan.com/html/3033.htmlNoSQL带给我们的东西很多,高性能,水平扩展性,还有不一样的思维方式。本文来自@hoterran的个人博客运维与开发,作者列举了几种常用的应用场景,分别描述了其关系型数据库和Redis下的不同存储设计方法。值得参考。... 阅读全文
posted @ 2014-08-20 11:31 jackluo 阅读(457) 评论(0) 推荐(0) 编辑
上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 31 下一页