标签:界面 table home 变量 web public user code gem
/etc/apt/sources.list
文件vi /etc/apt/sources.list
deb http://www.rabbitmq.com/debian/ testing main
rabbitmq
的公钥为可信wget https://www.rabbitmq.com/rabbitmq-signing-key-public.asc
sudo apt-key add rabbitmq-signing-key-public.asc
rabbitmq
apt-get update
sudo apt-get install rabbitmq-server
cd /usr/lib/rabbitmq/bin/
service rabbitmq-server stop
rabbitmqctl
和rabbitmq-plugins
让其他用户可以使用rabbitmq
的命令RABBITMQ_USE_LONGNAME=${RABBITMQ_USE_LONGNAME} \ HOME=/var/lib/rabbitmq exec ${ERL_DIR}erl -pa "${RABBITMQ_HOME}/ebin" \
host->vi /etc/hosts
,新增:127.0.0.1 hostname
rabbitmq
目录加入环境变量vi /etc/profile
,新增/usr/lib/rabbitmq/bin
rabbitmqctl add_user admin 123456
rabbitmqctl set_user_tags admin administrator
rabbitmq-plugins enable rabbitmq_management
service rabbitmq-server restart
标签:界面 table home 变量 web public user code gem
原文地址:http://www.cnblogs.com/limich/p/7499984.html