Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

start oracle with the linux opening

 1.ÐÞ¸Ä/etc/oratab £¬Ìí¼Ó$ORACLE_SID:$ORACLE_HOME:Y --
Y´ú±íOSÆô¶¯ÔòDBÆô¶¯±ØÐëÉèÖÃΪY£¬·ñÔòdbstartºÍdbstop²»¿ÉÓã¬NΪ²»Æô¶¯£¬$ORACLE_SIDÊÇDB
SID£¬$ORACLE_HOMEÊÇDB ¾ø¶Ô·¾¶
2.ÐÞ¸Ä/etc/rc.d/rc.loacl,¼ÓÈëÒÔÏ£º
#listener command
COMM_LISTENER=/opt/oracle/product/10.2.0/db_1/bin/lsnrctl
LISTENER_NAME=orctest
su - oracle -c "$COMM_LISTENER start $LISTENER_NAME"
COMM_START=/opt/oracle/product/10.2.0/db_1/bin/dbstart
su - oracle -c "$COMM_START"
echo $COMM_START
ÖØÆô¼´¿É¿´µ½Êý¾Ý¿âºÍ¼àÌýÒѾ­Æô¶¯¡£
##################################################
1. ´´½¨Îļþ/etc/oratab
#Ìí¼ÓÈçÏÂÄÚÈݵ½/etc/oratabÎļþÖÐ,
#$ORACLE_SIDÊÇÄãµÄOracleÊý¾Ý¿âµÄsid
#$ORACLE_HOMEÊÇÄãµÄOracleÊý¾Ý¿âµÄOracle_home
#Y±íʾҪÇóÔÚϵͳÆô¶¯µÄʱºòÆô¶¯OracleÊý¾Ý¿â.N±íʾ²»ÒªÔÚϵͳÆô¶¯µÄʱºòÆô¶¯Oracle
¸ÄÒÔÏÂΪ
# *:/data/opt/app/oracle/app:N# db1:/data/opt/app/oracle/app:N
*:/data/opt/app/oracle/app:Ydb1:/data/opt/app/oracle/app:Y
2. ÐÞ¸ÄÎļþ/etc/rc.localÌí¼ÓÒ»ÏÂÁ½ÐÐ
su - oracle -c 'dbstart'
su - oracle -c 'lsnrctl start '
3.ÐÞ¸ÄdbstartÕâ¸öÆô¶¯ÎļþµÄoratabµÄĿ¼Ϊ/etc/oratab,ĬÈϵÄÎļþĿ¼ÊDz»¶ÔµÄ¡£Ò»¶¨Òª¸Ä¡£
#ORATAB=/var/opt/oracle/oratab
ORATAB=/etc/oratab
Ö»ÐèÐÞ¸ÄÒÔÉϾͿÉÒԳɹ¦ÁË¡£ºÜEASY!
#######################################################
=== 5. ÉèÖÃÊý¾Ý¿â×Ô¶¯Æô¶¯ ===
-- 5.1 --
±à¼­Îļþ /etc/oratab£¬½«“N”ÐÞ¸ÄΪ“Y”
oradb1:/oracle/product/10.2.0:Y
-- 5.2 --
È·ÈÏoracleÓû§ÄÜ·ñÓÃϵͳ×Ô´øµÄShell³ÌÐòdbstart, dbshutÕý³£Æô¶¯ºÍ¹Ø±ÕÊý¾Ý¿â£¬ÒÔoracle
Éí·ÝÖ´ÐÐ dbstart dbshut
-- 5.3 ½¨Á¢Æô¶¯Shell --
ÒÔrootÉí·Ý£¬ÔÚ /etc/rc.d/init.d Ŀ¼Ï½¨Á¢Îļþ oracle£¬ÄÚÈÝΪ£º
#!/bin/sh
OPT_=$1
case "$OPT_" in
start)
/bin/echo "$0 : (start)"
#
# Your service startup command goes here.
#
su - oracle -c "/oracle/product/10.2.0/bin/lsnrctl start"
su - oracle -c "/oracle/product/10.2.0/bin/dbstart"
# NOTE: Must exit with zero unless error is severe.
chmod 177


Ïà¹ØÎĵµ£º

LinuxÉ豸ģÐÍÖ®input×ÓϵͳÏê½â

Ò»£ºÇ°ÑÔ
×î½üÔÚÑо¿androidµÄsensor driver£¬Ö÷ÒªÊÇE-compass£¬ÆäÖÐÓõ½ÁËLinux input×Óϵͳ.ÔÚÍøÉÏÒ²¿´Á˺ܶàÕâ·½ÃæµÄ×ÊÁÏ£¬¸Ð¾õ»¹ÊÇÕâƪ·ÖÎöµÄ±È½ÏϸÖÂ͸³¹£¬Òò´ËתÔØÒ»ÏÂÒÔ±ã×Ô¼ºÑ§Ï°£¬Í¬Ê±ºÍ´ó¼Ò·ÖÏí£¡
£¨Õâƪ²©¿ÍÖ÷ÒªÊÇÒÔ¼üÅÌÇý¶¯ÎªÀýµÄ£¬²»¹ý½²½âµÄÊÇLinux Input Subsystem£¬¿ÉÒÔ×ÐϸµÄÑо¿Ò»Ï£¡£©
¼üÅÌÇý¶¯½«¼ì ......

jdbcÁ¬½ÓOracle

      ËäȻѧϰJavaºÜ¾ÃÁË£¬×Ô¼ºÒ²Á¬½Ó¹ýһЩÊý¾Ý¿â£¬±ÈÈçmysqlÖ®ÀàµÄ£¬Èç½ñÄØ£¬Ò²Ñ§Ï°ÁËÒ»¶Îʱ¼äµÄOracle£¬È»¶øÄØ£¬½ñÌìÊÇÎÒµÚÒ»´ÎÁ¬½ÓOracle£¬ºÙºÙ£¬Ó¦¸Ã»¹²»ËãÌ«³Ù°É¡£
    ½ñÌìÄØ£¬Óе㱿׾£¬´ó¼ÒĪЦ£¡
    ÎÒÕâÊÇÒ»¸ö²éѯÀý×Ó
    Ê×ÏÈ£¬Ô ......

Inthirties OracleÂÛ̳ÈÕ¶ÀÁ¢IPÍ»ÆÆ200

 Inthirties OracleÂÛ̳ÈÕ¶ÀÁ¢IPÁ¬ÐøÒ»ÖÜÍ»ÆÆ200  http://www.inthirties.com
Ò²Ðí200¸ù±¾¾ÍºÜÉÙ£¬µ«ÊǶÔÓÚinthirtiesÀ´Ëµ£¬ÒѾ­ÊÇÒ»¸öºÜÐÀοµÄÊÂß·¡£ ÔÙ½ÓÔÙÀ÷£¬°ÑInthirties OracleÂÛ̳°ì³ÉʵÓõÄѧϰOracleµÄÂÛ̳¡£ ......

[LinuxѧϰÈÕ¼Ç]UbuntuÍƼöÈí¼þÒÔ¼°¼òµ¥½Å±¾±àд

¡¡¡¡×òÌìÒѾ­½«Ubuntu 9.10µÄ°²×°¹ý³ÌдÁËÒ»±é£¬µ±È»½ö½ö×°ºÃϵͳ»¹ÊÇʲô¶¼×ö²»ÁË¡£½ñÌìÖ÷ÒªÍƼöÏÂÎÒÕâЩÌìÓõÄÈí¼þºÍдһЩ¼òµ¥µÄ½Å±¾Ê¹ÏµÍ³¸üÒ×ÓÚʹÓá£
¡¡¡¡UbuntuÊÇÒ»¸öºÜÒÀÀµÍøÂçµÄLinux·¢Ðа汾£¬°²×°Îļþ½ö½ö700M£¬³ýÁË»ù±¾µÄϵͳÐèÒªµÄ²¿·Ö¼¸ºõ¶¼ÐèҪͨ¹ýÍøÂç½øÐиüС£Ê×ÏÈÎÒÃÇÐèÒªÅäÖà UbuntuµÄÈí¼þÔ´£¬Ä¬È쵀 ......

LinuxÏÂMakefile µÄautomakeÉú³ÉÏê½â

 Ò»¡¢Makefile½éÉÜ
¡¡¡¡MakefileÊÇÓÃÓÚ×Ô¶¯±àÒëºÍÁ´½ÓµÄ£¬Ò»¸ö¹¤³ÌÓкܶàÎļþ×é³É£¬Ã¿Ò»¸öÎļþµÄ¸Ä±ä¶¼»áµ¼Ö¹¤³ÌµÄÖØÐÂÁ´½Ó£¬µ«ÊDz»ÊÇËùÓеÄÎļþ¶¼ÐèÒªÖØбàÒ룬MakefileÖмͼÓÐÎļþµÄÐÅÏ¢£¬ÔÚmakeʱ»á¾ö¶¨ÔÚÁ´½ÓµÄʱºòÐèÒªÖØбàÒëÄÄЩÎļþ¡£
¡¡¡¡MakefileµÄ×ÚÖ¼¾ÍÊÇ£ºÈñàÒëÆ÷ÖªµÀÒª±àÒëÒ»¸öÎļþÐèÒªÒÀÀµÆäËûµÄ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ