Oracle 安装报错 [INS-06101] IP address of localhost could not be determined 解决方法
时间:2022-03-15 03:23
出现这种错误是因为主机名和/etc/hosts 文件不一致,只需要把主机名和其IP 写入/etc/hosts 文件,就ok了。
注意名字不能有下划线
2. 使用hostname 命令修改主机名,该修改重启会失效,但在第一步我们已经修改过。所以失效也没关系
[root@localhost ~]# hostname
localhost
[root@localhost ~]# hostname shark
[root@localhost ~]# hostname
dave
3. 修改hosts 文件
[root@localhost ~]# cat /etc/hosts
# Do not remove the following line, orvarious programs
# that require network functionality willfail.
127.0.0.1 localhost
192.168.7.2 shark
Oracle 安装报错 [INS-06101] IP address of localhost could not be determined 解决方法,布布扣,bubuko.com