1. Download The oracle11gforLinux zip package from the 0racle website and decompress it. 2. Run. runInstaller-jreLocusrlibjvmja under the user.
1. Download the zip package of oracle 11g for Linux from the 0 racle website and decompress it. 2. Run./runInstaller-jreLoc/usr/lib/jvm/ja under the user.
1. Download the Oracle 11g for Linux zip package from the 0 racle website and decompress it.
2. run. /runInstaller-jreLoc/usr/lib/jvm/java-6-sun/jre)
To be continued ......
3. The next step is all the way, but some of the dependent items must be installed first.
A) libaio1
B) rpm
C) ksh
4. link some commands to the/usr/bin directory.
A) awk->/etc/alternatives/awk
B) ksh->/etc/alternatives/usr. bin. ksh
5. Create a required directory, that is,/opt. In fact, this directory may already exist.
6. Then everything is okay, but some environment variables need to be added to start oracle. I usually put these in. bashrc.
A) export ORACLE_HOME =/home/haha/app/haha/product/11.1.0/db_1
B) export ORACLE_SID = haha
C) export NLS_LANG = american_america.utf8 (this is to show Chinese content without garbled characters)
D) export PATH = $ PATH:/home/haha/app/haha/product/11.1.0/db_1/bin (this is for convenience and is optional)
7. Check whether the installation is successful in the following aspects:
A) Access https: // domain: 1158/em to see if you can log on.
B) netstat-anop | grep 1521. Check whether the listener is enabled.
To start oracle again, run the following command:
A) Start the database instance: sqlplus "/as sysdba", and then startup
B) start listener: lsnrctl start
C) start em: emctl start dbconsole (optional)
The Linux Oracle client can use SQL developer and download it on the Oracle website. In fact, this is helpless. After all, plsqldev cannot be used in Linux.