linux×Ô¶¯Æô¶¯ oracle
¸ÅÊö
ÈÃÊý¾Ý¿âÔÚ²Ù×÷ϵͳÆô¶¯µÄʱºò×Ô¶¯Æô¶¯£¬»áÈÃÊý¾Ý¿âµÄά»¤±äµÃ¸ü¼Ó¼òµ¥¡¢·½±ã¡£
Ôø¾Ð´¹ýһƪÔÚlinux×Ô¶¯Æô¶¯
oracleµÄÎÄÕ“linux
ÏÂOracle×Ô¶¯Æô¶¯ÓëÍ£Ö¹£¨Ò»£©
”http://blog.csdn.net/chenxiaohua/archive/2008/02/26/2121878.aspx
¡£
¸ÃÎÄÕµķ½·¨ÐèÒªÓõ½/etc/oratab¡¢$ORACLE_HOME/bin/dbstartºÍ$ORACLE_HOME/bin/dbshut£¬ÏÔ
µÃ²»¹»Áé»î¡£ÏÂÃæ½²½âÁíÍâÒ»¸ö·½·¨×Ô¶¯Æô¶¯¶à¸öoracleʵÀýºÍ¼àÌýÆ÷¡£
ÎÄÕ“´´
½¨¡¢Æô¶¯oracleÊý¾Ý¿â
”½²ÊöÁËÔõÑù´´½¨¶à¸öÊý¾Ý¿âºÍʵÀý£¬²¢Æô¶¯ÕâЩʵÀý£¬ÏÖÔÚ½«½²ÊöÔõÑùÔÚϵͳÆô¶¯µÄʱºò£¬×Ô¶¯Æô¶¯ÕâЩÊý¾Ý¿â¡£
±àд½Å±¾
ÓÃrootÓû§£¬½øÈë½øÈëĿ¼/etc/rc.d/init.d£¬´´½¨Îļþoracle_linuxdb£¬¸Ã½Å±¾ÓÃÓÚÆô¶¯ÊµÀý
linuxdb£¬ÄÚÈÝÈçÏ£º
view
plain
copy
to clipboard
print
?
#!/bin/sh
#chkconfig: 2345 80 80
#description:oracle_linuxdb
#
# /etc/rc.d/init.d/oracle_linuxdb
# auto start database LINUXDB instance
#set oracle env
export ORACLE_BASE=/home/ora/ora9
export ORACLE_HOME=$ORACLE_BASE/oracle
export PATH=$PATH:$ORACLE_HOME/bin
ORACLE_USER=ora
#start or stop script
case
$1 in
start)
su - "$ORACLE_USER"
<<EOO
export ORACLE_SID=linuxdb
lsnrctl start LISTENER_LINUXDB
sqlplus /nolog<<EOS
connect / as sysdba
startup
EOS
EOO
;;
stop)
su - "$ORACLE_USER"
<<EOO
export ORACLE_SID=linuxdb
lsnrctl stop LISTENER_LINUXDB
sqlplus /nolog<<EOS
connect / as sysdba
shutdown immediate&
Ïà¹ØÎĵµ£º
2009 Äê 4 ÔÂ 23 ÈÕ
±¾ÎÄÖÐÎÒÃÇÕë¶Ô Linux É϶àÏ̱߳à³ÌµÄÖ÷ÒªÌØÐÔ×ܽá³ö 5 Ìõ¾Ñ飬ÓÃÒÔ¸ÄÉÆ Linux ¶àÏ̱߳à³ÌµÄÏ°¹ßºÍ±ÜÃâÆäÖеĿª·¢ÏÝÚå¡£ÔÚ±¾ÎÄÖУ¬ÎÒÃÇ´©²åһЩ Windows µÄ±à³ÌÓÃÀýÓÃÒÔ¶Ô±È Linux ÌØÐÔ£¬ÒÔ¼ÓÉî¶ÁÕßÓ¡Ïó¡£
±³¾°
Linux ƽ̨ÉϵĶàÏ̳߳ÌÐò¿ª·¢Ïà¶ÔÓ¦ÆäËûƽ̨£¨±ÈÈç Windows£©µÄ¶àÏß³Ì API ÓÐһЩϸ΢ ......
ÔÚlinuxÏÂÔõôȡ×òÌ죨ǰһÌ죩µÄÈÕÆÚ£¿
man
date£¬¿ÉÒÔ¿´µ½date¿ÉÒÔÏÔʾµ±Ç°µÄʱ¼ä£¬ÐÞ¸Äϵͳʱ¼ä£¬»òÕßÏÔʾָ¶¨µÄʱ¼ä¡£È¡µ½µ±Ç°Ê±¼ä£¬µ±È»¿ÉÒÔ·´Ëã»ØÈ¥£¬µ«ÓÖÒªÅжÏÊÇ·ñÊÇÒ»¸öÔµÄ×îºóÒ»
Ì죬һÄêµÄ×îºóÒ»Ì죬 »¹ÓÐÈòÄêÐèÒªÅжϣ¬Ð´³öµÄ½Å±¾²»ÊÇ10¼¸ÐÐÄܽâ¾öµÄ¡£Æäʵdate±¾Éí¾ÍÓÐÒ»¸ö·½·¨¿ÉÒÔ¼ÆËãʱ¼ä£¬×òÌ죬Π......
×î½üÒ»Ö±Ïë×°linux U5,һֱûÕÒµ½£¬½ñÌìÕÒµ½ÁË£¬·ÖÏí¸ø´ó¼Ò£¡£¡£¡
ftp://openware.byr.edu.cn/pub/os-images/Redhat/RHEL4u5/i386/RHEL4-U5-i386-AS-disc1.iso
ftp://openware.byr.edu.cn/pub/os-images/Redhat/RHEL4u5/i386/RHEL4-U5-i386-AS-disc2.iso
ftp://openware.byr.edu.cn/pub/os-images ......
Linux ¹²Ïí¿â±à³Ì
×÷ÕߣºÖÕÄÏ <li.zhongnan@hotmail.com
>
1¡¢½éÉÜ
¶¯Ì¬¿âÊdzÌÐòÉè¼Æ³£Óõļ¼Êõ£¬²ÉÓö¯Ì¬¿â¿ÉÒÔÓÐЧµÄ¼õÉÙ³ÌÐò´óС£¬½ÚÊ¡¿Õ¼ä£¬Ìá¸ßЧÂÊ£¬Ôö¼Ó³ÌÐòµÄ¿ÉÀ©Õ¹ÐÔ£¬±ãÓÚÄ£¿é»¯¹ÜÀí¡£ÔÚWindowsºÍ
Linux²Ù×÷ϵͳÖж¼Óж¯Ì¬¿âµÄ¸ÅÄî¡£Windows½«Æä³ÆΪ¶¯Ì¬Á´½Ó¿â£¨Dynamic Link
Library£¬ ......
Linux¹ÜÀíÔ±ÃÇ£¬¸ÃË¢ÐÂÄÚºËÁË
LinuxÖ®¸¸ÀîÄÉ˹·ÍÐÎÖ×È(Linus Torvalds)Ô®Òý¡¶Ê¥¾¡·ÖеÄÒ»¾ä»°¼ÄÓïLinux°®ºÃÕߣº“Ò»ÍùÎÞÇ°£¬ÉúÉú²»Ï¢¡£”µ«ÊÇʵ¼ÊÉÏ£¬¸ü׼ȷµÄÀí½âÓ¦¸ÃÊÇ“Ò»ÍùÎÞÇ°£¬²âÊÔ²»Ö¹”¡£¶ø×îÐÂÐèÒªÎÒÃDzâÊԵľÍÊǽüÆÚ¸Õ·¢²¼µÄ2.6.34°æLinuxÄںˣ¬¸ÃÄں˰汾µÄ·¢²¼Ê±¼ä¾àÀë´ËÇ°Ò»¸ö°æ ......