2015年3月18日
摘要:
###环境#####[Requirements](https://gitlab.com/gitlab-org/gitlab-ce/tree/master/)| 软件 | 版本 || -- | -- || CentOS | 6.6 || Python | 2.6 || Ruby | 2.1.5 || ...
阅读全文
posted @ 2015-03-18 04:02
TroyZ
阅读(455)
推荐(0)
2015年2月10日
摘要:
[TOC]###简介使用mysql2redis可以非常便捷的将mysql中的数据导出到redis中去, 通常是需要一个select语句即可实现。###软件安装```// 安装apr + apr-util$ wget http://mirror.bit.edu.cn/apache//apr/apr-1...
阅读全文
posted @ 2015-02-10 19:42
TroyZ
阅读(1450)
推荐(0)
摘要:
[TOC]###数据存储假设我们在MySQL数据库中有这样一张表:```mysql> desc user_info;```| Field | Type | Null | Key | Default | Extra ||-------|--------------|-...
阅读全文
posted @ 2015-02-10 17:14
TroyZ
阅读(4436)
推荐(0)
2015年2月9日
摘要:
[TOC]###1, 环境> CentOS, MySQL, Redis, Nodejs###2, [Redis](http://redis.io/)简介Redis是一个开源的K-V内存数据库,它的key可以是string/set/hash/list/...,因为是基于内存的,所在访问速度相当快。##...
阅读全文
posted @ 2015-02-09 01:35
TroyZ
阅读(4454)
推荐(0)
2015年2月7日
摘要:
> 我的另一篇文章: [Nginx/Apache图片缩略图技术](http://www.cnblogs.com/java-koma/p/4179858.html)> > [gm官网](http://aheckmann.github.io/gm)###1, 软件环境> nodejs> npm> Gra...
阅读全文
posted @ 2015-02-07 13:38
TroyZ
阅读(5513)
推荐(0)
2015年2月6日
摘要:
###1,环境> VMWare10, CentOS6.3###2,LVS DR网络规划> 所有机器都只需要一张网卡,给Director的eth0...
阅读全文
posted @ 2015-02-06 22:36
TroyZ
阅读(365)
推荐(0)
2015年2月5日
摘要:
###1,环境> VMWare10, CentOS6.3###2,LVS NAT网络规划可以看到Director机器有2个IP,也就是说需要2...
阅读全文
posted @ 2015-02-05 19:04
TroyZ
阅读(331)
推荐(0)
摘要:
### 1,简介LVS是Linux Virtual Server的简写,意即Linux虚拟服务器,是一个虚拟的服务器集群系统。本项目在1998年5月由章文嵩博士成立,是中国国内最早出现的自由软件项目之一。Linux2.6后ipvs已经成为了Linux内核的一部分。###2,LVS工作原理> #####在应用端处理> > 1...
阅读全文
posted @ 2015-02-05 15:35
TroyZ
阅读(208)
推荐(0)