Linux¹²ÏíÎļþ¼ÐÉèÖÃʵÀý
1.ÔÚ´æ·Å¹²ÏíÎļþµÄ·þÎñÆ÷ÉèÖù²ÏíÎļþ¼Ð,
1) ¸ü¸Ä/etc/exports Îļþ, ½«ÐèÒª¹²ÏíµÄÎļþ¼ÐÉèÖóɹ²ÏíĿ¼,rw´ú±í¿É¶Á¿Éд,sync´ú±íͬ²½µÄÒâ˼,Ç°ÃæµÄ*±íʾËùÓÐIP¶¼¿ÉÒÔ·ÃÎÊ
/tmp/update *(rw,sync)
/opt/orabackup/prd *(root_squash,rw,sync)
/home/claim/deploy/callcenter *(rw,sync)
/home/claim/deploy/inner *(rw,sync)
/home/claim/deploy/outer *(rw,sync)
2) ÉèÖÃÍê±Ïºó,ÓÃservice nfs restart ÃüÁîÖØÆô,½«nfs·þÎñÆô¶¯ÆðÀ´.ÈçÒÔÏÂÌáʾ
Shutting down NFS mountd: [ OK ]
Shutting down NFS daemon: [ OK ]
Shutting down NFS quotas: [ OK ]
Shutting down NFS services: [ OK ]
Starting NFS services: [ OK ]
Starting NFS quotas: [ OK ]
Starting NFS daemon: [ OK ]
Starting NFS mountd: [ OK ]
2. ÔÚÐèÒªÁ¬½Ó¹²ÏíÎļþ¼ÐµÄ·þÎñÆ÷ÉÏ.
1. ÐÞ¸Ä/etc/fstabÎļþ, Óû§µÇ¼ʱ»á×Ô¶¯¼ÓÔØ´ËÎļþÐÅÏ¢. ÈçÏÂËùʾ,
/dev/VolGroup00/LogVol00 / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none
Ïà¹ØÎĵµ£º
»·¾³ËµÃ÷£º±¾»úÖ»ÓÐÒ»ÕÅÍø¿¨£¬Ê¹Óþ²Ì¬IPÉÏÍø
ÃüÁapt-get install shorewall ubuntu»á×Ô¶¯µÄ¸øÄã°²×°ºÃ£¬µ«ÊÇshorewallûÓÐÅäÖÃ
ҲûÓÐÆô¶¯
¡¸1¡¹Ê×ÏÈcp /usr/share/doc/shorewall/examples/one-interface/* /etc/shorewall
¡¸2¡¹ÐÞ¸Ä/etc/shorewall/shor ......
Ò»¡¢LINUXϹØÓÚÎļþȨÏ޵ıíʾ·½·¨ºÍ½âÎö
LINUXÏ¿ÉÒÔÓÃls -l ÃüÁîÀ´¿´µ½ÎļþµÄȨÏÞ¡£ÓÃlsÃüÁîËùµÃµ½µÄ±íʾ·¨µÄ¸ñʽÊÇÀàËÆÕâÑùµÄ£º-rwxr-xr-x ¡£ÏÂÃæ½âÎöһϸñʽËù±íʾµÄÒâ˼¡£ÕâÖÖ±íʾ·½·¨Ò»¹²ÓÐʮλ£º
9 8 7 6 5 4 3 2 1 0
- r w x r - x r - x
µÚ9λ±íʾÎļþÀàÐÍ,¿ÉÒÔΪp¡¢d¡¢l¡¢s¡¢c ......
VSFTPDµÄÉèÖÃÑ¡Ïî
¡¡¡¡VSFTPDµÄÅäÖÃÎļþ/etc/vsftpd/vsftpd.confÊǸöÎı¾Îļþ¡£ÒÔ“#”×Ö·û¿ªÊ¼µÄÐÐÊÇ×¢ÊÍÐС£Ã¿¸öÑ¡ÏîÉèÖÃΪһÐУ¬¸ñʽΪ“option=value”£¬×¢Òâ“=”ºÅÁ½±ß²»ÄÜÁô¿Õ°×·û¡£³ýÁËÕâ¸öÖ÷ÅäÖÃÎļþÍ⣬»¹¿ÉÒÔ¸øÌض¨Óû§É趨¸öÈËÅäÖÃÎļþ£¬¾ßÌå½éÉܼûºó¡£
¡¡¡¡VSFTPD°üÖÐËù´øµ ......
Linux 2.6 ×Ö·ûÉ豸Çý¶¯³ÌÐò
¡ð¡¢ËµÃ÷
±Ê¼ÇÊÊÓÃÓÚLinuxµÄ2.6.10ÒÔºóµÄÄںˡ£
±Ê¼ÇÒÔLinux
Device
Driver3ÌṩµÄscull³ÌÐò(scullĿ¼ÖеÄmain.cºÍscull.h)Ϊ¼Ç¼Ö÷Ïߣ¬²¢ÒÔ¸ÃÇý¶¯³ÌÐòÖеĸ÷ÖÖϵͳµ÷Óúͺ¯Êýµ÷ÓÃÁ÷³ÌΪ¼Ç
¼˳Ðò¡£±ÈÈ磬module_init( )ºÍmodule_exit(
)ΪÏà¶ÔÓ¦µÄÒ»¶Ôϵͳµ÷Óã¬Ò»°ãÊé¼®Öж¼»á·ÅÔÚÒ ......
LinuxµÄÍøÂçÐÒéÕ»
LinuxµÄÐÒéÕ»ÆäʵÊÇÔ´ÓÚBSDµÄÐÒéÕ»£¬ËüÏòÉÏÒÔ¼°ÏòϵĽӿÚÒÔ¼°ÐÒéÕ»±¾ÉíµÄÈí¼þ·Ö²ã×éÖ¯µÄ·Ç³£ºÃ¡£
LinuxµÄÐÒéÕ»»ùÓÚ·Ö²ãµÄÉè¼Æ˼Ï룬×ܹ²·ÖΪËIJ㣬´ÓÏÂÍùÉÏÒÀ´ÎÊÇ £ºÎïÀí²ã£¬Á´Â·²ã£¬ÍøÂç²ã£¬Ó¦Óò㡣
& ......