centos 6.5中文版 安裝oracle11gR2問題

1、centos 6.5中文版 安裝oracle11gR2 亂碼:java

完美簡單解決方法:親測解決的,就是安裝前設置一下環境變量,用英文安裝就不會亂碼了,輸入以下的命令:linux

export LC_ALL=en_US.UTF-8

2、centos

安裝Oracle 11gR2,報錯:[INS-06101] IP address of localhost could not be determined
 
出現這種錯誤是由於主機名和/etc/hosts 文件不一致。
一、/etc/sysconfig/network
[root@rac2 11.2.2]# cat /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=rac2
二、/etc/hosts
[root@rac2 11.2.2]# vi /etc/hosts
127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
::1         localhost localhost.localdomain localhost6 localhost6.localdomain6
這裏只需在/etc/hosts中添加下面一行
192.168.72.3 rac2
其中192.168.72.3爲linux虛擬機ip,rac2爲該虛擬機的hostname。
相關文章
相關標籤/搜索