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

LINUX·ÓɺÍQOSÏÞËÙ(ת£©

http://linux.chinaunix.net/bbs/archiver/?tid-1137337.html
¹Ø×¢ºÍÊÔÓÃLINUXºÜ³¤Ê±¼äÁË£¬µ«½ÏÉÙʵ¼ÊÓÃÆðÀ´£¬¸ÕºÃµ¥Î»ÐèÒ»¸ö·ÓÉÆ÷£¬ÓÐÏÐÖÃÀÏ»ú£¬ÌáÉýÏÂ×Ô¼ºÊµÕ½ÄÜÁ¦°É£¡ÍøÉÏÎÄÕºöà±ÊÎó£¬Òò´ËÓÐЩС²¨ÕÛ£¬Ï£Íû°ÑÕâ´Î¾­Àú×ܽáÏ£¬ÎªÁËÍüÈ´µÄ¼ÍÄî¡£
°²×°ºÃUBUNTU SERVER 8.04ºó£¬ÉèÖÃË«Íø¿¨£ºeth0ΪÍâÍøÍø¿¨£¬eth1ΪÄÚÍøÍø¿¨£¬
sudo vi /etc/network/interfaces
auto eth0
iface eth0  inet static
address  ÍâÍøÍø¿¨IP
netmask  ×ÓÍøÑÚÂë
gateway  Íø¹Ø
auto eth1
iface eth1 inet static
address  ÄÚÍøÍø¿¨IP
netmask  ×ÓÍøÑÚÂë
sudo /etc/init.d/networking restart
»¹ÓÐÉèÖÃDNS·þÎñÆ÷
sudo vi  /etc/resolv.conf£¨Êµ¼ÊϵͳĬÈϵIJ¢²»´æÔÚresolv.conf¸ÃÎļþ£¬ÊôÓÚ×Ô¼º´´½¨£©
nameserver   Ö÷DNS
nameserver   ºó±¸DNS
ÒªÏëʹLINUXϵͳ´ïµ½ÕâÖÖÄ¿µÄ£¬Ê×Ïȵò鿴LINUXϵͳµÄÄÚºËÖÐÊÇ·ñ´ò¿ªÁËIPת·¢¹¦ÄÜ£¬¿ÉÒÔͨ¹ýÏÂÁÐÃüÁîÀ´²é¿´£º
sudo  cat /proc/sys/net/ipv4/ip_forward
Èç¹ûÓôËÃüÁî·µ»ØµÄ½á¹ûÊÇ0£¬ÄÇô¾Í±íÃ÷LINUXÄÚºËûÓÐÆôÓÃIPת·¢¹¦ÄÜ¡£¾Í¿ÉÒÔͨ¹ýÏÂʾÃüÁîÀ´ÆôÓãº
sudo echo 1 > /proc/sys/net//ipv4/ip_forward
ͨ¹ý¹Ì¶¨¹«ÍøIPµØÖ··½Ê½Á¬½Ó»¥ÁªµÄʵÏÖ·½·¨ÈçÏ£º
sudo iptables –t nat –A POSTROUTING –s 192.168.1.0/24 -j SNAT ––to XXX.XXX.XXX.XXX
XXXÊÇÍâÍøÍø¿¨IP£¬ÎҵķÓÉ»¹Ã»×ö·À»¤£¬ÏÈÒþ²ØÁË£¬¶ÔIPTABLES»¹²»ÊìϤ£¬ºÇºÇ¡£
Óúó·¢ÏÖ»¹²»ÄÜÉÏÍø£¬Ò»·¬¼ì²é£¬»¹²»ÐУ¬±©º¹……ÃÍÈ»ÏëÆð¿ÉÄÜÊÇISP¶ÔÉÏÍøÍø¿¨µÄMACµØÖ·°ó¶¨ÁË£¬ÎҸą…
Æäʵ¾ÍÊÇÔÚÍø¿¨ÅäÖÃÎļþÖмÓÒ»ÐÐpre-up ifconfig eth0 hw ether 88:88:88:88:88:88£¨MACµØÖ·£©
sudo vi /etc/network/interfaces
auto eth0
iface eth0  inet static
pre-up ifconfig eth0 hw ether 88:88:88:88:88:88
address  ÍâÍøÍø¿¨IP
netmask  ×ÓÍøÑÚÂë
gateway  Íø¹Ø
auto eth1
iface eth1 inet static
address  ÄÚÍøÍø¿¨IP
netmask  ×ÓÍøÑÚÂë
sudo /etc/init.d/networking restart
ÄÜPINGÄÜÁË£¬Íø¿¨ÅäÖÃÄܱ£´æ£¬°ÑNATºÍQOS×ö³ÉÒ»½Å±¾£¬ÉèÖÃÖ÷ÊôΪROOT£¬·ñÔòÔËÐÐÎÞȨÏÞ£¬¿ª»úʱÔËÐС£QOSÈçÏ£º
[code]
#!/bin/sh
# BY ZWY 090916
# Coyote local


Ïà¹ØÎĵµ£º

ʵսLinux Bluetooth±à³Ì£¨Èý£© HCI²ã±à³Ì

1. HCI²ãЭÒé¸ÅÊö£º
HCIÌṩһÌ×ͳһµÄ·½·¨À´·ÃÎÊBluetoothµ×²ã¡£ÈçͼËùʾ£º
´ÓͼÉÏ¿ÉÒÔ¿´³ö£¬Host Controller Interface(HCI)  ¾ÍÊÇÓÃÀ´¹µÍ¨HostºÍModule¡£Hostͨ³£¾ÍÊÇPC£¬ ModuleÔòÊÇÒÔ¸÷ÖÖÎïÀíÁ¬½ÓÐÎʽ£¨USB,serial,pc-cardµÈ£©Á¬½Óµ½PCÉϵÄbluetooth Dongle¡£
ÔÚHostÕâÒ»¶Ë£ºapplication,SDP,L2capµÈЭÒé ......

ͼ½â£ºÈçºÎÔÚVMÖа²×°Linuxϵͳ¡£

1.°²×°VM£¬¾ÍÊÇ´«ËµÖеÄvirtual machineÀ²¡£
     £¨ÕâÀï²»Ïêϸ½²½âVMµÄ°²×°ÁË£¬¾Í°´ÕÕÒ»°ã³ÌÐò°²×°¾Í¿ÉÒÔÁË¡££©
2.ÔÚVMÖа²×°ÐéÄâϵͳ¡£
  2-1.н¨Ò»¸öÐéÄâ»ú£¬²¢ÔÚµ¯³öµÄ¶Ô»°¿òÖÐÑ¡Ôñ¾­µä£¨Ò²¿ÉÒÔÑ¡Ôñ×Ô¶¨Ò壩¡£"next"¡£
          ......

Oracle 11g R1 for Linux(RHEL5)°²×°


1
¡¢°²×°Ç°µÄ×¼±¸
1.1
¼ì²éÓ²¼þ
ÎïÀíÄڴ棺
# grep
MemTotal /proc/meminfo
½»»»¿Õ¼ä£º
# grep
SwapTotal /proc/meminfo
½»»»¿Õ¼äµÄ´óСÊǸù¾ÝÎïÀíÄÚ´æµÄ´óСÀ´ÉèÖõģ¬ÎïÀíÄÚ´æÉÙÓÚ
2G
µÄÔò½»»»¿Õ¼äÉèΪÎïÀíÄÚ´æµÄÁ½±¶£¬ÎïÀíÄÚ´æ´óÓÚ
2G
µÄÔò½»»»¿Õ¼äºÍÎïÀíÄÚ´æ´óСһÑù¡£Èç¹û²»·ûºÏÉÏÊö¹æ¶¨£¬ÄÇô¾ÍÐèÒª ......

UNIX/LinuxµÄÖ÷ÒªÌØÉ«

   
    LinuxÊÇÒ»¸öUNIXϵͳ±äÖÖ£¬Òò´ËÒ²¾Í¾ßÓÐÁËUnixϵͳµÄһϵÁÐÓÅÁ¼ÌØÐÔ£¬UnixÉϵÄÓ¦ÓÿÉÒԺܷ½±ãµØÒÆÖ²µ½Linuxƽ̨ÉÏ£¬ÕâʹµÃUnixÓû§ºÜÈÝÒ×ÕÆÎÕLinux¡£ÏÂÃæ¼òÒªµØÃèÊöUNIXÒ༴LinuxµÄһϵÁÐÌØÉ«¡£  
UNIX/LinuxµÄÖ÷ÒªÌØÉ«:
    ÔçÆÚUNIXµÄÖ÷ÒªÌØÉ«Êǽṹ¼ ......

Linux Óû§£¨user£©ºÍÓû§×飨group£©¹ÜÀí¸ÅÊö

 Ò»¡¢Àí½âLinuxµÄµ¥Óû§¶àÈÎÎñ£¬¶àÓû§¶àÈÎÎñ¸ÅÄ
Linux ÊÇÒ»¸ö¶àÓû§¡¢¶àÈÎÎñµÄ²Ù×÷ϵͳ£»ÎÒÃÇÓ¦¸ÃÁ˽ⵥÓû§¶àÈÎÎñºÍ¶àÓû§¶àÈÎÎñµÄ¸ÅÄ
1¡¢Linux µÄµ¥Óû§¶àÈÎÎñ£»
µ¥Óû§¶àÈÎÎñ£»±ÈÈçÎÒÃÇÒÔbeinan µÇ¼ϵͳ£¬½øÈëϵͳºó£¬ÎÒÒª´ò¿ªgedit À´Ð´Îĵµ£¬µ«ÔÚдÎĵµµÄ¹ý³ÌÖУ¬ÎҸоõÉÙµãÒôÀÖ£¬ËùÒÔÓÖ´ò¿ªxmms À´µã ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ