start new:
tmux
start new with session name:
tmux new -s myname
# Modify /etc/yum.repos.d/epel.repo. Under the section marked [epel], change enabled=0 to enabled=1. | |
sudo yum install erlang --enablerepo=epel | |
wget http://www.rabbitmq.com/releases/rabbitmq-server/v3.1.1/rabbitmq-server-3.1.1-1.noarch.rpm | |
sudo rpm -Uvh rabbitmq-server-3.1.1-1.noarch.rpm | |
# Enable managament plugin | |
sudo rabbitmq-plugins enable rabbitmq_management |
#!/usr/bin/env bash | |
apt-get install git -y | |
apt-get install curl -y | |
# install RVM | |
curl -o rvm.sh -L https://get.rvm.io | |
chmod +x rvm.sh | |
./rvm.sh stable | |
source /etc/profile.d/rvm.sh |
[ | |
{rabbit, [ | |
{auth_backends, [rabbit_auth_backend_internal]}, | |
{auth_mechanisms, ['PLAIN','AMQPLAIN']}, | |
{backing_queue_module, rabbit_variable_queue}, | |
{cluster_nodes, []}, | |
{collect_statistics, coarse}, | |
{collect_statistics_interval, 5000}, | |
{default_permissions, [<<".*">>,<<".*">>,<<".*">>]}, | |
{default_user, <<"guest">>}, |
$ sudo npm install -g hexo-cli
$ hexo -v
hexo-cli: 0.1.9