Recently, my NC project runs in Linux. Write down the installation process.
============= Manually start Oracle ======## note: in this example, the oralce command is in the/home/oracle/product/10.2.0/db_1/bin directory. # You can change it to your own directory. 1. You need to set Environment Variables
$ Cd/home/oralce
$ Gedit. bash_profile
2. append the following statement:
Export ORACLE_BASE =/home/oracle
Export ORACLE_HOME = $ ORACLE_BASE/product/10.2.0/db_1
Export ORACLE_SID = orcl
Export PATH = $ PATH: $ ORACLE_HOME/bin
3. log out and Log On As an oracle user. The command to manually start oracle is:
# $ ORACLE_HOME/bin/dbstart
# $ ORACLE_HOME/bin/lsnrctl start
============== Oracle commands in linux ==================## note: in this example, the oralce command is in the/home/oracle/product/10.2.0/db_1/bin directory. # You can change it to your own directory.
A. # dbstart // start the database
# Dbshut // shut down the database
B. # emctl start dbconsole // Enable Enterprise Manager
# Emctl stop dbconsole // disable Enterprise Manager
C. # lsnrctl start // start the listener
# Lsnrctl stop // disable the listener
D. # emctl start agent // enable proxy
# Emctl stop agent // disable the agent
E. # sqlplus/nolog
Conn/as sysdba
Startup // start the instance
Shutdown immediate // shut down the instance
F. # tnsping 192.168.1.104 // test whether the Oracle database is connected
G. http: // 10.0.0.77: 5560/isqlplus // isQL * Plus URL
Http: // 10.0.0.77: 5560/isqlplus/dba // isQL * Plus DBA URL
Http: // 10.0.0.77: 1158/em // Enterprise Manager 10g Database