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

ÈçºÎ´î½¨linux¿ª·¢·þÎñÆ÷

    ÔÚ¿ª·¢¹ý³ÌÖУ¬±ØÈ»»á³öÏÖ¶àÈËͬʱ¹¤×÷¡¢Ð­×ŵÄÇé¿ö£¬ÔÚǶÈëʽ¿ª·¢ÏîÄ¿ÖиüΪƽ³££¬ÕâÑù¿ÉÒÔ¼Ó¿ìÏîÄ¿ÖÜÆÚ£¬Îª²úÆ·ÉÏÊÐÕ¼µÃʱ¼äÏÈ»ú¡£Ä¿Ç°£¬Ê¹ÓÃlinux×÷Ϊ¿ª·¢²úÆ·µÄ²Ù×÷ϵͳÇé¿öÔ½À´Ô½¶à£¬Ê¹ÓÃÔ½À´Ô½¹ã·º¡£ÎªÁ˽»²æ±àÒ룬ΪÁË×î½Ó½ü¿ª·¢Ä¿±ê£¬ÎÒÃÇÒ»°ã¶¼»á×Ô¼º´î½¨Ò»Ì¨linux¿ª·¢·þÎñÆ÷¡£linux¿ª·¢·þÎñÆ÷һЩ³£ÓõŦÄܱØÐëÖ§³Ö£¬±ÈÈçSamba¡¢nfs¡¢tftp¡¢httpdµÈ¡£
    Ê×ÏÈÎÒÃÇÐèҪѡÔñºÏÊʵÄlinux²Ù×÷ϵͳ×÷Ϊ·þÎñÆ÷µÄϵͳ£¬ÍƼöʹÓÃFedora8¡¢Fedora10µÈ£¬±ÊÕßÔÚ³¤ÆÚʹÓõĹý³ÌÖоõµÃ±È½ÏÎȶ¨°É£¡ÈçºÎ°²×°¸Ã²Ù×÷ϵͳ¾Í²»¶à˵ÁË¡£
   ×°ºÃϵͳºó£¬ÐèÒªÔö¼Ólinux OSÓû§£¬¿ÉÒÔʹÓÃÃüÁî#adduser XXX;Ôö¼ÓXXXÓû§£¬#passwd XXX¸øÆäÉèÖõǼÃÜÂë¡£µ±È»Ê¹ÓÃͼÐλ¯´´½¨Óû§Ò²ºÜÖ±¹Û¡¢·½±ã¡£ÔÚÕâ¸ö»·½ÚÖµµÃ×¢ÒâµÄÒ»¶¨ÒªÉèÖúøÃÓû§µÄhomeĿ¼£¬Ò»°ã¶¼»áÉèÖõ½¸ÃÓû§µÄ¹¤×÷Ŀ¼£¬¸÷¸öÓû§µÄ¹¤×÷Ŀ¼ÐèҪ˽Óл¯¡¢¶ÀÁ¢¿ªÀ´£¬ÕâÑù·½±ãЩ¡¢°²È«Ð©¡£
     ¶àÓû§µÄÕË»§ÓÐÁË£¬ÎÒÃÇÓ¦¸ÃÀ´´òͨÍøÂ繦ÄÜÁË£¬FedoraÓÐbug£¬ÔÚͼÐλ¯ÅäÖÃGATEWAYʲôµÄ»á²»³É¹¦£¬Çë°²×°ÈçÏ·½·¨Ð޸ģº
# cd cd /etc/sysconfig/network-scripts/
# vi ifcfg-eth0
ÐÞ¸ÄÅäÖÃÎļþÈçÏ£º
# Marvell Technology Group Ltd. 88E8001 Gigabit Ethernet Controller
DEVICE=eth0
HWADDR=00:16:e6:db:c2:96
ONBOOT=yes
BOOTPROTO=static //Õâ¸öÓ¦¸ÃÊÇ“static”£¬¶ø²»ÊÇ“dhcp”»ò“none”£»
USERCTL=yes
PEERDNS=yes
IPV6INIT=no
NM_CONTROLLED=yes//Õâ¸öÓ¦¸ÃÊÇ“yes”,Èç²»Ð޸ģ¬Á´½ÓÈÔÊÇdisconnected£»
TYPE=Ethernet
NETMASK=***.***.***.***
IPADDR=***.***.***.***
DNS1=***.***.***.***
DNS2=***.***.***.***
GATEWAY=***.***.***.***
step 3£º
# service network restart
   ½ÓÏÂÀ´¾ÍÐèÒªµ÷ÊÔÒ»ÏÂSamba¹¦ÄÜÁË£¬ÕâÑùÔÚwindowsϱ༭linuxϵĴúÂ뽫·Ç³£µÄ±ãÀû¡£ÃüÁîÐÐϲÙ×÷·½·¨ÈçÏ£º
Vim /etc/samba/smbusers
# Unix_name = SMB_name1 SMB_name2 ...
root = administrator admin
nobody = guest pcguest smbguest
dssun = dssun
hmchen = hmchen
Ôö¼ÓSambaÓû§£»
Vim /etc/samba/smb.conf
[dssun]
         comment = *
         path = /opt/ST


Ïà¹ØÎĵµ£º

ÀÏÊÖ¾­Ñé:LinuxÇý¶¯³ÌÐò¿ª·¢Ñ§Ï°²½Öè [תstonly]


2009-10-21
1. ѧ»áд¼òµ¥µÄmakefile
2. ±àÒ»Ó¦ÓóÌÐò£¬¿ÉÒÔÓÃmakefileÅÜÆðÀ´
3. ѧ»áдÇý¶¯µÄmakefile
4. дһ¼òµ¥charÇý¶¯£¬makefile±àÒëͨ¹ý£¬¿ÉÒÔinsmod, lsmod, rmmod. ÔÚÇý¶¯µÄinitº¯ÊýÀï´òÓ¡hello world, insmodºóÓ¦¸ÃÄܹ»Í¨¹ýdmesg¿´µ½Êä³ö¡£
5. дһÍêÕûÇý¶¯£¬ ¼ÓÉÏread, write, ioctl, pollingµÈ¸÷ÖÖº ......

LinuxÈí¼þ°²×°

               LinuxÈí¼þ°²×°
            ÔÚLinuxϵͳÖУ¬Èí¼þ°²×°³ÌÐò±È½Ï·×·±¸´ÔÓ£¬²»¹ý×î³£¼ûµÄÓÐÁ½ÖÖ£º
            1£ ......

LinuxÉ豸Çý¶¯ÖеÄÒ첽֪ͨÓëÒì²½I/O

LinuxÉ豸Çý¶¯ÖеÄÒ첽֪ͨÓëÒì²½I/O
Ò첽֪ͨµÄ¸ÅÄîÓë×÷ÓÃ
Ò첽֪ͨµÄÒâ˼ÊÇ£ºÒ»µ©É豸¾ÍÐ÷,ÔòÖ÷¶¯Í¨ÖªÓ¦ÓóÌÐò,ÕâÑùÓ¦ÓóÌÐò¸ù±¾¾Í²»ÐèÒª²éѯÉ豸״̬,ÕâÒ»µã·Ç³£ÀàËÆÓÚÓ²¼þÉÏ"ÖжÏ"µÄ¸ÅÄî,±È½Ï׼ȷµÄ³ÆνÊÇ"ÐźÅÇý¶¯µÄÒì²½I/O"¡£
 LinuxÐźÅ
 LinuxϵͳÖУ¬Ò첽֪ͨʹÓÃÐźÅÀ´ÊµÏÖ¡£ÐźÅÒ²¾ÍÊÇÒ»ÖÖ ......

LinuxÏ°²×°SVN·þÎñÆ÷

°²×°»·¾³
CentOS 4.3 Final
Èí¼þÁбí
httpd-2.0.61.tar.gz
db-4.3.29.tar.gz
subversion-1.3.2.tar.gz
Èí¼þλÖÃ
/data/software
°²×°²½Öè
#mkdir /data/software/pkg
-p
°²×°Berkeley DB
#cd
/data/software/pkg
#tar zxvf ../db-4.3.29.tar.gz
#cd
db-4.3.29/docs
#../dist/configure
#make &&am ......

linux ¹ÜÀíÃüÁî Ö® ¼àÊÓϵͳ

1.¼àÊÓÄÚ´æ
free -mt
             total       used       free     shared    buffers     cached
Mem:     ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ