LinuxÏÂOracleÖØÆôºÍÐÞ¸ÄÁ¬½ÓÊý
Ò»¡¢Æô¶¯
1.#su - oracle Çл»µ½oracleÓû§ÇÒÇл»µ½ËüµÄ»·¾³
2.$lsnrctl status ²é¿´¼àÌý¼°Êý¾Ý¿â״̬
3.$lsnrctl start Æô¶¯¼àÌý
4.$sqlplus / as sysdba ½øÈësqlplus
5.SQL>conn / as sysdba ÒÔDBAÉí·ÝµÇ¼
6.SQL>startup Æô¶¯db
¶þ¡¢Í£Ö¹
1.#su - oracle Çл»µ½oracleÓû§ÇÒÇл»µ½ËüµÄ»·¾³
2.$lsnrctl stop Í£Ö¹¼àÌý
3.$sqlplus / as sysdba ½øÈësqlplus
4.SQL>conn / as sysdba ÒÔDBAÉí·ÝµÇ¼
5.SQL>SHUTDOWN IMMEDIATE ¹Ø±Õdb
ÆäÖÐstartupºÍshutdowm»¹ÓÐÆäËûһЩ¿ÉÑ¡²ÎÊý£¬ÓÐÐËȤ¿ÉÒÔÁíÐвéÔÄ
Èý¡¢²é¿´³õʼ»¯²ÎÊý¼°ÐÞ¸Ä
1.#su - oracle Çл»µ½oracleÓû§ÇÒÇл»µ½ËüµÄ»·¾³
2.$sqlplus / as sysdba ½øÈësqlplus
3.SQL>conn / as sysdba ÒÔDBAÉí·ÝµÇ¼
4.SQL>show parameter session; ²é¿´Ëù½ÓÊܵÄsessionÊýÁ¿
5.SQL>alter system set shared_servers=10; ½«shared_serversµÄÊýÁ¿ÉèÖÃΪ10
ËÄ£®Êý¾Ý¿âÁ¬½ÓÊýÄ¿
ÆäÖÐÒ»¸öÊý¾Ý¿âÁ¬½ÓÐèÒªÒ»¸ösession,ËüµÄÖµÓÉprocesses¾ö¶¨£¬sessionÓëprocessesͨ³£ÓÐÒÔϹØϵ£º
session = 1.1 * processes + 5
a¡¢ÒÔsysdbaÉí·ÝµÇ½PL/SQL »òÕß Worksheet
b¡¢²éѯĿǰÁ¬½ÓÊý
&nbs
Ïà¹ØÎĵµ£º
Ò»
ʹÓÿâ±ØÒªÐÔ
Ìá¸ß´úÂëÖØÓÃÐÔ¡£
¶þ
¿âµÄÖÖÀࣺ
1
¾²Ì¬¿â
Ò»°ãÒÔ
*.a
ÃüÃû¡£
³ÌÐò±àÒëʱ±»¼ÓÔØ£¬´Ëºó£¬Ö»Òª³ÌÐò²»±»ÖØбàÒ룬¾²Ì¬¿â¾ÍûÓÐ×÷ÓÃÁË£¨¿ÉÒÔɾµô£©¡£
ÓÉ
ÓÚ¾²Ì¬¿âµÄ´úÂëÔÚ±àÒë¹ý³ÌÖÐÒѾ±»ÔØÈ ......
1£¬´ò¿ª´®¿Ú
/**´ò¿ª´®¿Ú£¬dev ´®¿ÚÉ豸Ãû£¬ mode ´ò¿ª·½Ê½£¬**/
int opendev(char *dev,mode_t mode)
{
int fd;
fd = ......
°Ñ×Ô¼º³£ÓõÄһЩlinuxÃüÁî¼Ç¼ÏÂÀ´
1. ²é¿´µ±Ç°Óû§ºÍ×é
less /etc/passwd
less /etc/group »òÕß groups ²é¿´×é
ÓÐÈË˵ÓÃÉÏÃæÄÇÁ½¸öÃüÁîµÃµ½µÄ½á¹û²»ÍêÈ«£¬Ò»Ð©ÌØÊⷽʽ½¨Á¢µÄ¾Í¿´²»µ½ÁË£¬¿É¸ÄÓÃ
getent passwd
getent group
2. ¸Ä±äÎļþµÄËùÓÐÕߺÍËùÊô×é
chown baoniu ......
Ç°¼¸Ìì¸üÐÂubuntuµÄʱºò£¬Í»È»Ê§°Ü£¬×Ðϸһ¿´£¬ÊÇжÔØÀÏ°æ±¾µÄgzipʱºò³öÁËÎÊÌâ¡£´íÎóÐÅÏ¢£º
install-info: No dir file specified; try --help for more information.
ÊÔÁ˶à¸ö³£ÓõÄÊÖ¶¯Ð¶ÔØ·½·¨¶¼Ã»·¨¸ã¶¨£¬ÓÚÊÇÇóÖúgoogle£¬ºÜ¿ìÕÒµ½´ð°¸¡£ÊÇGNU°æµÄinstall-info´úÌæÁËdebian°æµÄinstall-infoÔì³ÉµÄÎÊÌ⣬¸²¸Ç»ØÀ´¾ÍOK ......
ÅäÖÃÎļþÒ»ÀÀ±í ÎļþλÖü°Ãû³Æ,×÷ÓÃ
¡¡¡¡/etc/rc.d/rc.sysinit
¡¡¡¡ÏµÍ³Æô¶¯Ê±µÄ¹«Ó÷þÎñÅäÖÃ
¡¡¡¡/etc/rc.d/rc.local
¡¡¡¡ÏµÍ³Æô¶¯Ê±µÄ±¾µØ·þÎñÅäÖÃ
¡¡¡¡/etc/bashrc¡¢/etc/profile
¡¡¡¡bash shellµÄ¹«ÓÃÅäÖÃ
¡¡¡¡/home/username/.bashrc
¡¡¡¡¸÷Óû§Ë½ÈËbash shellÅäÖÃ
¡¡¡¡/etc/securetty
¡¡¡¡Öն˰²È«ÉèÖÃ
......