You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
mysql
mysql
8d5d4b381ab7abe8947f532422255cd172f214ab4a6b0533da1619259e1cc4a5
redis
redis
Start Redis Service...
1fc187a9d82f0942dd60cac76c723a5bc531e1b67424384d04e7a69dad1362f0
etcd
etcd
98f88d81e1e218d4d53c608e5a68cd70254df221bdb34c9beab37a7473971ba0
es
es
04b37b58f10411fa8ab5894c917266cc7bc7f9a96988908fff9b3734e6259ad4
需要注意的是 elasticsearch 第一次用的时候,需要初始化密码 执行下面的操作
➜ ~ docker exec -it es /bin/bash
[root@04b37b58f104 elasticsearch]# sh /usr/share/elasticsearch/bin/elasticsearch-setup-passwords auto
Initiating the setup of passwords for reserved users elastic,apm_system,kibana,logstash_system,beats_system,remote_monitoring_user.
The passwords will be randomly generated and printed to the console.
Please confirm that you would like to continue [y/N]y
Changed password for user apm_system
PASSWORD apm_system = iKVpVyFFTC8qEXvJILi2
Changed password for user kibana
PASSWORD kibana = DnDgQRRgkuyV8YqTrxbk
Changed password for user logstash_system
PASSWORD logstash_system = aqjVEdMsG7P2CXm9sQNk
Changed password for user beats_system
PASSWORD beats_system = Oleo1gQhli6tGaWuHz96
Changed password for user remote_monitoring_user
PASSWORD remote_monitoring_user = rX9CsBLM2c3ow9sH6Iud
Changed password for user elastic
PASSWORD elastic = yi4cxxdiz86pRKOoTAcm
看到上面最后行
Changed password for user elastic
PASSWORD elastic = yi4cxxdiz86pRKOoTAcm
vi etc/datacenter-api.yaml #网关配置
vi user/rpc/etc/rpc.yaml #用户信息配置
vi common/rpc/etc/rpc.yaml #公共配置
vi votes/rpc/etc/rpc.yaml #投票配置
vi search/rpc/etc/search.yaml #搜索配置
vi questions/rpc/etc/questions.yaml #抽奖配置
然后启动 服务 ,应该我们要启动
sh restart.sh
输出如下
➜ datacenter.bak git:(master) ✗ sh restart.sh
appending output to nohup.out
appending output to nohup.out
appending output to nohup.out
appending output to nohup.out
appending output to nohup.out
appending output to nohup.out