-
需要3个文件
otp_src_17.3.tar.gz simplejson-3.6.4.tar.gz rabbitmq-server-generic-unix-3.3.5.tar.gz
-
安装erlang
tar -zxvf otp_src_17.3.tar.gz
cd otp_src_17.3/
-
./configure
备注: 1.[无碍] configure: WARNING: wxWidgets must be installed on your system. Please check that wx-config is in path, the directory where wxWidgets libraries are installed (returned by 'wx-config --libs' or 'wx-config --static --libs' command) is in LD_LIBRARY_PATH or equivalent variable and wxWidgets version is 2.8.4 or above. 2.configure: error: No curses library functions found configure: error: /bin/bash '/opt/software/otp_src_17.3/erts/configure' failed for erts 解决:apt-cache search ncurses apt-get install libncurses5-dev
make
make install
-
安装simplejson
tar -zxvf simplejson-3.6.4.tar.gz
cd simplejson-3.6.4
python setup.py install
-
安装rabbitmq-server
tar -zxvf rabbitmq-server-generic-unix-3.3.5.tar.gz
cd rabbitmq_server-3.3.5/etc/rabbitmq
touch rabbitmq.config
-
vim rabbitmq.config
添加内容: [{rabbit, [{loopback_users, []}]}].
-
启动:
cd rabbitmq_server-3.3.5/sbin
-
启用监控台web:
./rabbitmq-plugins enable rabbitmq_management
-
启动
./rabbitmq-server
-
外网访问:
http://sunhao-java.vicp.cc:15672
-
制作开机启动
vim /etc/rc.local
-
最后exit 0之前加上:
#start rabbitMq /opt/rabbitmq_server-3.3.5/sbin/rabbitmq-server -detached > /opt/logs/rabbitmq.log
**粗体** _斜体_ [链接](http://example.com) `代码` - 列表 > 引用
。你还可以使用@
来通知其他用户。