linux ubuntuÏÂftp·þÎñÆ÷°²×°¡¢ÅäÖÃÓëʹÓÃ
http://hi.baidu.com/vsgp/blog/item/0daae64589a3852fcffca3e7.html
1¡¢°²×°vsftpd
ÖÕ¶ËÊäÈ룺sudo apt-get install vsftpd
°²×°ÁËÖ®ºó»áÔÚ/home/Ͻ¨Á¢Ò»¸öftpĿ¼¡£ÕâʱºòÄã¿ÉÒÔÊÔ×Å·ÃÎÊÏÂftp://IPµØÖ·¡£Ó¦¸Ã¿ÉÒÔ¿´µ½Ò»¸ö¿Õ°×ÄÚÈݵÄftp¿Õ¼ä¡£
ÆôÓãºsudo /etc/init.d/vsftpd start
Í£Óãºsudo /etc/init.d/vsftpd stop
ÖØÆô£ºsudo /etc/init.d/vsftpd restart
ĬÈÏÉèÖÃÏÂÄäÃûÓû§¿ÉÒÔÏÂÔØ£¬µ«²»ÄÜдÈë»òÊÇÉÏ´«
2¡¢ÅäÖÃvsftpd.confÎļþ
ÏÖÔÚÎÒÃÇÒªÈÃÄäÃûÓû§ÎÞ·¨·ÃÎÊ£¬²¢ÇÒµÃÊäÈëlinuxÉϵÄÓû§ÃÜÂëºó²ÅÄÜ·ÃÎʵ½ËûÃÇ×Ô¼ºÄ¿Â¼ÀïµÄÄÚÈÝ¡£
Ê×ÏÈÕÒµ½ÉèÖÃvsftpdµÄÎļþ£¬Î»ÖÃÔÚ/etc/vsftpd.conf
ÐÞ¸Ä֮ǰ×îºÃÏȱ¸·ÝÏÂÕâ¸öÎļþ£ºsudo cp /etc/vsftpd.conf /etc/vsftpd.conf.old
ÕâÊÇÎÒ°Ñ×¢ÊÍÈ¥µôÒÔºóµÄÎļþÄÚÈÝ
£££¨¶ÀÁ¢µÄVSFTPD·þÎñÆ÷£©
listen=YES
££(ÔÊÐíÄäÃûµÇ½)
anonymous_enable=YES
£££¨±¾µØÕÊ»§Äܹ»µÇ½£©
local_enable=YES
££(¿ª·Å±¾µØÓû§Ð´µÄȨÏÞ)
write_enable=YES
££(FTPÉϱ¾µØµÄÎļþȨÏÞ£©
local_umask=022
££(¿ª·ÅÉÏ´«È¨ÏÞ)
anon_upload_enable=YES
£££¨¿É´´½¨Ä¿Â¼µÄͬʱ¿ÉÒÔÔÚ´ËĿ¼ÖÐÉÏ´«Îļþ£©
anon_mkdir_write_enable=YES
£££¨Çл»Ä¿Â¼Ê±£¬ÏÔʾĿ¼ÏÂ.messageµÄÄÚÈÝ£©
dirmessage_enable=YES
£££¨¼¤»îÉÏ´«ºÍÏ´«µÄÈÕÖ¾£©
xferlog_enable=YES
££ÆôÓÃFTPÊý¾Ý¶Ë¿ÚµÄÊý¾ÝÁ¬½Ó£©
connect_from_port_20=YES
£££¨ÑéÖ¤·½Ê½£©
pam_service_name=vsftpd
secure_chroot_dir=/var/run/vsftpd
rsa_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
rsa_private_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
3¡¢É趨Îļþ¼ÐȨÏÞ
É趨sudo chmod 555 /home/ftp
ÔÚ/home/ftpÎļþ¼ÐϽ¨Á¢ÐÂÎļþ¼Ðupload£¬¼ÙÉèÉÏ´«Îļþµ½´ËÎļþ¼Ð£ºsudo mkdir /home/ftp/upload
ÉèÖÃuploadȨÏÞÊôÐÔ£ºsudo chmod 777 -R /home/ftp/upload
4¡¢´Óftp·þÎñÆ÷ÏÂÔØÎļþ(¼ÙÉè·þÎñÆ÷ipΪ123.123.123.123)
·½·¨Ò»£º Ö±½ÓÔÚä¯ÀÀÆ÷µØÖ·À¸ÖÐÊäÈ룺ftp://123.123.123.123
ÊäÈëÓû§ÃûºÍÃÜÂë
ÒÔË÷ÒýµÄ·½Ê½£¬¿ÉÒÔÖ±½ÓÓÒ»÷ijÎļþµã»÷‘Á¬½ÓÁí´æΪ’ÏÂÔØ
·½·¨¶þ£º ÖÕ¶ËÃüÁîģʽ
£¨1£©cd µ½Òª´æ·ÅËùÏÂÔØÎļþµÄĿ¼ÏÂ
£¨2£©ftp 123.123.123.123
£¨3£©ÊäÈëÓû§ÃûºÍÃÜÂë
 
Ïà¹ØÎĵµ£º
µÚÒ»´ÎÔÚLinuxϱà³Ì¡£ºÇºÇ
ÔÚÍøÉÏËÑË÷ÁËÒ»ÏÂÔõôÑùÔÚLinuxϱà³Ì¡£ËµÊÇÓÃGeditдºÃ´úÂ룬Ȼºó±£´æ.c¸ñʽÎļþ¡£È»ºóµ½Öն˱àÒë¡£
´ò¿ªGedit.ÀϹæ¾Ø£¬ÏÈÀ´¸öHello.c
#include <stdio.h>
main()
{
printf("Hello~!Vimo~~\n\n");
}
±£´æ¡£È»ºó´ò¿ªÖնˡ£
±àÒëÊÇʲôÃüÁû°ì·¨£¬ÎÊÏÂͬѧ¡£°¢Áé¸æËßÎÒ£º ......
ÀïÓÐÒ»¸öͳ¼Æ http://www.remword.com/kps_result/china.php
µã»÷Á¬½Ó½øÈ¥£¬¿ÉÒÔ¿´Äܵ½£º
Total patch sets of this kernel release: 157236
5337 person contribute their works to this kernel release.
Averagely, every person committed 29 patch sets.
299(5.60%) Chinese people contribute 6185(3.93%) patch ......
Ò»£®Ìî¿ÕÌ⣺
1. ÔÚLinuxϵͳÖУ¬ÒÔ Îļþ ·½Ê½·ÃÎÊÉ豸 ¡£
2. LinuxÄÚºËÒýµ¼Ê±£¬´ÓÎļþ /etc/fstab ÖжÁÈ¡Òª¼ÓÔصÄÎļþϵͳ¡£
3. LinuxÎļþϵͳÖÐÿ¸öÎļþÓà i½Úµã À´±êʶ¡£
4. È«²¿´ÅÅÌ¿éÓÉËĸö²¿·Ö×é³É£¬·Ö±ðΪÒýµ¼¿é ¡¢×¨ÓÃ¿é ¡¢ i½Úµã±í¿é ºÍÊý¾Ý´æ´¢¿é¡£
5. Á´½Ó·ÖΪ£º Ó²Á´½Ó ºÍ ·ûºÅÁ´½Ó ¡£
6. ³¬¼¶¿é°üº¬ÁËi½ ......
Èç¹ûÄãÄÜÕýÈ·»Ø´ðÒÔÏÂÎÊÌâ²¢Éî¿ÌÀí½âÏà¹Ø֪ʶµãÔÀí£¬ÄÇôÄã¿ÉÒÔËãµÃÉÏ»ù±¾ºÏ¸ñµÄLinuxÄں˿ª·¢¹¤³Ìʦ£¬ÊÔÊÔ¿´£¡
1)LinuxÖÐÖ÷ÒªÓÐÄļ¸ÖÖÄÚºËËø£¿
2)LinuxÖеÄÓû§Ä£Ê½ºÍÄÚºËģʽÊÇʲôº¬Ò⣿
3)ÔõÑùÉêÇë´ó¿éÄÚºËÄڴ棿
4)Óû§½ø³Ì¼äͨÐÅÖ÷ÒªÄļ¸ÖÖ·½Ê½£¿
5)ͨ¹ý»ï°éϵͳÉêÇëÄÚºËÄÚ´æµÄº¯ÊýÓÐÄÄЩ£¿
6)Í ......
±¾Îĵµ²âÊÔ»·¾³£º
1£©Linux²Ù×÷ϵͳ°æ±¾£º
Red Hat Enterprise Linux Server release 5
2.6.18-8.el5
2£©jdk°æ±¾
1.5.0_16
LinuxÏÂÁ¬JavaÁ¬sap²½Öè
1£©ÏÂÔØsapjco.jar
  ......