LinuxÏÂÆô¶¯oracle10gµÄemºÍisqlplus
LinuxÏÂÆô¶¯oracle10gµÄemºÍisqlplusµÄ·½·¨:
×¢:$ORACLE_HOMEΪoracleµÄ°²×°Â·¾¶
1,ʹÓÃEM(enterprise managment)
1.1Æô¶¯EM
$ORACLE_HOME/bin/emctl start dbconsole
Èç¹û³öÏÖÏÂÃæÏà¹ØÐÅÏ¢,˵Ã÷·þÎñÆô¶¯
Z set to PRC
Oracle Enterprise Manager 10g Database Control Release 10.1.0.3.0
Copyright (c) 1996, 2004 Oracle Corporation. All rights reserved.
http://localhost.localdomain:5500/em/console/aboutApplication
Starting Oracle Enterprise Manager 10g Database Control ................................. started.
1.2ʹÓÃEM
ÔÚä¯ÀÀÆ÷µØÖ·ÖÐÊäÈëÈçϵØÖ·:
http://localhost.localdomain:5500/em/console/
Èç¹û²»³öÏֵǼ¶Ô»°Ò³Ãæ,ÇëÈ·±£ÄãµÄÊý¾Ý¿â·þÎñÓë¼àÌý·þÎñÕý³£Æô¶¯ÁË
×¢Òâ:Èç¹û¼àÌý³ÌÐò²»Æô¶¯,¿ÉÒÔͨ¹ýsqlplusµÇ¼,µ«ÔÚ´ËÒ³ÃæÖв»ÄÜÕý³£ÏÔʾ.
ÏÖÔÚÄã¾Í¿ÉÒÔÕý³£Ê¹ÓÃEMÁË!
2,ʹÓÃisqlplus
2.1Æô¶¯isqlplus
$ORACLE_HOME/bin/isqlplusctl start
Èç¹û³öÏÖÈçÏÂÐÅÏ¢,˵Ã÷Õý³£Æô¶¯.
iSQL*Plus 10.1.0.3.0
Copyright (c) 2004 Oracle. All rights reserved.
Starting iSQL*Plus ...
iSQL*Plus started.
2.2ʹÓÃisqlplus
ÔÚä¯ÀÀÆ÷µØÖ·ÖÐÊäÈëÈçϵØÖ·:
http://localhost.localdomain:5560/isqlplus/
ÕâÑù¾Í³öÏÖÁËisqlplusµÄµÇ¼½çÃæ,¾Í¿ÉʹÓÃisqlplusÁË.
oracle10g Æô¶¯¼°¹Ø±ÕÃüÁî
cd /u01/app/oracle/bin
export ORACLE_BASE=/u01/app/oracle
export ORACLE_SID=ORCL
export ORACLE_HOME=$ORACLE_BASE
export PATH=$PATH:$ORACLE_HOME/bin
#Æô¶¯¼àÌý
lsnrctl start
#¹Ø±Õ¼àÌý
lsnrctl stop
#Æô¶¯Êý¾Ý¿â
sqlplus
sql>/as sysdba
sql>startup
#Í£Ö¹Êý¾Ý¿â
sql>shutdown immediate
#Æô¶¯dbconsole·þÎñ
emctl start dbconsole
#Í£Ö¹dbconsole·þÎñ
emctl stop dbconsole
#Æô¶¯»òÍ£Ö¹ iSQL*Plus£º
isqlplusctl start | stop
Áгö Oracle ½ø³Ì
$ ps a€“fuoracle
Ïà¹ØÎĵµ£º
¹ØÓÚplsqlÖеÄdefine±äÁ¿ÒÔ¼°Oracle±äÁ¿·ÖÀàС½á
2009-07-29 15:18
ÏȼÇÔظÕÀ§ÈÅÎÒµÄÒ»¸öÎÊÌ⣬×î½üѧϰplsql£¬ÓÉÓÚËùÓÃѧϰÊé¼®ºóÃæÌṩÌâÄ¿³£Óõ½define±äÁ¿£¬µ«ÓÉÓÚÕâÒ»±äÁ¿µÄʹÓÃÌØÊâÐÔ£¬×Ô¼º±ãѰ˼ÕâÒ»±äÁ¿ËùÊéÀà±ð£¬OracleÌṩµÄ±äÁ¿·ÖÀ๲ÓÐËÄÀࣺ
1£©±êÁ¿£¨scalar£©ÀàÐÍ
2£©¸´ºÏ£¨composite£©ÀàÐÍ
3£©²ÎÕÕ£¨re ......
ϵͳ
# uname -a # ²é¿´ÄÚºË/²Ù×÷ϵͳ/CPUÐÅÏ¢
# head -n 1 /etc/issue # ²é¿´²Ù×÷ϵͳ°æ±¾
# cat /proc/cpuinfo # ²é¿´CPUÐÅÏ¢
# hostname # ²é¿´¼ÆËã»úÃû
# lspci -tv # ÁгöËùÓÐPCIÉ豸
# lsusb -tv # ÁгöËùÓÐUSBÉ豸
# lsmod # ......
ºÜ¾ÃûÓÐÓÃlinuxÁË£¬ÓÉÓÚҪѧϰlinuxϵÄÄں˱à³ÌÓÖÒªÖØÐÂÊ°Æðlinux£¬ÓÃÁËÕâô¾ÃµÄwindows¶Ôlinux¶¼¿ìÍüÍêÁË¡£ËùÒԱ߿´×ÊÁϺͲÙ×÷À´¸´Ï°Ò»ÏÂlinuxµÄ»ù±¾²Ù×÷¡£
Ò»¡¢linuxµÄĿ¼½á¹¹
Ê×ÏÈ£¬linuxµÄÎļþϵͳ¼´±¾ÉíÊÇÓÉVFS¼´Virtual File System Switch£¨ÐéÄâÎļþϵͳ£©À´ÊµÎļþ¹ÜÀíµÄ£¬VFS±¾ÉíÊÇÒ»¸öÎļþµµ°¸¹ÜÀíϵͳµÄÒ»¸ö ......
1,²é¿´ Ubuntu µÄ°æ±¾ºÅ£¬
·½·¨Ò»£º ÔÚÖÕ¶ËÖÐÖ´ÐÐÏÂÁÐÖ¸Á cat /etc/issue¿ÉÒԲ鿴µ±Ç°ÕýÔÚÔËÐÐµÄ Ubuntu µÄ°æ±¾ºÅ¡£ÆäÊä³ö½á¹ûÀàËÆÏÂÃæµÄÄÚÈÝ£º Ubuntu 7.04 \n \l·½·¨¶þ ʹÓà lsb_release ÃüÁîÒ²¿ÉÒԲ鿴 Ubuntu µÄ°æ±¾ºÅ£¬Óë·½·¨Ò»Ïà±È£¬ÄÚÈݸüΪÏêϸ¡£Ö´ÐÐÖ¸ÁîÈçÏ ......