pigx-eureka配置(1.7.1)

-----------------------------------准备-------------------------------------

host 加入

127.0.0.1 pigx-mysql

127.0.0.1 pigx-zookeeper

127.0.0.1 pigx-redis

127.0.0.1 pigx-gateway

127.0.0.1 pigx-eureka

maven 3.6.0

mysql 5.7

node 8.0node-v8.14.0.pkg   

https://nodejs.org/download/release/latest-v8.x/

配置npm镜像

$  npm install -g cnpm --registry=https://registry.npm.taobao.org

need-to-insert-img

http://www.cnblogs.com/feijl/p/6879929.html

redis 安装

cp /usr/local/redis-3.2.12/src/mkreleasehdr.sh .cp /usr/local/redis-3.2.12/src/redis-benchmark .cp /usr/local/redis-3.2.12/src/redis-check-rdb .cp /usr/local/redis-3.2.12/src/redis-cli .cp /usr/local/redis-3.2.12/src/redis-server .

cp /usr/local/redis-3.2.12/redis.conf /usr/local/redis-3.2.12/etc

启动redis

./bin/redis-server etc/redis.conf

Consul

https://blog.csdn.net/xiang__liu/article/details/80878537

Mac上zookeeper的安装与启动

https://www.jianshu.com/p/5491d16e6abd


-----------------------------------准备end-------------------------------------

pom.xml加入

   com.fasterxml.jackson.core

  jackson-databind

  2.9.5

  org.jboss.logging

  jboss-logging

  3.2.1.Final

  org.hibernate

  hibernate-validator

你可能感兴趣的:(pigx-eureka配置(1.7.1))