2007年6月28日 星期四

Install Oracle Client For Ubuntu/Debian

1. Modify/etc/apt/sources.list with adding the following lines:
----
# oracle
deb http://oss.oracle.com/debian unstable main non-free
----
2. Update the repository with "sudo apt-get update"
3. Install the following software from the oracle repository:
-libaio
-oracle xe client
4. Update environmental variables in /etc/bash.bashrc << oracle_env.sh
5. Create tnsnames.ora and export TNS_ADMIN=/file/path/to/tnsnames.ora