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

Linuxϵͳ¹ÜÀíʵ¼ù(7)£ºÍøÂçÅäÖÃ

 
   
Òª½¨Á¢Ò»¸ö°²È«Linux·þÎñÆ÷¾ÍÊ×ÏÈÒªÁ˽âLinux»·¾³ÏºÍÍøÂç·þÎñÏà¹ØµÄÅäÖÃÎļþµÄº¬Òå¼°ÈçºÎ½øÐа²È«µÄÅäÖá£ÔÚLinuxϵͳÖУ¬TCP/IPÍø
ÂçÊÇͨ¹ýÈô¸É¸öÎı¾Îļþ½øÐÐÅäÖõģ¬Ò²ÐíÄãÐèÒª±à¼­ÕâЩÎļþÀ´Íê³ÉÁªÍø¹¤×÷£¬µ«ÊÇÕâЩÅäÖÃÎļþ´ó¶¼¿ÉÒÔͨ¹ýÅäÖÃÃüÁîlinuxconf(ÆäÖÐÍøÂ粿·ÖµÄÅä
ÖÿÉÒÔͨ¹ýnetconfÃüÁîÀ´ÊµÏÖ)ÃüÁîÀ´ÊµÏÖ£¨ÕâÁ½¸ö¹¤¾ßÔÚReadHat/FedoraÅÉϵÖÐÌṩ£©¡£ÏÂÃæ½éÉÜ»ù±¾µÄTCP/IPÍøÂçÅäÖÃÎÄ
¼þ¡£     
    1¡¢/etc/hostnameÎļþ£º
¸ÃÎļþ°üº¬ÁËϵͳµÄÖ÷»úÃû³Æ£¬°üÀ¨ÍêÈ«µÄÓòÃû£¬Èçdeep.openarch.com¡£ ÎÒµÄUbuntuϵͳÖеÄ/etc/hostnameÖ»ÓÐÒ»ÐÐÄÚÈÝ£ºlaptop-zhou£¬ÕâÊÇÎÒϵͳµÄÖ÷»úÃû¡£
    2¡¢/etc/sysconfig/network-scripts/ifcfg-ethNÎļþ£º
RedHat/Fedora
ÅÉϵÖÐÓÃÓÚ±£´æϵͳÍøÂçÉ豸µÄÅäÖÃÎļþ£¬°üÀ¨IPµØÖ·¡¢ÍøÂçÑÚÂë¡¢¹ã²¥µØÖ·µÈ¡£ifcfg-eth0°üº¬µÚÒ»¿éÍø¿¨µÄÅäÖÃÐÅÏ¢£¬ifcfg-eth1°üº¬
µÚ¶þ¿éÍø¿¨µÄÅäÖÃÐÅÏ¢£¬ÒÀ´ÎÀàÍÆ¡£ÏÂÃæÊÇ“/etc/sysconfig/network-scripts/ifcfg-eth0”ÎļþµÄʾÀý£º
DEVICE=eth0
IPADDR=208.164.186.1
NETMASK=255.255.255.0
NETWORK=208.164.186.0
BROADCAST=208.164.186.255
ONBOOT=yes
BOOTPROTO=none
USERCTL=no

    ÈôÏ£ÍûÊÖ¹¤ÐÞ¸ÄÍøÂçµØÖ·»òÔÚеĽӿÚÉÏÔö¼ÓеÄÍøÂç½çÃ棬¿ÉÒÔͨ¹ýÐ޸ĶÔÓ¦µÄÎļþ£¨ifcfg-ethN£©»ò´´½¨ÐµÄÎļþÀ´ÊµÏÖ¡£
DEVICE=name£ºname±íʾÎïÀíÉ豸µÄÃû×Ö
IPADDR=addr£ºaddr±íʾ¸³¸ø¸Ã¿¨µÄIPµØÖ·
NETMASK=mask£ºmask±íʾÍøÂçÑÚÂë
NETWORK=addr£ºaddr±íʾÍøÂçµØÖ·
BROADCAST=addr£ºaddr±íʾ¹ã²¥µØÖ·
ONBOOT=yes/no£ºÆô¶¯Ê±ÊÇ·ñ¼¤»î¸Ã¿¨
BOOTPROTO=...£ºÊ¹ÓõÄÆô¶¯Ð­Òé¡£none±íʾÎÞÐëÆô¶¯Ð­Ò飬static±íʾ·ÖÅ侲̬IP£¬bootp±íʾʹÓÃbootpЭÒ飬 dhcp±íʾʹÓÃdhcpЭÒé
USERCTL=yes/no£ºÊÇ·ñÔÊÐí·ÇrootÓû§¿ØÖƸÃÉ豸    
    3¡¢/etc/resolv.confÎļþ£º
ÓòÃû½âÎöÆ÷£¨resolver£¬Ò»¸ö¸ù¾ÝÖ÷»úÃû½âÎöIPµØÖ·µÄ¿â£©Ê¹ÓõÄÅäÖÃÎļþ£¬ÎÒµÄUbuntuÖеÄÄÚÈÝÈçÏ£º
search lib
nameserver 202.96.209.6
nameserver 192.168.0.1

   
ÕâÀï“search”Ö¸¶¨ËÑË÷Óò£¬ÕâÀïÖ¸¶¨ÎªÔÚÓòÃû½âÎö¿âÖÐËÑË÷¡£ÓÖÈç"search
openarch.com"±íʾµ±ÌṩÁËÒ»¸ö²»°üÀ¨ÍêÈ«ÓòÃûµÄÖ÷»úÃ


Ïà¹ØÎĵµ£º

ʵս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µÈЭÒé ......

linux³£ÓÃsvnÃüÁî

        1¡¢½«Îļþcheckoutµ½±¾µØĿ¼
svn checkout path£¨pathÊÇ·þÎñÆ÷ÉϵÄĿ¼£©
ÀýÈ磺svn checkout svn://192.168.1.1/pro/domain
¼òд£ºsvn co
        2¡¢Íù°æ±¾¿âÖÐÌí¼ÓеÄÎļþ
svn add file
ÀýÈ磺svn addtest.php(Ìí¼Ótest.php)
s ......

linuxÏ oracleµÄ°²×°

  °²×°×¼±¸£º
ÏÂÔØÎļþ
l         Oracle Database 10g Release 2(10.2.0.1) Software
½âѹÎļþ
½âѹÎļþÃüÁ
unzip 10201_database_linux32.zip
½âѹºóµÄÎļþ¼Ð¿ÉÄÜ“database”»ò“db/Disk1”
HostsÎļþ
ÔÚ/etc/hosts ÎļþÖаüº¬Ò»¸öÍêÕûºÏ· ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ