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)
´ò¿ªºó£¬
Ïà¹ØÎĵµ£º
Anatomy of the Linux slab allocator
Learn how Linux manages memory
M. Tim Jones, Consultant Engineer, Emulex Corp.
M. Tim Jones is an embedded software architect and the author of GNU/Linux Application Programming, AI Application Programming, and BSD Sockets Programming from a Multilanguage Persp ......
ÎļþϵͳµÄ×éÖ¯½á¹¹·ÖÎö£¬ÎÒÃÇÄÜ·ÖÎöÊ²Ã´ÄØ£¿Ò²¾ÍÊǵ±ÎÒÃÇÁÐ/Ŀ¼ʱ£¬Ëù¿´µ½µÄ/usr¡¢/etc ... ... /var
µÈĿ¼ÊÇ×öʲôÓõģ¬ÕâЩĿ¼ÊDz»ÊÇÓÐÐ©ÌØ¶¨µÄÓÃ;¡£ÎÞÂÛÄĸöÄĸö°æ±¾µÄLinuxϵͳ£¬¶¼ÓÐÕâЩĿ¼£¬ÕâЩĿ¼Ӧ¸ÃÊDZê×¼µÄ¡£µ±È»¸÷¸öLinux·¢Ðаæ
±¾Ò²»á´æÔÚһЩССµÄ²îÒ죬µ«×ÜÌåÀ´Ëµ£¬»¹ÊÇ´óÌå²î²»¶à¡£
Linux·¢Ðа ......
scp¾ÍÊÇsecure copy£¬Ò»¸öÔÚlinuxÏÂÓÃÀ´½øÐÐÔ¶³Ì¿½±´ÎļþµÄÃüÁî¡£
ÓÐʱÎÒÃÇÐèÒª»ñµÃÔ¶³Ì·þÎñÆ÷ÉϵÄij¸öÎļþ£¬¸Ã·þÎñÆ÷¼ÈûÓÐÅäÖÃftp·þÎñÆ÷£¬Ò²Ã»ÓÐ×ö¹²Ïí£¬ÎÞ·¨Í¨¹ý³£¹æÍ¾¾¶»ñµÃÎļþʱ£¬Ö»ÐèҪͨ¹ý¼òµ¥µÄscpÃüÁî±ã¿É´ïµ½Ä¿µÄ¡£
Ò»¡¢½«±¾»úÎļþ¸´ÖƵ½Ô¶³Ì·þÎñÆ÷ÉÏ
#scp /home/administrator/news.txt root@192.168.6.12 ......
ÍøÉϽéÉÜlinux²Ã¼ôµÄÎÄÕºܶ࣬²»¹ýºÜ¶à¶¼ÊǺöÂÔÁËÇ°ÃæµÄºÜ¶à²½Öè¡£×î½üÀϰåÒª²¼ÖÃlinux²Ã¼ôµÄÈÎÎñ£¬ÎÒûÓÐʲôlinuxÏîÄ¿»ù´¡£¬ËùÒԺܶණÎ÷¶¼Òª×Ô¼ºÃþË÷¡£ÏÂÃæÊÇÎÒ×ܽáµÄ²½Öè¡£
LinuxÄں˲üô
1.
Ê×ÏȰÑlinuxÔ´´úÂëÏÂÔØµ½±¾µØ£¬ÏÂÔØµÄÍøÖ·ÊÇwww.kernel.org,
2.&n ......