今天安装Consul的过程中发现一个大坑,前面的安装都挺顺利的,下面是安装的过程
1、下载Consul,选择对应的系统版本
2、配置环境变量,在系统--》高级系统设置--》环境变量--》系统变量--》Path去添加即可(D:consul)
3、cmd指向当前目录,再执行代码
consul agent -dev
启动完成,用浏览器打开http://localhost:8500/就可以看到管理界面了。
问题就出在这里
提示
Consul returned an error. You may have visited a URL that is loading an unknown resource, so you can try going back to the root or try re-submitting your ACL Token/SecretID by going back to ACLs.
Try looking in our documentation
这是看到的效果,界面怎么都出不来,网上查了很多资料,大家都没有这个问题,我用的是谷歌浏览器,后来换成火狐浏览器打开就正常显示,真是无语。