This file contains 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
# Install tmux 2.8 on Centos | |
# install deps | |
yum install gcc kernel-devel make ncurses-devel | |
# cd src | |
cd /usr/local/src | |
# DOWNLOAD SOURCES FOR LIBEVENT AND MAKE AND INSTALL | |
curl -LO https://github.com/libevent/libevent/releases/download/release-2.1.8-stable/libevent-2.1.8-stable.tar.gz |
This file contains 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
cd /usr/local/etc | |
vim goaccess.conf | |
uncomment | |
# Apache/NGINX's log formats below. | |
# | |
time-format %H:%M:%S | |
# Apache/NGINX's log formats below. |
This file contains 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
# CentOS 7 | |
# https://www.rabbitmq.com/install-rpm.html | |
#pre-install | |
yum -y install epel-release | |
yum -y update | |
yum -y install erlang | |
#rabbitMQ | |
rpm --import https://www.rabbitmq.com/rabbitmq-release-signing-key.asc |
This file contains 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
#install sshd | |
yum -y install openssh-server | |
chkconfig sshd on | |
service sshd start | |
#install utils | |
yum -y git tar wget curl | |
#install fzf | |
git clone --depth 1 https://github.com/junegunn/fzf.git ~/.fzf |
This file contains 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
#download rpm | |
curl -LO -H "Cookie: oraclelicense=accept-securebackup-cookie" \ | |
"http://download.oracle.com/otn-pub/java/jdk/8u102-b14/jdk-8u102-linux-x64.rpm" | |
#install | |
yum install jdk-8u102-linux-x64.rpm |
This file contains 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
import java.util.Set; | |
import org.springframework.data.redis.connection.RedisConnectionFactory; | |
import org.springframework.data.redis.core.BoundHashOperations; | |
import org.springframework.data.redis.core.BoundSetOperations; | |
import org.springframework.data.redis.core.RedisOperations; | |
import org.springframework.data.redis.core.RedisTemplate; | |
import org.springframework.data.redis.core.StringRedisTemplate; | |
import org.springframework.data.redis.serializer.StringRedisSerializer; | |
import org.springframework.messaging.simp.user.UserSessionRegistry; |
This file contains 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
#prepare python env | |
wget https://bootstrap.pypa.io/ez_setup.py -O - | sudo python | |
#fontforge | |
yum install fontforge | |
#clone repo | |
git clone https://github.com/powerline/fontpatcher.git | |
#run |
(원문 http://www.sailmaker.co.uk/blog/2013/05/05/migrating-from-svn-to-git-preserving-branches-and-tags-3/ )
git svn
을 사용해서 SVN에서 브랜치와 태그를 보존하면서 Git으로 전환하는 것을 설명한다.
$ mkdir staging