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
Ïà¹ØÎĵµ£º
³É¹¦ÊµÏÖLinuxÏÂpppdͨ¹ýGPRS²¦ºÅÉÏÍø
×ò
Ìì°Ñ¿ª·¢°åµÄbootloaderɾÁË,û°ì·¨,Ö»µÃÔÚPCÉϵ÷GPRS²¦ºÅÁË.ÏÈÔÚwindowsϲ¦ºÅ³É¹¦,È»ºóÓù¤¾ß¿´²¦ºÅʱ¾ßÌåʹÓÃÁËÄÄЩATÃü
Áî,ÔÙʹÓÃÕâЩÃüÁîµ½linuxÏÂʹÓÃpppdÀ´²¦ºÅ,×îºóÖÕÓڳɹ¦ÁË,֮ǰ¿ª·¢°åÉϲ»Äܳɹ¦²¦ºÅ¼«ÓпɾÍÊÇATÖ¸ÁîÓÐÎ ......
1£¬´ò¿ª´®¿Ú
/**´ò¿ª´®¿Ú£¬dev ´®¿ÚÉ豸Ãû£¬ mode ´ò¿ª·½Ê½£¬**/
int opendev(char *dev,mode_t mode)
{
int fd;
fd = ......
ÕÛÌÚÁËÁ½¸öÍíÉϵÄlinuxºÍoralce£¬×ÜËã³öÀ´µã¶«Î÷ÁË¡£Oralce°²×°ÒªÑ¡ÓÃÊÊÓõİ汾£¬²»È»°²×°²»»á³É¹¦£¬×îºóÎҵľö¶¨ÊÇlinuxÑ¡ÓÃcentos 5.0£¬oracleÑ¡ÓÃ10¡£
Ò»¡¢ ×¼±¸¹¤×÷£º
1. ʹÓÃrootÓû§µÇ¼
ÎÒʹÓõÄÊÇÔÚ±¾»ú×°£¬ËùÒÔÖ±½Ó´ò¿ªÖÕ¶Ë¾Í ......
°Ñ×Ô¼º³£ÓõÄһЩlinuxÃüÁî¼Ç¼ÏÂÀ´
1. ²é¿´µ±Ç°Óû§ºÍ×é
less /etc/passwd
less /etc/group »òÕß groups ²é¿´×é
ÓÐÈË˵ÓÃÉÏÃæÄÇÁ½¸öÃüÁîµÃµ½µÄ½á¹û²»ÍêÈ«£¬Ò»Ð©ÌØÊⷽʽ½¨Á¢µÄ¾Í¿´²»µ½ÁË£¬¿É¸ÄÓÃ
getent passwd
getent group
2. ¸Ä±äÎļþµÄËùÓÐÕߺÍËùÊô×é
chown baoniu ......
µÚ¶þÕ ±äÁ¿ºÍÔËËã·û
±¾µØ±äÁ¿:¾¡¿ÉÒÔ±»±¾½ø³ÌʹÓÃ
1 ¸³Öµ
varname=varvalue
varname="varvalue"
¿ÉÒÔͨ¹ýsetÃüÁî²é¿´±¾µØ±äÁ¿
readonly varname//ÉèÖÃΪֻ¶Á
readonly varnmae=varvalue//ÉèÖò¢³õʼ»¯
readonlyÃüÁî±¾Éí¿ÉÒÔÏÔʾËùÓÐÖ»¶Á±äÁ¿
»·¾³±äÁ¿£º¿ÉÒÔ±»×Ó½ø³ÌʹÓÃ
ϵͳ³õʼ»¯µÄ»·¾³±äÁ¿ $HOME/.bash_profi ......