Oralcle 10g Fedora Core X上快速安装指南(3) [root@fedora]# chown -R oracle.oinstall /home/oracle/* 2.2 Steps to perform as oracle user Make gcc296 default compiler for user oracle by creating symbolic link. It is important that the directory containing the link (/home/oracle/bin) is listed in the PATH variable before /usr/bin. [oracle@fedora oracle]$ mkdir /home/oracle/bin [oracle@fedora oracle]$ cd /home/oracle/bin [oracle@fedora bin]$ ln -s /usr/bin/gcc296 gcc Put the following lines in oracle user .bash_profile eXPort ORACLE_BASE=/home/oracle export ORACLE_HOME=/home/oracle/product/10g export ORACLE_SID=orcl export ORACLE_TERM=xterm export PATH=$HOME/bin:$ORACLE_HOME/bin:$PATH ulimit -u 16384 -n 65536 # # change this NLS settings to suit your country: # example: # german_germany.we8iso8859p15, american_america.we8iso8859p1 etc. # export NLS_LANG='croatian_croatia.ee8iso8859p2' Since I am from Croatia, I use Croatian national language support (NLS_LANG, NLS_DATE_LANGUAGE, NLS_SORT and NLS_DATE_FORMAT). You should set these variables to suit your needs. Listing of valid Oracle NLS Data parameters including supported languages, territories and storage character sets can be found here. In this example ORACLE_SID=orcl. You will be prompted by installer to specify SID and global database name, and you should replace the SID in .bash_profile with your own SID. Update environment to include new variables:
[oracle@fedora]$ source /home/oracle/.bash_profile Everything is now ready to start the oracle installer. 3. Running the installer If you have Oracle 10g Database CD, login as root and mount it: [root@fedora]# mount /mnt/cdrom Oracle installer needs to be run from Xwindows, so start Xwindows and login as user oracle. Make sure that your envionment is correctly set up: [oracle@fedora oracle]$ setgrep ORACLE