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

Linux ½ø³Ì¹ÜÀí

1¡¢³ÌÐòºÍ½ø³Ì£»
³ÌÐòÊÇΪÁËÍê³ÉijÖÖÈÎÎñ¶øÉè¼ÆµÄÈí¼þ£¬±ÈÈçOpenOfficeÊdzÌÐò¡£Ê²Ã´Êǽø³ÌÄØ£¿½ø³Ì¾ÍÊÇÔËÐÐÖеijÌÐò¡£
Ò»¸öÔËÐÐ×ŵijÌÐò£¬¿ÉÄÜÓжà¸ö½ø³Ì¡£ ±ÈÈç LinuxSir.Org ËùÓõÄWWW·þÎñÆ÷ÊÇapache·þÎñÆ÷£¬µ±¹ÜÀíÔ±Æô¶¯·þÎñºó£¬¿ÉÄÜ»áÓкöàÈËÀ´·ÃÎÊ£¬Ò²¾ÍÊÇ˵Ðí¶àÓû§À´Í¬Ê±ÇëÇóhttpd·þÎñ£¬apache·þÎñÆ÷½«»á´´½¨Óжà¸öhttpd½ø³ÌÀ´¶ÔÆä½øÐзþÎñ¡£
1.1 ½ø³Ì·ÖÀࣻ
½ø³ÌÒ»°ã·ÖΪ½»»¥½ø³Ì¡¢Åú´¦Àí½ø³ÌºÍÊØ»¤½ø³ÌÈýÀà¡£
ÖµµÃÒ»ÌáµÄÊÇÊØ»¤½ø³Ì×ÜÊÇ»îÔ¾µÄ£¬Ò»°ãÊǺǫ́ÔËÐУ¬ÊØ»¤½ø³ÌÒ»°ãÊÇÓÉϵͳÔÚ¿ª»úʱͨ¹ý½Å±¾×Ô¶¯¼¤»îÆô¶¯»ò³¬¼¶¹ÜÀíÓû§rootÀ´Æô¶¯¡£±ÈÈçÔÚFedora»òRedhatÖУ¬ÎÒÃÇ¿ÉÒÔ¶¨Òåhttpd ·þÎñÆ÷µÄÆô¶¯½Å±¾µÄÔËÐм¶±ð£¬´ËÎļþλÓÚ/etc/init.dĿ¼Ï£¬ÎļþÃûÊÇhttpd£¬/etc/init.d/httpd ¾ÍÊÇhttpd·þÎñÆ÷µÄÊØ»¤³ÌÐò£¬µ±°ÑËüµÄÔËÐ춱ðÉèÖÃΪ3ºÍ5ʱ£¬µ±ÏµÍ³Æô¶¯Ê±£¬Ëü»á¸ú×ÅÆô¶¯¡£
[root@localhost ~]# chkconfig --level 35 httpd on
ÓÉÓÚÊØ»¤½ø³ÌÊÇÒ»Ö±ÔËÐÐ×ŵģ¬ËùÒÔËüËù´¦µÄ״̬ÊǵȴýÇëÇó´¦ÀíÈÎÎñ¡£±ÈÈ磬ÎÒÃÇÊDz»ÊÇ·ÃÎÊ LinuxSir.Org £¬LinuxSir.Org µÄhttpd·þÎñÆ÷¶¼ÔÚÔËÐУ¬µÈ´ý×ÅÓû§À´·ÃÎÊ£¬Ò²¾ÍÊǵȴý×ÅÈÎÎñ´¦Àí¡£
1.2 ½ø³ÌµÄÊôÐÔ£»
½ø³ÌID£¨PID)£ºÊÇΨһµÄÊýÖµ£¬ÓÃÀ´Çø·Ö½ø³Ì£»
¸¸½ø³ÌºÍ¸¸½ø³ÌµÄID£¨PPID)£»
Æô¶¯½ø³ÌµÄÓû§ID£¨UID£©ºÍËù¹éÊôµÄ×飨GID£©£»
½ø³Ì״̬£º×´Ì¬·ÖΪÔËÐÐR¡¢ÐÝÃßS¡¢½©Ê¬Z£»
½ø³ÌÖ´ÐеÄÓÅÏȼ¶£»
½ø³ÌËùÁ¬½ÓµÄÖÕ¶ËÃû£»
½ø³Ì×ÊÔ´Õ¼Ó㺱ÈÈçÕ¼ÓÃ×ÊÔ´´óС£¨ÄÚ´æ¡¢CPUÕ¼ÓÃÁ¿£©£»
1.3 ¸¸½ø³ÌºÍ×Ó½ø³Ì£»
ËûÃǵĹØϵÊǹÜÀíºÍ±»¹ÜÀíµÄ¹Øϵ£¬µ±¸¸½ø³ÌÖÕֹʱ£¬×Ó½ø³ÌÒ²ËæÖ®¶øÖÕÖ¹¡£µ«×Ó½ø³ÌÖÕÖ¹£¬¸¸½ø³Ì²¢²»Ò»¶¨ÖÕÖ¹¡£±ÈÈçhttpd·þÎñÆ÷ÔËÐÐʱ£¬ÎÒÃÇ¿ÉÒÔɱµôÆä×Ó½ø³Ì£¬¸¸½ø³Ì²¢²»»áÒòΪ×Ó½ø³ÌµÄÖÕÖ¹¶øÖÕÖ¹¡£
ÔÚ½ø³Ì¹ÜÀíÖУ¬µ±ÎÒÃÇ·¢ÏÖÕ¼ÓÃ×ÊÔ´¹ý¶à£¬»òÎÞ·¨¿ØÖƵĽø³Ìʱ£¬Ó¦¸ÃɱËÀËü£¬ÒÔ±£»¤ÏµÍ³µÄÎȶ¨°²È«ÔËÐУ»
2¡¢½ø³Ì¹ÜÀí£»
¶ÔÓÚLinux½ø³ÌµÄ¹ÜÀí£¬ÊÇͨ¹ý½ø³Ì¹ÜÀí¹¤¾ßʵÏֵģ¬±ÈÈçps¡¢kill¡¢pgrepµÈ¹¤¾ß£»
2.1 ps ¼àÊÓ½ø³Ì¹¤¾ß£»
ps ΪÎÒÃÇÌṩÁ˽ø³ÌµÄÒ»´ÎÐԵIJ鿴£¬ËüËùÌṩµÄ²é¿´½á¹û²¢²»¶¯Ì¬Á¬ÐøµÄ£»Èç¹ûÏë¶Ô½ø³Ìʱ¼ä¼à¿Ø£¬Ó¦¸ÃÓÃtop¹¤¾ß£»
2.1.1 ps µÄ²ÎÊý˵Ã÷£»
ps ÌṩÁ˺ܶàµÄÑ¡Ïî²ÎÊý£¬³£ÓõÄÓÐÒÔϼ¸¸ö£»
l ³¤¸ñʽÊä³ö£»
u °´Óû§ÃûºÍÆô¶¯Ê±¼äµÄ˳ÐòÀ´ÏÔʾ½ø³Ì£»
j ÓÃÈÎÎñ¸ñʽÀ´ÏÔʾ½ø³Ì£»
f ÓÃÊ÷ÐθñʽÀ´ÏÔʾ½ø³Ì£»
a ÏÔʾËùÓÐÓû§µÄËùÓнø³Ì£¨°üÀ¨ÆäËüÓû§£©£»
x ÏÔʾÎÞ¿ØÖÆÖÕ¶


Ïà¹ØÎĵµ£º

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
L ......

Linux date ÃüÁî Ïê½â

 Linux date ÃüÁî Ïê½â
Ãû³Æ : date
ʹÓÃȨÏÞ : ËùÓÐʹÓÃÕß
ʹ Ó÷½Ê½ : date [-u] [-d datestr] [-s datestr] [--utc] [--universal]
[--date=datestr] [--set=datestr] [--help] [--version] [+FORMAT]
[MMDDhhmm[[CC]YY][.ss]]
˵Ã÷ : date ÄÜÓÃÀ´ÏÔʾ»òÉ趨ϵͳµÄÈÕÆÚºÍʱ¼ä£¬ÔÚÏÔʾ·½Ã棬ʹÓÃÕßÄÜÉ趨ÓûÏÔÊ ......

LinuxÏÂoracle 10g ÈÕÖ¾Îļþ¶ªÊ§

 ORA-00313: ÎÞ·¨´ò¿ªÈÕÖ¾×é 1 (Ïß³Ì 1) µÄ³ÉÔ±
½ñÌìÓÃϵͳÇåÀí¹¤¾ß°ÑϵͳÀ¬»øÇåÀíÁËÒ»·¬,½á¹ûÔÚ´ò¿ªoracle Êý¾Ý¿âʱ³öÏÖÁË´íÎó:SQL> connect / as sysdba;
ÒÑÁ¬½Ó¡£
SQL> shutdown immediate;
ORA-01109: Êý¾Ý¿âδ´ò¿ª
ÒѾ­Ð¶ÔØÊý¾Ý¿â¡£
ORACLE Àý³ÌÒѾ­¹Ø±Õ¡£
SQL> startup;
ORACLE Àý³ÌÒѾ­Æô¶¯¡£ ......

Linuxƽ̨Ï°²×°Apache (by quqi99)

       Linuxƽ̨Ï°²×°Apache (by quqi99)
 
×÷ÕߣºÕÅ»ª ·¢±íÓÚ£º2009-11-19
°æȨÉùÃ÷£º¿ÉÒÔÈÎÒâתÔØ£¬×ªÔØʱÇëÎñ±ØÒÔ³¬Á´½ÓÐÎʽ±êÃ÷ÎÄÕÂԭʼ³ö´¦ºÍ×÷ÕßÐÅÏ¢¼°±¾°æȨÉùÃ÷
 Ê×Ïȱ£Ö¤°²×°GCCÓëZLIB
 °²×°ZLIB²½Ö裺
1£©./configure --prefix=/usr/zhang/zlib
2) make ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ