美文网首页
pigx-eureka配置(1.7.1)

pigx-eureka配置(1.7.1)

作者: 司令大人Danilo | 来源:发表于2018-12-08 13:10 被阅读0次

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

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加入

   <groupId>com.fasterxml.jackson.core

  <artifactId>jackson-databind

  <version>2.9.5

  <groupId>org.jboss.logging

  <artifactId>jboss-logging

  <version>3.2.1.Final

  <groupId>org.hibernate

  <artifactId>hibernate-validator

</dependency>

相关文章

网友评论

      本文标题:pigx-eureka配置(1.7.1)

      本文链接:https://www.haomeiwen.com/subject/axlqhqtx.html