会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
关注J2EE, Android, IOS, 架构设计, Nginx, Apache, 负载均衡, MySQL, Redis, 大数据, Hadoop, Python, Nodejs
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
···
13
下一页
2015年3月18日
CentOS安装GitLab
摘要: ###环境#####[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
阅读(451)
评论(0)
推荐(0)
编辑
2015年2月10日
MySQL to Redis
摘要: [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
阅读(1443)
评论(0)
推荐(0)
编辑
Redis 存储、查询
摘要: [TOC]###数据存储假设我们在MySQL数据库中有这样一张表:```mysql> desc user_info;```| Field | Type | Null | Key | Default | Extra ||-------|--------------|-...
阅读全文
posted @ 2015-02-10 17:14 TroyZ
阅读(4413)
评论(0)
推荐(0)
编辑
2015年2月9日
Gearman + Nodejs + MySQL UDF异步实现 MySQL 到 Redis 的数据同步
摘要: [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
阅读(4417)
评论(1)
推荐(0)
编辑
2015年2月7日
NodeJs + gm图片缩略图
摘要: > 我的另一篇文章: [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
阅读(5463)
评论(0)
推荐(0)
编辑
2015年2月6日
LVS DR模型
摘要: ###1,环境> VMWare10, CentOS6.3###2,LVS DR网络规划![LVS DR网络图](http://ww4.sinaimg.cn/large/6403b6a7gw1ep00fggxfmj20pn0b53zq.jpg)> 所有机器都只需要一张网卡,给Director的eth0...
阅读全文
posted @ 2015-02-06 22:36 TroyZ
阅读(354)
评论(0)
推荐(0)
编辑
2015年2月5日
LVS NAT模型
摘要: ###1,环境> VMWare10, CentOS6.3###2,LVS NAT网络规划![LVS NAT网络图](http://ww3.sinaimg.cn/large/6403b6a7jw1eoymgazu84j20qt07v3z8.jpg)可以看到Director机器有2个IP,也就是说需要2...
阅读全文
posted @ 2015-02-05 19:04 TroyZ
阅读(325)
评论(0)
推荐(0)
编辑
LVS简介
摘要: ### 1,简介LVS是Linux Virtual Server的简写,意即Linux虚拟服务器,是一个虚拟的服务器集群系统。本项目在1998年5月由章文嵩博士成立,是中国国内最早出现的自由软件项目之一。Linux2.6后ipvs已经成为了Linux内核的一部分。###2,LVS工作原理![LVS工...
阅读全文
posted @ 2015-02-05 19:03 TroyZ
阅读(280)
评论(0)
推荐(0)
编辑
Apache 目录权限
摘要: ### 目录访问权限 ###输入用户名、密码后方可访问home目录下的文件:##### httpd.conf ##### Options -Indexes MultiViews #-Indexes 禁止目录索引 AllowOverri...
阅读全文
posted @ 2015-02-05 15:44 TroyZ
阅读(276)
评论(0)
推荐(0)
编辑
MySQL HA
摘要: ###读写分离![RW Splitting](https://raw.githubusercontent.com/troyz/images/master/mysql/MySQL%20%E8%AF%BB%E5%86%99%E5%88%86%E7%A6%BB.png)> #####在应用端处理> > 1...
阅读全文
posted @ 2015-02-05 15:35 TroyZ
阅读(202)
评论(0)
推荐(0)
编辑
上一页
1
2
3
4
5
6
···
13
下一页