赞
踩
修改/etc/hosts文件指令
sudo vim /etc/hosts
按I
插入,插入完成后按ESC
退出插入,输入:wq!
保存退出,如下图所示
- 192.168.171.xxx orderer0.example.com
- 192.168.171.xxx orderer1.example.com
- 192.168.171.xxx orderer2.example.com
- 192.168.171.xxx peer0.org1.example.com
- 192.168.171.xxx peer1.org1.example.com
- 192.168.171.xxx peer0.org2.example.com
重启一下网络
Ubuntu:
sudo /etc/init.d/networking restart
CentOS:
sudo /etc/init.d/network restart
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。