wiki:install_oracle_10g_on_the_headless_ubuntu
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
wiki:install_oracle_10g_on_the_headless_ubuntu [2008/04/01 02:25] – mirnshi | wiki:install_oracle_10g_on_the_headless_ubuntu [2008/11/17 16:05] (current) – mirnshi | ||
---|---|---|---|
Line 19: | Line 19: | ||
sudo apt-get install xauth libxp6 libxt6 libxtst6 | sudo apt-get install xauth libxp6 libxt6 libxtst6 | ||
sudo apt-get install libaio1 | sudo apt-get install libaio1 | ||
+ | |||
+ | sudo apt-get install libstdc++5 | ||
The whole x-windows is not necessary, some articles said that we should install the x-windows and WM, it's probably not a good idea to install these software only for installing another software. | The whole x-windows is not necessary, some articles said that we should install the x-windows and WM, it's probably not a good idea to install these software only for installing another software. | ||
- | Note: xauth makes x11-forward work, libaio1 makes sqlplus work. | + | Note: xauth makes x11-forward work, libaio1 makes sqlplus work, libstdc++5 makes liborasdkbase.so.10.2 work(ubuntu 8.04.1). |
3. add user oracle and group dba | 3. add user oracle and group dba | ||
Line 81: | Line 83: | ||
# Oracle listener and instance startup | # Oracle listener and instance startup | ||
echo -n " | echo -n " | ||
- | su $ORA_OWNR -c " | + | su - $ORA_OWNR -c " |
- | su $ORA_OWNR -c $ORACLE_HOME/ | + | su - $ORA_OWNR -c $ORACLE_HOME/ |
;; | ;; | ||
stop) | stop) | ||
# Oracle listener and instance shutdown | # Oracle listener and instance shutdown | ||
echo -n " | echo -n " | ||
- | su $ORA_OWNR -c " | + | su - $ORA_OWNR -c " |
- | su $ORA_OWNR -c $ORACLE_HOME/ | + | su - $ORA_OWNR -c $ORACLE_HOME/ |
;; | ;; | ||
reload|restart) | reload|restart) |
wiki/install_oracle_10g_on_the_headless_ubuntu.txt · Last modified: 2008/11/17 16:05 by mirnshi