linuxÏÂnfs tftp ÅäÖÃʹÓÃ
linuxϼ¸ÖÖ·þÎñÆ÷µÄÅäÖÃʹÓÃÖ®Ò»£ºnfs tftp
°²×°nfsÐèÒªÔÚ·þÎñÆ÷¶Ë¹Ø±Õiptables·À»ðǽ£¬¹Ø±Õ·½·¨ÈçÏÂ
²é¿´·À»ðǽ״̬£º
/etc/init.d/iptables status
ÔÝʱ¹Ø±Õ·À»ðǽ£º
/etc/init.d/iptables stop
½ûÖ¹·À»ðǽÔÚϵͳÆô¶¯Ê±Æô¶¯
/sbin/chkconfig --level 2345 iptables off
ÖØÆôiptables:
/etc/init.d/iptables restart
nfs·þÎñÆ÷ÅäÖãº
1¡¢²éѯ °²×°nfs
#rpm -qa|grep nfs
nfs-utils-1.0.6-70.EL4
system-config-nfs-1.2.8-1
nfs-utils-lib-1.0.6.-3
È·±£ÒÔÉÏÈý¸ö°üÒÑÕýÈ·°²×°
2¡¢´´½¨»òÐÞ¸Ä/etc/exports ÅäÖÃÎļþ
[¹²ÏíµÄĿ¼] [Ö÷»úÃû»òIP(²ÎÊý,²ÎÊý)]
[¹²ÏíµÄĿ¼] [Ö÷»úÃû1»òIP1(²ÎÊý1,²ÎÊý2)] [Ö÷»úÃû2»òIP2(²ÎÊý3,²ÎÊý4)]
ÏÂÃæÊÇһЩNFS¹²ÏíµÄ³£ÓòÎÊý£º
ro Ö»¶Á·ÃÎÊ
rw ¶Áд·ÃÎÊ
sync ËùÓÐÊý¾ÝÔÚÇëÇóʱдÈë¹²Ïí
async NFSÔÚдÈëÊý¾ÝÇ°¿ÉÒÔÏàÓ¦ÇëÇó
secure NFSͨ¹ý1024ÒÔϵݲȫTCP/IP¶Ë¿Ú·¢ËÍ
insecure  
Ïà¹ØÎĵµ£º
-----------------------------
Based on Fedora 8 version:
-----------------------------
1. No common command like ifconfig in os?
Root cause is the standard search path not include /sbin and /usr/sbin. Try to include them in /etc/profile. As belows:
#Kenny add /sbin and /usr/sbin here.
&n ......
¶ÔÓÚÕâ¸öº¯Êý£¬ÆäʵÊǺܶàºê¶¨Òåµ÷Óõĺ¯Êý£¬ÆäÖÐalloc_bootmem_low_pages(x)ÊÇÆäÖÐÒ»¸öµ÷ÓÃËüµÄºê£¬´ó¼Ò¿ÉÒÔÈÏΪÕâЩºêÖ»ÊÇ°ÑÕâ¸ö__alloc_bootmemʵÖÊÐԵĺ¯Êý½øÐÐÁË·â×°¡£#define alloc_bootmem_low_pages(x)Ï൱ÓÚ__alloc_bootmem((x), PAGE_SIZE, 0)£¬¾ÍÊÇ´Ó0µØÖ·¿ªÊ¼µÄµÍ¶ËÄÚ´æ·ÖÅä°´Ò³´óС¶ÔÆëµÄÄÚ´æ¡£ºÃÁË£¬Îª ......
¡ð
¡¢ËµÃ÷
±Ê¼ÇÊÊÓÃÓÚ
Linux
µÄ
2.6.10
ÒÔºóµÄÄںˡ£
±Ê¼ÇÒÔ
Linux
Device
Driver3
ÌṩµÄ
scull
³ÌÐò
(scull
Ŀ¼ÖеÄ
main.c
ºÍ
scull.h)
Ϊ¼Ç¼Ö÷Ïߣ¬²¢ÒÔ¸ÃÇý¶¯³ÌÐòÖеĸ÷ÖÖϵͳµ÷Óúͺ¯Êýµ÷ÓÃÁ÷³ÌΪ¼Ç
¼˳Ðò¡£±ÈÈ磬
module_init( )
ºÍ
module_exit(
)
ΪÏà¶ÔÓ¦µÄÒ»¶Ôϵͳµ÷Óã¬Ò»°ãÊé¼®Öж ......
½Ó´¥LinuxÒ²ÊǺܾõÄÊÂÇéÁË£¬²»¹ý×ÔÎҸоõÈ´´ÓÀ´Ã»Óнҿª¹ýËüµÄÕæÃæÉ´¡£´ÓÎÒ¹¤×÷ÒÔÀ´µ½ÏÖÔÚ£¬¼¸ºõ×Ü»áÓõ½linux»òÔÚlinuxϵͳÉϽøÐй¤×÷£¬Ò²Ò»Ö±Ïë°Ñlinux¸ã¶®¡£µ«ÊÇ£¬ÓÉÓÚ×ܸоõLinuxµÄÅÓ´ó£¬Ó¢ÎÄ×ÊÁÏÄÑÒÔÔĶÁ£¬¼ÓÉÏ×ÔÉí·Ç³£µÄÀÁÉ¢£¬Òò´Ë¼¸´Î϶¨¾öÐÄ£¬×îÖÕ»¹ÊDz»ÁËÁËÖ®°É¡£ ......
LinuxϼӹÒÎļþϵͳµÄС½á
ѧϰ²Ù×÷ϵͳʱÎÒÃǶ¼Á˽⵽ÎļþϵͳÊDzÙ×÷ϵͳµÄÖØÒª×é³É²¿·ÖÖ®Ò»¡£ÎļþϵͳÓкܶàÖÖÀàÐÍ£¬±È
windowsµÄfat¡¢fat32£»LinuxµÄext¡¢ext2»òext3£»FreeBSDµÄufsµÈµÈ¡£ÔÚʹÓÃLinuxµÄ¹ý³Ì£¬Ò²³£³£Linux
²Ù×÷ϵͳʹÓÃÐéÄâÎļþϵͳVFS£¬Í¨¹ýVFS¿ÉÒÔÖ±½Ó´æÈ¡ÆäËüÒѱ»ÄÚºËÖ§³ÖµÄ¸÷ÖÖÎļþϵͳ£¬ÓÃÆðÀ´¾Í ......