linux git rabit,Linux 安装 RabbitMQ
0、切到 root用户sudo su1 system inityum -y install ncurses ncurses-base ncurses-devel ncurses-libs ncurses-static ncurses-term ocaml-curses ocaml-curses-develyum -y install openssl-devel zlib-develyum -y i
0、切到 root用户
sudo su
1 system init
yum -y install ncurses ncurses-base ncurses-devel ncurses-libs ncurses-static ncurses-term ocaml-curses ocaml-curses-devel
yum -y install openssl-devel zlib-devel
yum -y install make ncurses-devel gcc gcc-c++ unixODBC unixODBC-devel openssl openssl-devel
2 erlang install
wget http://erlang.org/download/otp_src_20.0.tar.gz
tar -zxvf otp_src_20.0.tar.gz
cd otp_src_20.0
./configure --prefix=/usr/local/erlang --with-ssl -enable-threads -enable-smmp-support -enable-kernel-poll --enable-hipe --without-javac
make -j4 && make install
vim /etc/profile
ERLANG_HOME=/usr/local/erlang
PATH=$ERLANG_HOME/bin:$PATH
export ERLANG_HOME
export PATH
source /etc/profile
2 rabbitMQ install
yum -y install xz xmlto python-simplejson
xz -d rabbitmq-server-generic-unix-3.6.10.tar.xz
tar xvf rabbitmq-server-generic-unix-3.6.10.tar
mv rabbitmq_server-3.6.10 /usr/local/rabbitmq
3
cd /usr/local/rabbitmq/sbin
./rabbitmq-server -detached &
./rabbitmq-plugins enable rabbitmq_management
./rabbitmqctl list_users
./rabbitmqctl add_user admin iqianjin@123
./rabbitmqctl set_user_tags admin administrator
./rabbitmqctl stop
停止:service rabbitmq-server stop
启动:service rabbitmq-server start
查看状态:service rabbitmq-server status
4、su admin 【切回admin用户】
5、其他命令参考
开放原子开发者工作坊旨在鼓励更多人参与开源活动,与志同道合的开发者们相互交流开发经验、分享开发心得、获取前沿技术趋势。工作坊有多种形式的开发者活动,如meetup、训练营等,主打技术交流,干货满满,真诚地邀请各位开发者共同参与!
更多推荐
所有评论(0)