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

linux:ÍøÂç·þÎñÅäÖÃÖ®—NFSÅäÖùÜÀí

2.1.2 ÓÃNFSʵÏÖ×ÊÔ´¹²Ïí
Ç°Ãæ½²µÄSambaÊÇʵÏÖLinuxÖ÷»úÖ®¼ä¡¢WindowsºÍLinuxÖ®¼äʵÏÖ×ÊÔ´¹²ÏíµÄ;¾¶¡£¶øNFSÊÇʵÏÖLinuxÖ÷»úÖ®¼ä¹²ÏíµÄÁíÒ»ÖÖ;¾¶¡£NFS×îÔçʹÓÃÔÚSun·þÎñÆ÷ÉÏ£¬ÏÖÔÚÒѾ­ÒÆÖ²µ½¸÷ÖÖÀàUNIXϵͳÏÂÁË£¬WindowsÏÂÒ²ÓÐÏàÓ¦µÄ°æ±¾¡£Ïà¶ÔSamba·þÎñ£¬NFS¹²Ïí¾ßÓмòµ¥¿ìËÙµÄÌص㣬ËùÒÔÄ¿Ç°¹ã·ºÓÃÓÚÀàUNIXÖ÷»úÖ®¼äµÄ×ÊÔ´¹²Ïí¡£ÕâÀïÎÒÃǾÍÒÔRHEL3ÖÐNFSµÄÅäÖùý³Ì¼òµ¥½éÉÜNFS·þÎñµÄʵÏÖ¡£
3£® °²×°NFS·þÎñÆ÷
NFS·þÎñÐèÒªÁ½¸öÈí¼þ°ü£ºnfs-utils ºÍ portmap¡£¿ÉÒÔͨ¹ýÏÂÃæµÄÃüÁî²éѯϵͳÊÇ·ñÒѾ­°²×°ÁËNFS·þÎñ¡£
#rpm -q nfs-utils portmap
°²×°NFSÈí¼þ·Ç³£¼òµ¥£º
#rpm -ivh nfs-utils*.rpm
#rpm -q portmap*.rpm
4£® ÅäÖÃNFS·þÎñÆ÷
NFS·þÎñÆ÷µÄÅäÖÃÏà¶Ô±È½Ï¼òµ¥¡£ËüµÄÅäÖÃÎļþΪ/etc/exports¡£ÒªÉèÖù²Ïí£¬Ö»ÐèÒªÔÚÅäÖÃÎļþÖÐÉèÖ㬲¢ÖØÐÂÆô¶¯·þÎñ¼´¿É¡£
exportsÎļþµÄ½á¹¹±È½Ï¼òµ¥£¬ÆäÖеĿÕÐкÍÒÔ#¿ªÍ·µÄÐж¼±»ºöÂÔ£¬ÆäÓàÿÐоÍÊÇÒ»¸ö¹²ÏíµÄÅäÖã¬Ã¿¸ö¹²ÏíÅäÖÃÐеĻù±¾¸ñʽÈçÏ£º
¹²ÏíĿ¼ Ö÷»ú1(Ñ¡Ïî1£¬Ñ¡Ïî2) Ö÷»ú2(Ñ¡Ïî1£¬Ñ¡Ïî2) ……
¹²ÏíĿ¼ÊÇÒªÌṩ¹²ÏíµÄʵ¼ÊĿ¼£¬Ò»ÐÐÖ»ÄܳöÏÖÒ»¸öĿ¼¡£
Ö÷»úÊÇ¿ÉÒÔ·ÃÎʹ²ÏíµÄÖ÷»úÅäÖ㬿ÉÒÔʹÓÃͨÅä·û¡£¶à¸öÖ÷»úÅäÖÃÖ®¼äÐèҪʹÓÿոñ·Ö¸ô£¬Ã¿¸öÖ÷»úÅäÖÃÖ®ºó½ô¸ú·ÅÔÚÀ¨ºÅÖеÄÑ¡ÏîÅäÖã¬Ö®¼ä²»ÄÜÁôÓпոñ£¡Ö÷»úµÄÅäÖøñʽ±È½Ï¶à£¬ÏÂÃæ¾Í¸ø³ö¿ÉÄܵÄÖ÷»úÅäÖ÷½Ê½£º
Ö÷»ú±íʾ ˵Ã÷ ¾ÙÀý
µ¥¸öÖ÷»ú Ö÷»úÃû¡¢ÓòÃû»òIPµØÖ· 172.12.0.3 syd164.com.cn
NIS¹¤×÷×é NIS·þÎñÆ÷ÖеÄ×é @syd168
ͨÅä·û ¿ÉÒÔʹÓÃ*ºÍ£¿£¬*´ú±íÈÎÒ⣬£¿´ú±íÒ»¸öÈÎÒâ×Ö·û *.syd164.com
IPÍøÂç ÍøÂç±íʾ¸ñʽ 172.12.0.0/16
±í2-3
Ñ¡ÏîÅäÖÃÊÇÉèÖù²ÏíµÄ·ÃÎÊȨÏ޵ġ£Ö÷Òª°üÀ¨ÒÔÏÂһЩѡÏ
Ñ¡Ïî ˵Ã÷
rw Èù²ÏíµÄĿ¼¿ÉдÈ룬²»ÄÜÓëroͬʱʹÓÃ
ro ʹ¹²ÏíµÄĿ¼±äΪֻ¶Á
sync NFS·þÎñÆ÷ͬ²½Ð´Èë´ÅÅÌ£¬±£Ö¤Êý¾ÝµÄ°²È«ÐÔ
±í2-4
ÏÂÃæÊÇÒ»¸öNFSÅäÖõÄʾÀý£º
===========================/etc/exports===========================
#This is a example of exports by syd168
/home/share 172.12.*.*(ro£¬sync)
/share/public *.syd164.com(rw£¬sync)
5£® Æô¶¯NFS·þÎñÆ÷
Æô¶¯NFSµÄ·½·¨ºÍÆô¶¯ÆäËü·þÎñÆ÷µÄ·½·¨ÀàËÆ¡£Ê×Ïȼì²é·þÎñÊÇ·ñΪ×Ô¶¯Æô¶¯£¬Èç¹û²»ÊǾÍÐÞ¸ÄÉèÖ㬽ÓמͿÉÒÔÆô¶¯·þÎñÆ÷¡£ÏÂÃæ¾ÍÊÇÆô¶¯NFS·þÎñÆ÷µÄÃüÁ
#service nfs start
ҪֹͣNFS·þÎñ£¬¿ÉÒÔʹÓÃÈçÏÂÃüÁ
#service nsf stop
6£®


Ïà¹ØÎĵµ£º

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

        Õâ´Îתµ½Á˺½¿ÕµÄÒ»¸öÏîÄ¿£¬ÐèÒªÔÚLinuxÏÂÓÃC×ö¿ª·¢¡£°æ±¾¹ÜÀí²ÉÓÃSVN£¬´Ó×òÌìÏÂÎ翪ʼÎҾͿªÊ¼ÁË°²×°£¬ÕæµÄÊÇÍ´¿àµÄ¹ý³Ì¡£ÏÖÔÚµ¹ÊÇ°²×°ºÃÁË£¬µ«ÊÇÅäÖÃÃüÁûÓÐÕÆÎÕ¡£
        Èç¹ûÓÐȨÏÞ´ÓÍøÉÏÖ±½Ó¸üÐÂÈí¼þ£¬ÎÒ²»±Øÿ´Î¶¼È¥ÕÒÔ´Âë°ü£¬È ......

ÔÚLinuxϲ¿ÊðJDK»·¾³

1. È¥http://java.sun.com/javase/downloads/index.jspÏÂÔØÒ»¸öLinux PlatformµÄJDK¡£
2. ÉÏÔØ
# chmod 755 jdk-6u2-linux-i586-rpm.bin
#   ./jdk-6u2-linux-i586-rpm.bin
3. ³ÌÐò»á×Ô¶¯Éú³ÉÎļþ
    Ö´ÐÐ
    # rpm -ivh jdk-6u11-linux-i586.rpm
4. ÉèÖû·¾³±äÁ¿
  ......

LinuxÊØ»¤½ø³ÌµÄ¿ª·¢

      ºÜÔçÒÔÇ°,¾ÍÏë°Ñ×Ô¼ºÔÚ¿ª·¢ÏîĿʱ¹ØÓÚlinuxÊØ»¤½ø³ÌµÄ¼¼ÊõÕûÀíÒ»ÏÂ,·¢±íһƪÎÄÕÂ.½ñÌìÔÚÍøÉÏżȻÅöµ½ÓÐһƪдµÄͦ²»´íµÄÎÄÕÂ,ÕýºÃ¿ÉÒÔתÌù¹ýÀ´ºÍ´ó¼Ò·ÖÏí.
     
Linux Deamon±à³Ì·½·¨
ÊØ»¤½ø³Ì£¨Daemon£©ÊÇÔËÐÐÔÚºǫ́µÄÒ»ÖÖÌØÊâ½ø³Ì¡£Ëü¶ÀÁ¢ÓÚ¿ØÖÆÖն˲¢ÇÒÖ ......

×Ô¼º¼ÇµÄһЩlinux³£Óö«Î÷1

²é¿´ËùÓл·¾³±äÁ¿  printenv
ÉèÖãºexport ±äÁ¿Ãû=±äÁ¿Öµ
ɾ³ý£ºunset ±äÁ¿Ãû
Èç¹ûÄãÏë²é¿´Ä³Ò»¸öÃû³ÆµÄ»·¾³±äÁ¿£¬ÃüÁîÊÇ£ºecho $»·¾³±äÁ¿Ãû£¬±ÈÈ磺
echo $ORACLE_HOME
cat ²é¿´ÃüÁî
source ÉúЧ
vi±à¼­Æ÷
ÏÈ°´esc£¬È»ºóÊäÈë :q! £¬´æÅÌÍ˳öÊäÈë :wq
2¡¢X·½Ê½:
¡¡¡¡(1). vi /etc/services # È·±£xdmcp¶Ë¿ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ