课前准备:https://gengzongyuan.github.io/2018/09/20/rabbitmq%E5%AE%89%E8%A3%85/ (单节点安装部分)
简单的hello world!
1.发送消息
- 安装pika包
1
pip install pika==0.9.5
课前准备:https://gengzongyuan.github.io/2018/09/20/rabbitmq%E5%AE%89%E8%A3%85/ (单节点安装部分)
1 | pip install pika==0.9.5 |
erl安装1
2
3
4
5
6
7# erlang安装
yum -y install make gcc gcc-c++ kernel-devel m4 ncurses-devel openssl-devel unixODBC unixODBC-devel httpd python-simplejson
wget http://erlang.org/download/otp_src_19.3.tar.gz
tar -zxf otp_src_19.3.tar.gz
./configure --prefix=/usr/local/erlang
make
make install
安装1
2
3
4yum -y install https://repo.mysql.com/mysql57-community-release-el6-11.noarch.rpm
yum update -y
yum -y install mysql-community-server
service mysqld start
Libevent1
2
3
4
5yum -y install gcc
wget https://github.com/downloads/libevent/libevent/libevent-2.0.21-stable.tar.gz
tar -zxvf libevent-2.0.21-stable.tar.gz
cd libevent-2.0.21-stable
./configure -prefix=/usr/local/libevent && make && make test && sudo make install
1 | host1---->host2 |
tag:
缺失模块。
1、请确保node版本大于6.2
2、在博客根目录(注意不是yilia根目录)执行以下命令:
npm i hexo-generator-json-content --save
3、在根目录_config.yml里添加配置:
jsonContent: meta: false pages: false posts: title: true date: true path: true text: false raw: false content: false slug: false updated: false comments: false link: false permalink: false excerpt: false categories: false tags: true