会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
jackluo
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
9
10
11
12
13
14
15
16
17
···
31
下一页
2014年12月11日
window下 配置gitlab ssh非端口22端口
摘要: 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
阅读(15321)
评论(0)
推荐(0)
2014年12月4日
PHP 进行数据庫对比工具
摘要: master = array(); $this->slave = array(); } /** * master */ public function setMasterTable($host,$user,$pwd,$dbname){ ...
阅读全文
posted @ 2014-12-04 16:49 jackluo
阅读(567)
评论(0)
推荐(0)
2014年12月2日
CentOS转的服务器磁盘规划
摘要: 我的服务器是500G。最重要的是/var分区一定要大(不论postfix邮件,还是LAMP的WEB 服务器等)。最好是400G以上。具体的/boot 只要100M就足够了。下面是我的分区方案:硬盘500G服务器分区的方案:分区类型 分区的实际大小/ 1G-2G (最少要150–250MB)/boot...
阅读全文
posted @ 2014-12-02 16:20 jackluo
阅读(1739)
评论(0)
推荐(1)
2014年12月1日
PHP 解决nginx 用file_get_content 问题
摘要: $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
阅读(5319)
评论(0)
推荐(0)
2014年11月24日
Cento 安装配置FastFDS
摘要: 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
阅读(4621)
评论(0)
推荐(0)
2014年11月21日
PHP curl 模拟POST 上传文件(含php 5.5后CURLFile)
摘要: //设置帐号和帐号名 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
阅读(48692)
评论(0)
推荐(0)
2014年11月14日
Centos rsync+inotify 实现数据同步备份
摘要: 最近公司做了一𠆤分布式,便于管理安装了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
阅读(955)
评论(0)
推荐(0)
2014年9月26日
LVS + KEEPAlived 配置 DIR模式
摘要: 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
阅读(1202)
评论(0)
推荐(0)
2014年9月25日
LVS DR脚本 解析
摘要: 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
阅读(1126)
评论(0)
推荐(0)
2014年8月20日
Red KV数据 庫设計模式
摘要: 转:http://blog.nosqlfan.com/html/3033.htmlNoSQL带给我们的东西很多,高性能,水平扩展性,还有不一样的思维方式。本文来自@hoterran的个人博客运维与开发,作者列举了几种常用的应用场景,分别描述了其关系型数据库和Redis下的不同存储设计方法。值得参考。...
阅读全文
posted @ 2014-08-20 11:31 jackluo
阅读(476)
评论(0)
推荐(0)
上一页
1
···
9
10
11
12
13
14
15
16
17
···
31
下一页
公告