LinuxÏÂKill¶à¸ö½ø³Ì
¹¤×÷Öо³£ÐèÒªKill¶à¸ö½ø³Ì£¬Èç¹ûÕâЩ½ø³ÌÓй²Í¬µÄÌص㣬¾Í¿ÉÒÔÓÃÒ»ÌõÃüÁîKillµôËüÃÇ¡£
±ÈÈçÇå³ýOracleÊý¾Ý¿âµÄËùÓÐÔ¶³ÌÁ¬½Ó½ø³Ì£º
ps -efww|grep LOCAL=NO|grep -v grep|cut -c 9-15|xargs kill -9
¡¡¡¡¹ÜµÀ·û“|”ÓÃÀ´¸ô¿ªÁ½¸öÃüÁ¹ÜµÀ·û×ó±ßÃüÁîµÄÊä³ö»á×÷Ϊ¹ÜµÀ·ûÓÒ±ßÃüÁîµÄÊäÈë¡£ÏÂÃæ˵˵ÓùܵÀ·ûÁª½ÓÆðÀ´µÄ¼¸¸öÃüÁ
“ps¡¡£¡¡efww”ÊÇRed Hat 7.0Àï²é¿´ËùÓнø³ÌµÄÃüÁî¡£Õâʱ¼ìË÷³öµÄ½ø³Ì½«×÷ΪÏÂÒ»ÌõÃüÁî“grep LOCAL=NO”µÄÊäÈë¡£
¡¡¡¡“grep LOCAL=NO”µÄÊä³ö½á¹ûÊÇ£¬ËùÓк¬Óйؼü×Ö“LOCAL=NO”µÄ½ø³Ì£¬ÕâÊÇOracleÊý¾Ý¿âÖÐÔ¶³ÌÁ¬½Ó½ø³ÌµÄ¹²Í¬Ìص㡣
¡¡¡¡“grep -v grep”ÊÇÔÚÁгöµÄ½ø³ÌÖÐÈ¥³ýº¬Óйؼü×Ö“grep”µÄ½ø³Ì¡£
¡¡¡¡“cut -c 9-15”ÊǽØÈ¡ÊäÈëÐеĵÚ9¸ö×Ö·ûµ½µÚ15¸ö×Ö·û£¬¶øÕâÕýºÃÊǽø³ÌºÅPID¡£
¡¡
¡¡“xargs kill -9”ÖеÄxargsÃüÁîÊÇÓÃÀ´°ÑÇ°ÃæÃüÁîµÄÊä³ö½á¹û£¨PID£©×÷Ϊ“kill
-9”ÃüÁîµÄ²ÎÊý£¬²¢Ö´ÐиÃÃüÁî¡£“kill
-9”»áÇ¿ÐÐɱµôÖ¸¶¨½ø³Ì£¬ÕâÑù¾Í³É¹¦Çå³ýÁËoracleµÄËùÓÐÔ¶³ÌÁ¬½Ó½ø³Ì¡£ÆäËüÀàËƵÄÈÎÎñ£¬Ö»ÐèÒªÐ޸ēgrep
LOCAL=NO”ÖеĹؼü×Ö²¿·Ö¾Í¿ÉÒÔÁË¡£
Ïà¹ØÎĵµ£º
ÍêÉÆLinuxϵͳ
1.¿ª»ú×Ô¶¯¹ÒÔØwindow·ÖÇø
fedora10ËäÈ»ÄÜ×Ô¶¯¹ÒÔØ,µ«ÊǹÒÔصķÖÇøÓÐʱ»á²»ÈϺº×ÖÎļþ¼Ð
´ÓÖÕ¶ËÓÃvi»ògedit´ò¿ª/etc/fstab£¬ÔÚÆäÖÐÌí¼Ó£º
/dev/sda1 /mnt/1 ntfs default 0 0
×¢£ºµÚÒ»ÏîÊÇ·ÖÇøÇý¶¯µØÖ·
......
²é¿´ËùÓл·¾³±äÁ¿ printenv
ÉèÖãºexport ±äÁ¿Ãû=±äÁ¿Öµ
ɾ³ý£ºunset ±äÁ¿Ãû
Èç¹ûÄãÏë²é¿´Ä³Ò»¸öÃû³ÆµÄ»·¾³±äÁ¿£¬ÃüÁîÊÇ£ºecho $»·¾³±äÁ¿Ãû£¬±ÈÈ磺
echo $ORACLE_HOME
cat ²é¿´ÃüÁî
source ÉúЧ
vi±à¼Æ÷
ÏÈ°´esc£¬È»ºóÊäÈë :q! £¬´æÅÌÍ˳öÊäÈë :wq
2¡¢X·½Ê½:
¡¡¡¡(1). vi /etc/services # È·±£xdmcp¶Ë¿ ......
2)Linux³ÌÐòÉè¼ÆÈëÃÅ--½ø³Ì½éÉÜ
LinuxϽø³ÌµÄ´´½¨
Ç°ÑÔ:
ÕâƪÎÄÕÂÊÇÓÃÀ´½éÉÜÔÚLinuxϺͽø³ÌÏà¹ØµÄ¸÷¸ö¸ÅÄî.ÎÒÃǽ«»áѧµ½:
½ø³ÌµÄ¸ÅÄî
½ø³ÌµÄÉí·Ý
½ø³ÌµÄ´´½¨
ÊØ»¤½ø³ÌµÄ´´½¨
----------------------------------------------------------------------------
----
1¡£½ø³ÌµÄ¸ÅÄî
Linux²Ù×÷ϵͳÊÇÃæÏ ......
3)Linux³ÌÐòÉè¼ÆÈëÃÅ--Îļþ²Ù×÷
LinuxÏÂÎļþµÄ²Ù×÷
Ç°ÑÔ:
ÎÒÃÇÔÚÕâÒ»½Ú½«ÒªÌÖÂÛlinuxÏÂÎļþ²Ù×÷µÄ¸÷¸öº¯Êý.
ÎļþµÄ´´½¨ºÍ¶Áд
ÎļþµÄ¸÷¸öÊôÐÔ
Ŀ¼ÎļþµÄ²Ù×÷
¹ÜµÀÎļþ
----------------------------------------------------------------------------
----
1¡£ÎļþµÄ´´½¨ºÍ¶Áд
ÎÒ¼ÙÉèÄãÒѾ֪µÀÁ˱ ......
ÔÚLinuxÉϽ»²æ±àÒëpppd 2.4.4
1. ÏÂÔØpppd 2.4.4µÄÔ´´úÂë
ftp://ftp.samba.org/pub/ppp/
2. Ö±½Ó±àÒë
#./configure
#make clean
#make
3. ½»²æ±àÒë
ÐÞ¸Ä./pppd-2.4.4/pppd/Makefile, ×¢ÊÍÁ½ÐУº
#wenxy comment #LIBS += -lpcap
#wenxy comment #CFLAGS += -DPPP_FILTER
cross compile
......