linuxϽûÖ¹ÐÞ¸ÄDNS·þÎñÆ÷µØÖ·(DNS±»×Ô¶¯ÐÞ¸ÄÎÊÌâ)
´ó¼Ò¶¼ÖªµÀÐÞ¸ÄlinuxϵÄDNS¿ÉÒÔÖ±½ÓÐÞ¸Ä/etc/resolv.conf:
root@xuanfei-desktop:~#vim /etc/resolv.conf
nameserver ip //ÌîÉÏÄãµ±µØʹÓõÄ×î¿ìDNS·þÎñÆ÷IPµØÖ·
nameserver ip
µ±È»Ò²¿ÉÒÔÖ±½ÓʹÓÃÍøÂç¹ÜÀíÆ÷Ð޸ġ£
µ«ÊÇÈç¹ûÄãËùÔÚ»ú¹¹»òÕß¹¤×÷µÄµØ·½±ØÐëÒªÇóÄãÓÃDHCP»ñµÃ×Ô¼º·Ç¹Ì¶¨¶¯Ì¬IP£¬ÄÇôËæÖ®¶øÈ»Äã×Ô¼ºÒ»Ïòϲ»¶µÄ»òÕß×Ô¼º¾õµÃ×î¿ìµÄDNS·þÎñÆ÷ipÒ²½«×Ô¶¯¸ü¸ÄΪËûÃÇËùÖ¸¶¨µÄDNS·þÎñÆ÷¡£
ÄÇô£¬ÎªÁ˱ÜÃâDNSÔÚDHCP×Ô¶¯»ñÈ¡µØÖ·ºó±»¸²¸Ç£¬Äú»¹ÐèÒªÕâô×ö£º
root@xuanfei-desktop:~# cp /etc/resolv.conf /etc/resolv.conf.bak
root@xuanfei-desktop:~# vim /etc/dhcp3/dhclient.conf prepend domain-name-servers 202.96.128.86 192.168.10.11;//ÏȽ«¸ÃÐÐ×¢ÊÍÈ¥µô£¬È»ºóÌîÉÏ×Ô¼ºÏëÓõ½µÄDNS·þÎñÆ÷IP
»¹ÓÐÁíÍâÒ»ÖÖ·½·¨¾ÍÊǸøDNSÅäÖÃÎļþ¼ÏËø£ºroot@xuanfei-desktop:~# chattr +i /etc/resolv.conf //¼ÓËöroot@xuanfei-desktop:~# lsattr /etc/resolv.conf //²é¿´¼ÓËøÊÇ·ñ³É¹¦ ÓÐi±íʾ³É¹¦
----i------------- /etc/resolv.conf
ÖØÐÂ×Ô¶¯»ñÈ¡IPÒ»´Îroot@xuanfei-desktop:~# dhclient //×Ô¶¯»ñÈ¡ipÃüÁîroot@xuanfei-desktop:~# cat /etc/resolv.conf //²é¿´µ±Ç°Ê¹ÓÃDNSµÄipsearch localdomain
nameserver 202.96.128.86
nameserver 192.168.10.11
ÊDz»ÊǾÍËÒ²¸Ä²»ÁËÄãµÄDNSÁËÄØ£º£© ¶ÔÀ²»Òª½ÐÄã¼ÓËøºó¾Í²»»á½âËøÁËŶ£¬¼ÇµÃ½âËøÓÃ-i¾ÍÐÐÀ ºÇºÇ ¾ÍÊÇÕâô¼òµ¥£º£©
Ïà¹ØÎĵµ£º
Linux MakefileÒѱ»¹ã·ºÓ¦Óõ«ÊÇÒ²ÔÚ²»¶ÏµÄ¸üУ¬ÕâÀï½éÉÜLinux Makefile°²×°ÉèÖÃʹÓ㬰ïÖú´ó¼Ò°²×°¸üÐÂLinux Makefileϵͳ¡£×÷ΪLinuxϵijÌÐò¿ª·¢ÈËÔ±£¬´ó¼ÒÒ»¶¨¶¼Óöµ½¹ýLinux Makefile£¬ÓÃmakeÃüÁîÀ´±àÒë×Ô¼ºÐ´µÄ³ÌÐòȷʵÊǺܷ½±ã¡£Ò»°ãÇé¿öÏ£¬´ó¼Ò¶¼ÊÇÊÖ¹¤Ð´Ò»¸ö¼òµ¥Linux Makefile£¬Èç¹ûÒªÏëд³öÒ»¸ö·ûºÏ×ÔÓÉÈí¼þ¹ßÀ ......
ÏÂÔØÈñ½ÝÉÏÍø°ü,½âѹ,ÓÐĿ¼: libpcap.so.0.6.2, libstdc++.so.5,compat-libstdc%2B%2B-33_3.2.3-48_i386.deb,xrgsu
1½øÈëruijieĿ¼
sudo cd ./ruijie(½«¸ÃÎļþ¼Ð·ÅÔÚµ±Ç°Óû§Ä¿Â¼ÏÂ)
2¸´ÖÆÎļþ
sudo cp xrgsu /bin
sudo cp libpcap.so.0.6.2 /usr/lib
sudo cp libstdc++.so.5 /usr/lib
find /usr/lib -name " ......
1,»ù±¾²Ù×÷
Ìí¼ÓÓû§
useradd
ɾ³ýÓû§
userdel
±ä¸üÃÜÂë
passwd username
²é¿´Ö´ÐÐÖнø³Ì
ps aux
ps auxf
ps
l ³¤¸ñʽÊä³ö£»
u °´Óû§ÃûºÍÆô¶¯Ê±¼äµÄ˳ÐòÀ´ÏÔʾ½ø³Ì£»
j ÓÃÈÎÎñ¸ñʽÀ´ÏÔʾ½ø³Ì£»
f ÓÃÊ÷ÐθñʽÀ´ÏÔʾ½ø³Ì£»
......
²¥·ÅÎļþ
ʹÓà MPlayer ²¥·ÅýÌåÎļþ×î¼òµ¥µÄ·½Ê½ÊÇ£º
mplayer <somefile>
MPlayer »á×Ô¶¯¼ì²âÎļþµÄÀàÐͲ¢¼ÓÒÔ²¥·Å£¬Èç¹ûÊÇÒôƵÎļþ£¬Ôò»áÔÚÃüÁîÐÐÖÐÏÔʾ¸Ã²¥·ÅÎļþµÄ״̬ÐÅÏ¢£»¶ø¼ÙÈçÊÇÊÓƵÎļþµÄ»°£¬Ôò»á´ò¿ªÒ»¸öеIJ¥·Å´°¿Ú¡£
µ¹ÍËÓë¿ì½ø
ÔÚ²¥·ÅÎļþµÄʱºò£¬Äã¿ÉÒÔͨ¹ýÒÔÏÂÈý×é¿ì½Ý¼üÀ´¶Ô²¥·Å½ø³Ì½øÐе¹ÍËÓ ......
¹ØÓÚLinuxÄÚºËѧϰµÄÎóÇøÒÔ¼°Ïà¹ØÊé¼®½éÉÜ
·¢ ²¼ ʱ ¼ä :
2008-11-19
À´ Ô´ :
À´×ÔÍøÂç
×÷ Õß :
ÄäÃû
ä¯ ÀÀ :
1053
д¸øLinuxÄÚºËÐÂÊÖ-¹ØÓÚLinuxÄÚºËѧϰµÄÎóÇø
¡¡¡¡ÏÈ˵¾äÕý¾µÄ£ºÆäʵÎÒû×ʸñдÕâƪÎÄÕ£¬ÒòΪ×Ô¼ºÒ²¾ÍÒ»Á½¸öÔÂÒÔÀ´²Å¿ ......