자료는 있지만 꼭 맞는 자료는 없다.
웹개발자로 살면 오라클 설치는 피할 수 없는 임무중 하나인듯 하다.
centos 6.6을 먼저 설치했다.
인터넷을 설정하고 필수 팩키지를 설치한다.
yum groupinstall "X Window System"
yum install glibc.i686
yum install compat-gcc-32
yum install compat-db
yum install libaio-devel
yum install sysstat
4. Changing redhat-release file
One of the first checks performed by the Oracle Universal Installer
(OUI) is to determine if the host platform is supported. The OUI uses
the file /etc/redhat-release to determine the platform. For the
case of Red Hat Enterprise Linux, Oracle Database 10g Release 2 expects
either RHEL 3 or RHEL/OEL 4.
The easiest way to get around this error is to modify the
/etc/redhat-release file replacing the current release information
(CentOS release 5 (Final)) with the following:
redhat-4
Before modifying /etc/redhat-release, make a backup copy of
the file and ensure to replace the original one after the Oracle
installation and patch process has been completed.
cp /etc/redhat-release /etc/redhat-release.original
echo "redhat-4" > /etc/redhat-release
After all these configurations, you should get this result:
export EDITOR=vim
export ORACLE_BASE=/home/oracle
export ORACLE_HOME=$ORACLE_BASE/product/9204
export ORACLE_OWNER=oracle
export ORACLE_TERM=xterm
export ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data
export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib:/usr/local/lib:$LD_LIBRARY_PATH
export PATH=$PATH:$ORACLE_HOME/bin:/usr/bin:/usr/sbin:$ORACLE_HOME/Apache/bin:$PATH
export NLS_LANG=KOREAN_KOREA.KO16KSC5601
export LANG=C
export THREADS_FLAG=native
#SID
export ORACLE_SID=TESTDB
댓글 없음:
댓글 쓰기