$ sudo npm install -g hexo-cli
$ hexo -v
hexo-cli: 0.1.9
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
[ | |
{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">>}, |
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
#!/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 |
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
# 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 |