Skip to content

Instantly share code, notes, and snippets.

@htcang
htcang / install-redis-on-centos6.md
Last active May 8, 2016 15:31
Install Redis server on Centos 6 - Add redis service on Centos 6

Redis 3

sudo yum update
sudo yum groupinstall 'Development Tools' -y
sudo yum install wget -y
wget http://download.redis.io/releases/redis-3.2.0.tar.gz
tar -zxf redis-3.2.0.tar.gz
cd redis-3.2.0
sudo make
@htcang
htcang / 1MyClusInstall.md
Last active May 16, 2016 10:54
MySQL Cluster Installation

Machine 1: Management Node + SQL Node

IP: 192.168.0.151

  1. Install prequisition
yum install perl
@htcang
htcang / 0_reuse_code.js
Last active August 29, 2015 14:08
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console