Step by step setting Oracle Environment Server on Linux
- Setting Oracle Environment
- su - oracle
- vi .bash_profile
Append
#Oracle Environment
export ORACLE_BASE=/home/opt/oracle
export ORACLE_HOME=/home/opt/oracle/product/9.2.0.4
export ORACLE_SID=TMS
export ORACLE_TERM=xterm
export NLS_LANG=AMERICAN;
export ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data
LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
export LD_LIBRARY_PATH
export PATH=$PATH:$ORACLE_HOME/bin
export PATH=$ORACLE_HOME/bin:$ORACLE_HOME/Apache/Apache/bin:$PATH
Save file
- To check status
- ifconfig (run using root a/c - Eg. 192.168.1.1)
- su - oracle (to check status)
- su - root
- xhost +192.168.1.1 (If got error-xhost:unable to open display ->proceed to step 4)
- export DISPLAY=192.168.1.1:0.0
- If got error - Connection refused, try to restart the server or run the command in X terminal
- If successful - will show that it has been added to access list
- To apply p30006854 patch file
- cd /home/patch
- unzip p30006854_9204_LINUX.zip
- cd 30006854
- sh rhel3_pre_install.sh (Should display ->Patch successfully applied)
- To run Oracle Installer
- Open X terminal
- su - oracle
- cd /home/setup/Disk1
- ./runinstaller
- During Oracle installation
- Welcome screen -> Click Next
- Inventory Location -> Click Ok (should be /home/opt/oracle/orainventory)
- UNIX Group Name -> Type “dba” -> Click Next
- (Should prompt Oracle Universal installer asking to execute /tmp/orainstRoot.sh)
- Open a new X terminal window
- su - root
- cd /tmp
- ls
- sh orainstRoot.sh
- exit
- Click Continue in the Installer window to continue
- File Locations -> Click Next Source Path = /home/setup/Disk1/stage/products.jar
i. Dest.Name =OUIHome
ii. Dest. Path = /home/opt/oracle/product/9.2.0.4 - Oracle 9i Databse -> Click Next
- Standard Edition -> Click Next
- General Purpose -> ClickNext
- Global Database Name & SID = TMS -> Click Next
- Database File Locations = /home/opt/oracle/oradata -> Click Next
- Use default character set -> Click Next
- Summary -> Click Install
- Prompt to run /home/opt/oracle/product/9.2.0.4/root.sh
- Open X terminal window
- cd /home/opt/oracle/product/9.2.0.4
- sh root.sh (enter full path name -> Press <Enter>)
- Click OK in window to continue installation
- Change Passwords SYS Password - oracle
Confirm SYS Password - oracle
SYSTEM Password - oracle
Confirm SYSTEM Password - oracle - Press OK when Error Window prompt
- Finish Installation
- Close & exit the Oracle Enterprise Manager Console window
- 177 reads
Recent popular content



















