3分钟
添加机器名和相应的IP
在/etc/hosts中添加机器名和相应的IP,代码如下。
ccwan@hotmail:~$cat/etc/hosts
127.0.0.1localhost
192.166.0.4ccwan
192.166.0.5ccwan22
192.166.0.3ccwan11在/etc/hosts中添加机器名和相应的IP,代码如下。
ccwan@hotmail:~$cat/etc/hosts
127.0.0.1localhost
192.166.0.4ccwan
192.166.0.5ccwan22
192.166.0.3ccwan11Copyright © 2013-2026 Tencent Cloud.All Rights Reserved. 腾讯云 版权所有
学员评价