This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git log --pretty=format:"%h %s |%ad| by %cn" --date=short --reverse --branches --since=30-10-2014 --author=ryanicle |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
layout: post | |
title: "How to setup Rails app with puma and NGINX" | |
date: 2013-03-16 17:51 | |
comments: true | |
categories: | |
tags: nginx, capistrano, deployment, rails, ruby, puma | |
author: "Trung Lê" | |
--- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
memcached start -d -l 127.0.0.1 -m 5 -P $PWD/memcached.pid -p XXXXX |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# git clone https://github.com/nicolasff/phpredis.git | |
# cd phpredis | |
# phpize | |
# make | |
# make install | |
# vi /etc/php.d/redis.ini | |
# extension=redis.so |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1.CentOS 6.3 | |
#yum install make gcc | |
#cd /opt | |
$wget http://redis.googlecode.com/files/redis-2.x.xx.tar.gz | |
$tar zxf redis-2.x.xx.tar.gz | |
$cd redis-2.x.xx | |
$make | |
$make install | |
////// |