windowÓëlinuxÎļþ»¥´«Ö®ftp
¹ØÓÚwindowsÓëlinuxÖ®¼äÎļþ»¥´«
»·¾³£ºÓÐÁ½Ì¨Ö÷»ú
A£º192.168.2.109 OS£ºwindows xp
B£º192.168.2.113 OS£ºlinux £¨redhat5.3£©
Ä¿µÄ£ºÒªÊµÏÖÁ½Ì¨Ö÷»úÖ®¼äÎļþµÄ»¥´«¡£
±¾ÈËÔÚÍøÉÏ¿´¹ý¼¸ÖÖ·½·¨£¬ÓеÄÐèÒªµÚÈý·½Èí¼þ£¨±ÈÈ磺ÔÚWindows XPÏÂÓÃServ-uÈí¼þ¼ÜÉèÁËFTP·þÎñÆ÷£¬È»ºóÎÒÃǾͿÉÒÔÔÚLinuxϵǼ¸ÃFTP·þÎñÆ÷ÏÂÔØ»òÉÏ´«ÎļþÁË£©£»¿ÉÒÔÓÃlinuxϵÄsambaʵÏÖÓëwindowsÖ®¼äµÄÎļþ¹²Ïí£¬µ«ÊDZ¾ÈË×Ô¼ºÉæ×ãlinuxÒÔÀ´£¬´ÓÀ´²»¶Ôsamba¹ýÃô£¬ËùÒÔÔÚÕâÀï¾Í²»Îª´ó¼Ò½éÉÜÕâÖÖ·½·¨ÁË£¬´ó¼ÒÈç¹ûÓÐÐèÒª£¬¿ÉÒÔÈ¥±ð´¦²é¿´¡£
»ùÓÚ´ó¼Òѧϰwindows¼°linuxµÄÏ°¹ß£¬£¨windowsÏÂÏ°¹ßͼÐλ¯²Ù×÷£¬linuxÏÂÏ°¹ßÇüüÅÌ£©ÔÚÕâÀï±¾ÈËÃþË÷ÁËÒ»ÏÂÁíÒ»ÖÖ·½·¨£ºÔÚlinuxϼÜÉèftp·þÎñÆ÷£¬ÔÚwindowsÉϵǼ£¬¿ÉÒÔʵÏÖÁ½¸öÖ÷»úÉϵÄÎļþÖ®¼äµÄ»¥´«£¬¾ßÌå·½·¨ÈçÏ£º
1.ÔÚlinuxÏ°²×°ftp£º(rpm°ü¿ÉÈ¥ÍøÉÏÏÂÔØ)
# mount -o loop rhel5u3.iso /mnt
# cd /mnt/Server
# rpm -ivh vsftpd-2.0.5-12.el5.i386.rpm
2.ÅäÖÃftp£º
°²×°Íê³ÉºóftpµÄÅäÖÃÎļþÔÚ/etc/vsftpd/vsftpd.conf
# sed -n '/^[^#]/p' /etc/vsftpd/vsftpd.conf
anonymous_enable=YES
local_enable=YES
write_enable=YES
local_umask=022
dirmessage_enable=YES
xferlog_enable=YES
connect_from_port_20=YES
xferlog_std_format=YES
listen=YES
pam_service_name=vsftpd
userlist_enable=YES
tcp_wrappers=YES
3.Æô¶¯ftp
# service vsftpd start
4.ÔÚwindowsϵǽftpµÄʱºò»áÓõ½ÊµÃûµÇ¼£¬ËùÒÔÔÚÕâÀïÌáÇ°½¨Á¢Ò»¸öרÓÃÓÚÔÚwindowsϵǼlinuxµÄftpµÄÆÕͨÓû§¡£
# useradd kaka
# passwd kaka
´Ë´¦ÃÜÂëÉèΪ123
Óû§kakaµÄ¼ÒĿ¼Ϊ/home/kaka/
´Ë¼ÒĿ¼ΪftpµÄĿ¼£¬ÔÚwindowsÏÂÓÃkakaÓû§µÇ¼µÄʱºò»á½øÈëµ½´ËĿ¼Ï£¬Îļþ¿Éͨ¹ý´ËĿ¼Íê³É»¥´«¡£µ±È»ÔÚ½¨Óû§µÄʱºòÒ²¿ÉÒÔÖ¸¶¨¼ÒĿ¼µÄλÖᣴ˴¦¾ÍÒÔ´ËΪÀýÁË¡£
4.ÎÒÃÇ¿ÉÒÔÔÚlinuxµÄ×ÀÃæÉϽ¨Ò»¸ökaka¼ÒĿ¼µÄÈíÁ´½Ó£¬ÒÔ±ãÎÒÃÇͼÐλ¯¹ÜÀí¡£
# ln -s /home/kaka /root/Desktop/ftp-dir
ÔÚ×ÀÃæÉÏ»áÉú³ÉÒ»¸öÎļþ¼Ð£¬ÀïÃæÊÇ/home/kaka/ÀïµÄÄÚÈÝ£¬ÎÒÃÇ¿ÉÒÔ°ÑÒª´Ólinux´«ÏòwindowsµÄÎļþ·ÅÈë´Ë´¦¡£
5.ÔÚwindowsÉϵǼlinuxµÄftp·þÎñÆ÷£º£¨Ç°ÌáÊDZ£Ö¤Á½Ì¨Ö÷»úÄÜpingͨ£©
´ò¿ªIEä¯ÀÀÆ÷£¬ÊäÈëftp://192.168.2.113 (linuxµÄIP)
´ò¿ªºó£¬
Ïà¹ØÎĵµ£º
ʵÓÃСÇÏÃÅʵÔÚÌ«¶àÁË£¬ÂýÂý̽Ë÷°É¡£ÏëÆð¸ÕÓõçÄÔʱ£¬ÌìÌìÔÚ¡¶µçÄÔ°®ºÃÕß¡·ÖÐÕÒСÇÏÃÅ¡£ÕÒµ½Á˾ÍÈç»ñÖÁ±¦¡£ÓÖ¿´µ½ÎÒblogÖÐÓÐÈ˻ظ´²»Ï°¹ßubuntu£¬»¹ÊÇͶ±¼win7¡£ÐÄÏ룬Ӧ¸ÃijЩÈËҲͦÐèÒªÒ»µãʹÓÃСÇÏÃŵĽ»Á÷µÄ¡£ÐÅÊÖдÁËЩ£¬¹©²Î¿¼¡£
±¾ÎÄÊʺϳõ¼¶Óû§ÔĶÁ¡£
1.Öն˸´ÖÆÕ³Ìù
ÓÃgnomeÖÕ¶Ëʱ£¬¶Ô×Ö·ûµÄ¸´ÖÆÕ³Ìù¸Ð¾õûÓÐw ......
Íø¿¨µÄÉèÖÃ
¼ûÒÔÇ°µÄÎÄÕÂ
Ö÷»úÃûµÄÉèÖÃ:
/etc/sysconfig/network
NETWORKING=yes
NETWORKING_IPV6=yes
HOSTNAME=a100 ----->Ö÷»úÃû
smbÊÇSamba µÄÖ÷ÒªÆô¶¯·þÎñÆ÷£¬ÈÃÆäËü»úÆ÷ÄÜÖªµÀ´Ë»úÆ÷¹²ÏíÁËʲô£»
......
ÎļþϵͳµÄ×éÖ¯½á¹¹·ÖÎö£¬ÎÒÃÇÄÜ·ÖÎöʲôÄØ£¿Ò²¾ÍÊǵ±ÎÒÃÇÁÐ/Ŀ¼ʱ£¬Ëù¿´µ½µÄ/usr¡¢/etc ... ... /var
µÈĿ¼ÊÇ×öʲôÓõģ¬ÕâЩĿ¼ÊDz»ÊÇÓÐЩÌض¨µÄÓÃ;¡£ÎÞÂÛÄĸöÄĸö°æ±¾µÄLinuxϵͳ£¬¶¼ÓÐÕâЩĿ¼£¬ÕâЩĿ¼Ӧ¸ÃÊDZê×¼µÄ¡£µ±È»¸÷¸öLinux·¢Ðаæ
±¾Ò²»á´æÔÚһЩССµÄ²îÒ죬µ«×ÜÌåÀ´Ëµ£¬»¹ÊÇ´óÌå²î²»¶à¡£
Linux·¢Ðа ......
Ë÷Òý½Úµã¡¢Ó²Á¬½ÓºÍÁ¬½Ó¼ÆÊý
Ë÷Òý½Úµãinode£º
LinuxΪÿ¸öÎļþ·ÖÅäÒ»¸ö³ÆΪË÷Òý½ÚµãµÄºÅÂëinode£¬¿ÉÒÔ½«inode¼òµ¥Àí½â³ÉÒ»¸öÖ¸Õ룬ËüÓÀÔ¶Ö¸Ïò±¾ÎļþµÄ¾ßÌå´æ´¢Î»Öá£ÏµÍ³ÊÇͨ¹ýË÷Òý½Úµã(¶ø²»ÊÇÎļþÃû)À´¶¨Î»Ã¿Ò»¸öÎļþ¡£
ÀýÈ磺¼ÙÉèÎÒÃÇÔÚÓ²Å̵±Ç°Ä¿Â¼Ï½¨Á¢ÁËÒ»¸öÃûΪmytextÎı ......