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

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

 Ò»¡¢Àí½âLinuxµÄµ¥Óû§¶àÈÎÎñ£¬¶àÓû§¶àÈÎÎñ¸ÅÄ
Linux ÊÇÒ»¸ö¶àÓû§¡¢¶àÈÎÎñµÄ²Ù×÷ϵͳ£»ÎÒÃÇÓ¦¸ÃÁ˽ⵥÓû§¶àÈÎÎñºÍ¶àÓû§¶àÈÎÎñµÄ¸ÅÄ
1¡¢Linux µÄµ¥Óû§¶àÈÎÎñ£»
µ¥Óû§¶àÈÎÎñ£»±ÈÈçÎÒÃÇÒÔbeinan µÇ¼ϵͳ£¬½øÈëϵͳºó£¬ÎÒÒª´ò¿ªgedit À´Ð´Îĵµ£¬µ«ÔÚдÎĵµµÄ¹ý³ÌÖУ¬ÎҸоõÉÙµãÒôÀÖ£¬ËùÒÔÓÖ´ò¿ªxmms À´µãÒôÀÖ£»µ±È»ÌýµãÒôÀÖ»¹²»ÐУ¬MSN »¹µÃ´ò¿ª£¬ÏëÖªµÀ¼¸¸öµÜÐÖÏÖÔÚÕýÔÚ×öʲô£¬ÕâÑùÒ»Ñù£¬ÎÒÔÚÓÃbeinan Óû§µÇ¼ʱ£¬Ö´ÐÐÁËgedit ¡¢xmmsÒÔ¼°msnµÈ£¬µ±È»»¹ÓÐÊäÈë·¨fcitx £»ÕâÑù˵À´¾ÍÓеã¼òµ¥ÁË£¬Ò»¸öbeinanÓû§£¬ÎªÁËÍê³É¹¤×÷£¬Ö´ÐÐÁ˼¸¸öÈÎÎñ£»µ±È»beinanÕâ¸öÓû§£¬ÆäËüµÄÈË»¹ÄÜÒÔÔ¶³ÌµÇ¼¹ýÀ´£¬Ò²ÄÜ×öÆäËüµÄ¹¤×÷¡£
2¡¢Linux µÄ¶àÓû§¡¢¶àÈÎÎñ£»
ÓÐʱ¿ÉÄÜÊǺܶàÓû§Í¬Ê±ÓÃͬһ¸öϵͳ£¬µ«²¢²»ËùÓеÄÓû§¶¼Ò»¶¨¶¼Òª×öͬһ¼þÊ£¬ËùÒÔÕâ¾ÍÓжàÓû§¶àÈÎÎñ֮˵£»
¾Ù¸öÀý×Ó£¬±ÈÈçLinuxSir.Org ·þÎñÆ÷£¬ÉÏÃæÓÐFTP Óû§¡¢ÏµÍ³¹ÜÀíÔ±¡¢web Óû§¡¢³£¹æÆÕͨÓû§µÈ£¬ÔÚͬһʱ¿Ì£¬¿ÉÄÜÓеĵÜÐÖÕýÔÚ·ÃÎÊÂÛ̳£»ÓеĿÉÄÜÔÚÉÏ´«Èí¼þ°ü¹ÜÀí×ÓÕ¾£¬±ÈÈçluma »òYuking ÐÖÔÚ¹ÜÀíËûÃǵÄÖ÷ҳϵͳºÍFTP £»ÔÚÓë´Ëͬʱ£¬¿ÉÄÜ»¹»áÓÐϵͳ¹ÜÀíÔ±ÔÚά»¤ÏµÍ³£»ä¯ÀÀÖ÷Ò³µÄÓõÄÊÇnobody Óû§£¬´ó¼Ò¶¼ÓÃͬһ¸ö£¬¶øÉÏ´«Èí¼þ°üÓõÄÊÇFTPÓû§£»¹ÜÀíÔ±µÄ¶ÔϵͳµÄά»¤»ò²é¿´£¬¿ÉÄÜÓõÄÊÇÆÕͨÕʺŻò³¬¼¶È¨ÏÞrootÕʺţ»²»Í¬Óû§Ëù¾ßÓеÄȨÏÞÒ²²»Í¬£¬ÒªÍê³É²»Í¬µÄÈÎÎñµÃÐèÒª²»Í¬µÄÓû§£¬Ò²¿ÉÒÔ˵²»Í¬µÄÓû§£¬¿ÉÄÜÍê³ÉµÄ¹¤×÷Ò²²»Ò»Ñù£»
ÖµµÃ×¢ÒâµÄÊÇ£º¶àÓû§¶àÈÎÎñ²¢²»ÊÇ´ó¼Òͬʱ¼·µ½Ò»½ÓÔÚһ̨»úÆ÷µÄµÄ¼üÅ̺ÍÏÔʾÆ÷Ç°À´²Ù×÷»úÆ÷£¬¶àÓû§¿ÉÄÜͨ¹ýÔ¶³ÌµÇ¼À´½øÐУ¬±ÈÈç¶Ô·þÎñÆ÷µÄÔ¶³Ì¿ØÖÆ£¬Ö»ÒªÓÐÓû§È¨ÏÞÈκÎÈ˶¼ÊÇ¿ÉÒÔÉÏÈ¥²Ù×÷»ò·ÃÎʵģ»
3¡¢Óû§µÄ½ÇÉ«Çø·Ö£»
Óû§ÔÚϵͳÖÐÊÇ·Ö½ÇÉ«µÄ£¬ÔÚLinux ϵͳÖУ¬ÓÉÓÚ½ÇÉ«²»Í¬£¬È¨ÏÞºÍËùÍê³ÉµÄÈÎÎñÒ²²»Í¬£»ÖµµÃ×¢ÒâµÄÊÇÓû§µÄ½ÇÉ«ÊÇͨ¹ýUIDºÍʶ±ðµÄ£¬ÌرðÊÇUID£»ÔÚϵͳ¹ÜÀíÖУ¬ÏµÍ³¹ÜÀíÔ±Ò»¶¨Òª¼áÊØUID ΨһµÄÌØÐÔ£»
root Óû§£ºÏµÍ³Î¨Ò»£¬ÊÇÕæʵµÄ£¬¿ÉÒԵǼϵͳ£¬¿ÉÒÔ²Ù×÷ϵͳÈκÎÎļþºÍÃüÁӵÓÐ×î¸ßȨÏÞ£»
ÐéÄâÓû§£ºÕâÀàÓû§Ò²±»³Æ֮ΪαÓû§»ò¼ÙÓû§£¬ÓëÕæʵÓû§Çø·Ö¿ªÀ´£¬ÕâÀàÓû§²»¾ßÓеǼϵͳµÄÄÜÁ¦£¬µ«È´ÊÇϵͳÔËÐв»¿ÉȱÉÙµÄÓû§£¬±ÈÈçbin¡¢daemon¡¢adm¡¢ftp¡¢mailµÈ£»ÕâÀàÓû§¶¼ÏµÍ³×ÔÉíÓµÓеģ¬¶ø·ÇºóÀ´Ìí¼ÓµÄ£¬µ±È»ÎÒÃÇÒ²¿ÉÒÔÌí¼ÓÐéÄâÓû§£»
ÆÕͨÕæʵÓû§£ºÕâÀàÓû§ÄܵǼϵͳ£¬µ«Ö»ÄܲÙ×÷×Ô¼º¼ÒĿ¼µÄÄÚÈÝ£»È¨Ï


Ïà¹ØÎĵµ£º

ʵս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ÏÂC¿ª·¢——gcc£¬gdbµÄʹÓÃ

Linux
ÏÂ
C
¿ª·¢——
gcc
£¬
gdb
µÄʹÓÃ
 
×÷Õߣº
zccst
ÎÒÃÇѧϰµÄ¹ý³ÌÓ¦¸ÃÊÇÒ»¸ö»ýÀ۵Ĺý³Ì£¬ÓÐÎÞµ½ÓУ¬ÓÖÉÙµ½¶à£¬¶ø²»ÄÜÏñÏÂɽµÄºï×Ó¡£
9
Ô·ݵÄʱºòÊǵÚÒ»´Îϵͳѧϰ
gcc, gdb, makefile
£¨Ïê¼ûÇ°Ã沩¿Í£©¡£Èç½ñ×÷ΪǶÈëʽϵͳµÄÒ»¸ö×é³É²¿·Ö£¬¾ö¶¨ÖØѧһ´Î£¬¸Ð¾õÀí½â¼ÓÉîÁËһЩ¡£
gcc ......

Linux¹Ø»úÃüÁîÏê½â

 ÔÚlinuxÏÂһЩ³£ÓõĹػú/ÖØÆôÃüÁîÓÐshutdown¡¢halt¡¢reboot¡¢¼°init£¬ËüÃǶ¼
¿ÉÒÔ´ïµ½ÖØÆôϵͳµÄÄ¿µÄ£¬µ«Ã¿¸öÃüÁîµÄÄÚ²¿¹¤×÷¹ý³ÌÊDz»Í¬µÄ£¬Í¨¹ý±¾ÎĵĽéÉÜ£¬Ï£
ÍûÄã¿ÉÒÔ¸ü¼ÓÁé»îµÄÔËÓø÷ÖֹػúÃüÁî¡£
¡¡¡¡ 1.shutdown
   shutdownÃüÁȫµØ½«ÏµÍ³¹Ø»ú¡£ ÓÐЩÓû§»áʹÓÃÖ±½Ó¶Ïµôµç ......

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

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

LinuxÉÏÉèÖþ²Ì¬ÍøÂçÅäÖã¬ip/gateway/DNS

¼òµ¥¼ÇÏ£¬ÅÂ×Ô¼ºÍüÁË
1. gatewayÉèÖÃ
ÅäÖÃÎļþ£º/etc/sysconfig/network
ʾÀý£º
NETWORKING=yes
HOSTNAME=hostname
GATEWAY=xx.xx.xx.xx
²é¿´ÃüÁroute
2. ipµØÖ·ÉèÖÃ
ÅäÖÃÎļþ£º/etc/sysconfig/network-scripts/ifcfg-eth0
ʾÀý£º
BOOTPROTO=static
IPADDR=xx.xx.xx.yy
NETMASK=255.255.255.0
²é¿´ÃüÁ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ