LinuxϵͳÏÂNFS·þÎñÆ÷µÄÅäÖÃ
Ò»¡¢NFS·þÎñÆ÷µÄ°²×°
¼ì²élinuxϵͳÖÐÊÇ·ñ°²×°ÁËnfs-utilsºÍportmapÁ½¸öÈí¼þ°ü£¨RHEL4ϵͳĬÈÏÒѾ°²×°ÁËÕâÁ½¸öÈí¼þ°ü£©
ÃüÁî#rpm –q nfs-utils portmap
¶þ¡¢²é¿´NFS·þÎñÆ÷ÊÇ·ñÆô¶¯
ÃüÁî#service nfs starus
#service portmap status
Èý¡¢Èç¹û·þÎñÆ÷ûÓÐÆô¶¯£¬Ôò¿ªÆô·þÎñ£¨Ä¬ÈÏ·þÎñÏÂnfsûÓÐÍêÈ«¿ªÆô£©
ÃüÁî#service nfs start
#service portmap start
ËÄ¡¢Ö¸¶¨NFS·þÎñÆ÷µÄÅäÖÃÎļþ
NFS·þÎñÆ÷µÄÅäÖÃÎļþ±£´æ“/etc/”Ŀ¼ÖУ¬ÎļþÃû³ÆÊÇ“exports”£¬¸ÃÎļþÓÃÓÚ±»Ö¸NFS·þÎñÆ÷ÌṩµÄĿ¼¹²Ïí
ÃüÁî#vi /etc/exports
ÅäÖÓexports”Îļþ¸ñʽÈçÏÂ
/home *£¨sync£¬ro£©
Home£º¹²ÏíĿ¼Ãû
*£º±íʾËùÓÐÖ÷»ú
£¨sync£¬ro£©£ºÉèÖÃÑ¡Ïî
exportsÎļþÖеēÅäÖÃÑ¡Ïî”×ֶηÅÖÃÔÚÀ¨ºÅ¶Ô£¨“£¨ £©”£©ÖÐ £¬¶à¸öÑ¡Ïî¼äÓöººÅ·Ö¸ô
sync£ºÉèÖÃNFS·þÎñÆ÷ͬ²½Ð´´ÅÅÌ£¬ÕâÑù²»»áÇáÒ׶ªÊ§Êý¾Ý£¬½¨ÒéËùÓеÄNFS¹²ÏíĿ¼¶¼Ê¹ÓøÃÑ¡Ïî
ro£ºÉèÖÃÊä³öµÄ¹²ÏíĿ¼ֻ¶Á£¬Óërw²»Äܹ²Í¬Ê¹ÓÃ
rw£ºÉèÖÃÊä³öµÄ¹²ÏíĿ¼¿É¶Áд£¬Óëro²»Äܹ²Í¬Ê¹ÓÃ
exportsÎļþÖГ¿Í»§¶ËÖ÷»úµØÖ·”×ֶοÉÒÔʹÓöàÖÖÐÎʽ±íʾÖ÷»úµØÖ·
192.168.152.13¡¡Ö¸¶¨IPµØÖ·µÄÖ÷»ú
nfsclient.test.com¡¡Ö¸¶¨ÓòÃûµÄÖ÷»ú
192.168.1.0/24¡¡Ö¸¶¨Íø¶ÎÖеÄËùÓÐÖ÷»ú
*.test.com¡¡Ö¸¶¨ÓòϵÄËùÓÐÖ÷»ú
*¡¡ËùÓÐÖ÷»ú
Îå¡¢ÖØÐÂÊä³ö¹²ÏíĿ¼
Exportfs¹ÜÀí¹¤¾ß¿ÉÒÔ¶Ô“exports”Îļþ½øÐйÜÀí
ÃüÁî#exportfs –rv ¿ÉÒÔÈÃÐÂÉèÖõēexports”ÎļþÄÚÈÝÉúЧ
Áù¡¢ÏÔʾNFS·þÎñÆ÷µÄÊä³öĿ¼Áбí
ÏÔʾµ±Ç°Ö÷»úÖÐNFS·þÎñÆ÷µÄÊä³öÁбí
# showmount -e
&
Ïà¹ØÎĵµ£º
linux-bus,device,driver,class
×ÜÏß
×ÜÏßÊÇ´¦ÀíÆ÷ºÍÒ»¸ö»ò¶à¸öÉ豸֮¼äµÄͨµÀ£¬ÔÚÉ豸ģÐÍÖÐ, ËùÓеÄÉ豸¶¼Í¨¹ý×ÜÏßÏàÁ¬, ÉõÖÁÊÇÄÚ²¿µÄÐéÄâ"platform"×ÜÏß¡£×ÜÏßÄÜÏ໥²åÈë¡£É豸ģÐÍչʾÁË×ÜÏߺÍËûÃÇËù¿ØÖƵÄÉ豸֮¼äµÄʵ¼ÊÁ¬½Ó¡£
ÔÚ Linux É豸ģÐÍÖÐ, ×ÜÏßÓÉ bus_type ½á¹¹±íʾ, ¶¨ÒåÔÚ £º
struct bus_type {
&nb ......
1 linuxÄÚºË
²¢²»Çø·ÖÏ̺߳ͽø³Ì¡£¶ÔÓÚÄÚºËÀ´Ëµ£¬ËùÓеÄÏ̺߳ͽø³Ì¶¼Ò»Ñù£¬Ö»ÊÇÆäÖеÄһЩ¹²Ïí×ÊÔ´¶øÒÑ¡£
2 Äں˿ª·¢Ìص㣺
2.1 linuxÄں˿ª·¢²»ÄÜʹÓÃcº¯Êý¿â£¬ÒòΪc¿âÐèÒª²Ù×÷ϵͳµÄÖ§³Ö£¬¶øÇÒc¿âµÄ´óСºÍЧÂÊÒ²ÊÇÄں˿ª·¢Ëù²»ÄÜÈÝÈ̵ģ»
......
½éÉÜһϠUbuntu LinuxÖÐÈçºÎÖ¸¶¨DNS·þÎñÆ÷
µÄµØÖ·¡£
¡¡¡¡Ubuntu LinuxʹÓÃÎļþ"/etc/resolv.conf" ÎļþÅäÖÃDNS·þÎñÆ÷µÄµØÖ·£¬¿Éͨ¹ýnameserver ÅäÖÃÏîÉèÖÃDNS·þÎñÆ÷µÄIPµØÖ·£¬×î¶à¿ÉÒÔʹÓÃ3¸öDNS·þÎñÆ÷¡£
¡¡¡¡$ sudo vi /etc/resolv.conf
¡¡¡¡search localdomain
¡¡¡ ......
DB2жÔØ:ÓÉÓÚijÖÖÔÒò£¬ÒªÐ¶ÔØDB2ÔÙÖØа²×°µÄ»°£¬Ò»¶¨ÒªÕýÈ·µÄжÔØDB2£¬·ñÔò²»ÄÜÖ´ÐÐÖØа²×°»ò°²×°µÄDB2²»¿ÉÓá£
1¡¢ÔÚlinuxÉÏжÔØDB2µÄÒ»°ã¹ý³ÌÈçÏÂËùʾ£º
a.¿ÉÑ¡£ºÉ¾³ýËùÓÐÊý¾Ý¿â¡£¿ÉÒÔʹÓá°¿ØÖÆÖÐÐÄ¡±»òdrop databaseÃüÁîɾ³ýÊý¾Ý¿â¡£
b.Í£Ö¹DB2¹ÜÀí·þÎñÆ÷¡£
c.Í£Ö¹DB2ʵÀý¡£
d.³ýÈ¥DB2¹ÜÀí· ......
¸ß¼¶ Linux ÃüÁָͨÄÏ
×÷ÕߣºArup Nanda
2006 Äê 8 Ô·¢²¼
ÔÚ Sheryl Calish ׫дµÄ“Linux ÎļþÃüÁָͨÄÏ”Õâƪ³öÉ«µÄÎÄÕÂÖУ¬Äúѧϰµ½ÁËһЩ¶ÔÓÚ Linux ÐÂÊÖÓÈΪÖØÒªµÄ³£Óà Linux ÃüÁî¡£¼ÈÈ»ÄúÏÖÔÚÒѾÕÆÎÕÁË»ù´¡ÖªÊ¶£¬ÏÂÃæÎÒÃǽ«½éÉÜһЩ¸üΪ¸´ÔÓµ«È´·Ç³£ÓÐÓõÄÃüÁî¡£
ÔÚÕâ¸ö¹²·Ö 4 ¸ö²¿·ÖµÄÎÄÕ ......