Oracle 10G for Linux常用命令 |
發(fā)布時間: 2012/9/24 16:58:16 |
在Linux下首先以Oracle用戶登錄 1、 $/Oracle/oracle/app/product/101/bin/dbstart:啟動數(shù)據(jù)庫。 2、 $/Oracle/oracle/app/product/101/bin/dbshut:關閉數(shù)據(jù)庫。 3、 $/Oracle/oracle/app/product/101/bin/dbca:數(shù)據(jù)庫配置助理,進行數(shù)據(jù)庫安裝、刪除和修改。-
5、 $/Oracle/oracle/app/product/101/bin/netmgr:數(shù)據(jù)庫網(wǎng)絡服務和監(jiān)聽配置助理。 6、 $/Oracle/oracle/app/product/101/bin/sqlplus:可運行SQL,進行數(shù)據(jù)庫操作,并可起停數(shù)據(jù)庫。運行sqlplus命令,輸入sys用戶和口令登陸以后,運行如下命名: 〉shutdown immediate 立即關閉數(shù)據(jù)庫 〉startup 啟動數(shù)據(jù)庫 7、 $/Oracle/oracle/app/product/101/bin/lsnrctl start:啟動數(shù)據(jù)庫監(jiān)聽 $/Oracle/oracle/app/product/101/bin/lsnrctl stop:關閉數(shù)據(jù)庫監(jiān)聽 $/Oracle/oracle/app/product/101/bin/lsnrctl status:察看數(shù)據(jù)庫監(jiān)聽運行狀態(tài) 8、emctl stop dbconsole 關閉Oracle EM管理 emctl start dbconsole 啟動Oracle EM 管理 本文出自:億恩科技【www.allwellnessguide.com】 |