安装Oracle 11gR2,报错:[INS-06101] IP address of localhost could not be determined([INS-06101] 无法确定本地主机的 IP 地址)
出现这种错误是因为主机名和/etc/hosts 文件不一致,只需要把主机名和其IP 写入/etc/hosts 文件,就ok了。
查看主机名和和ip 地址关系:
[root@localhost~]# cat /etc/sysconfig/network
NETWORKING=yes
NETWORKING_IPV6=no
HOSTNAME=localhost.localdomain
这里的主机名是localhost.localdomain.
[root@localhost~]# cat /etc/hosts
# Do not removethe following line, or various programs
# that requirenetwork functionality will fail.
127.0.0.1localhost
注:需要确定主机名到底是不是localhost
优质内容筛选与推荐>>
1、终于,我也要出一本C#的书了-我的写作历程与C#书单推荐2、这几种机器学习算法,你都应该知道!3、iOS组件化开发(三):加载资源文件4、docker入门5、Python爬虫入门,大牛讲师带你快速掌握bs4库抓取网页数据