redhat linux ÏÂFTPÅäÖÃ (¶þ)
redhat linux ÏÂFTPÅäÖá£(vsftp)
1.Æô¶¯vsftp£º /sbin/service vsftpd start ±¸×¢d´ú±íÔÙºǫ́Æô¶¯¡£
2.²é¿´ÊÇ·ñÆô¶¯£¬¾ÍµÇ½µ½FTPÊÔÊÔ¡£ µÇ½FTP£ºftp localhost Í˳öFTP£ºbye
3.²é¿´Linux IP £ºifconfig
ÔÚ¿ØÖƹÜÀį́Ï¿ɿ´¼ûÈçÏ´úÂ룺¿ÉÒÔ¿´³ö£¬IP Address ÊÇ£º192.168.0.128
4.Èç¹û¾ÖÓòÍøÄÚ·ÃÎÊFTP²»³É¹¦£¬IP ÊÇ¿ªµÃ£¬ÄÇô¿¼ÂÇ¿ÉÄÜÊÇ·À»ðǽÎÊÌ⠹رշÀ»ðÇ°£ºService iptables stop
5¡¢FTPËùÔÚ¸ùĿ¼£º /var/ftp
vsftpdµÄÎĵµ½á¹¹
ÆäÖ÷ÅäÖÃÎļþÖ»ÓÐÒ»¸ö:/etc/vsftpd/vsftpd.conf,Ëù×öµÄÐÞ¸ÄÖ÷ÒªÊÇΧÈÆËü½øÐÐ,´ËÍ⻹ÓÐһЩ¸½¼ÓµÄÎļþ,ÎÒ½«¼¸¸öÖØÒªµÄ˵Ã÷ÈçÏÂ:
/etc/pam.d/vsftpd
ÕâÀﶨÒåÁ˲ÉÓÃpamµÄ·½Ê½½øÐÐÉí·ÝÑéÖ¤,ËüÊǸù¾Ý/etc/vsftpd.ftpusersÎļþ½øÐÐÑéÖ¤µÄ,·²ÊÇÔÚÕâ¸öÎļþÀïÃæÁгöµÄÓû§ÎÞ·¨µÇ½ftp
/etc/vsftpd.user_list
µ±ÅäÖÃÎļþvsftd.confÖеIJÎÊýuserlist_enableºÍuserlist_denyÉèÖÃΪYESÖ®ºó,´ËÎļþÉúЧ,·²ÊÇÔÚ´ËÎļþÀïÃæÁгöµÄÓû§¾ÍÎÞ·¨µÇ½ftp
×¢:ÉÏÃæµÄÁ½¸öÎļþ¿´ÆðÀ´¹¦ÄÜÀ×ͬ,Æäʵ²»È»,vsftpd.ftpusersÊDzÉÓÃÍâ¹ÒµÄPAM³ÌÐò½øÐÐÑé֤ʱËùÐèÒªµÄ,¶øvsftd.user_listÔòÊÇvsftp±¾ÉíµÄÑéÖ¤»úÖÆ.Ò²¾ÍÊÇË«ÖØÑéÖ¤,ÎÞÒÉʱ¸ü¼Ó°²È«.¼ÈÈ»×÷ÓÃÒ»Ñù,ËùÒÔÕâÁ½¸öÎļþµÄÄÚÈÝÒ²×îºÃдµÄÒ»Ñù
/etc/vsftpd.chroot_list
´ËÎļþÒª×ÔÐн¨Á¢,µ±vsftpd.confÖеIJÎÊýchroot_list_enableºÍchroot_list_fileÆôÓúó,´ËÎļþÀïÃæµÄÓû§¾ÍµÇ½ftpÒÔºó¾ÍÖ»ÄÜÔÚ×Ô¼ºµÄÖ÷Ŀ¼Ï»,²»Äܵ½´¦¹ä.
/var/ftp
ÄäÃûÓû§µÇ½ºóµÄÖ÷Ŀ¼
Ê×ÏȲéѯÊÇ·ñ°²×°vsftp
[root@localhost root]# rpm -qa|grep vsftpd
vsftpd-1.1.3-8
ÏÖÔھͿÉÒÔÖ±½ÓÆô¶¯vsftpÁË
Æô¶¯
[root@localhost root]# /etc/rc.d/init.d/vsftpd start
Starting vsftpd for vsftpd: [ OK ]
²âÊÔ
[root@localhost root]# ftp localhost //怫
Connected to localhost (127.0.0.1).
220 (vsFTPd 1.1.3)
Name (localhost:root):
530 Permission denied.
Login failed.
ftp> bye //ʹÓÃbyeÍ˳ö
221 Goodbye.
ËùÒÔ²»ÓÃÐÞ¸ÄvsftpdÀïÃæµÄÄÚÈÝ,¾Í¿ÉÒÔÖ±½ÓÔËÐÐÁË.²»¹ý´ËʱµÄЧ¹ûÊÇ:
ÄäÃûÕʺÅanonymous¿ÉÒԵǽ,Ö÷Ŀ¼Ϊ/var/ftp,²¢ÇÒ±»Ëø¶¨ÔÚ´ËĿ¼ÏÂ.´ËÕË»§Ö»ÓÐÏÂÔØȨÏÞ
ϵͳµÄÕʺÅ(/etc/passwdÎļþÖеÄÕʺÅ)¿ÉÒԵǽ,²¢ÇÒûÓÐËø¶¨Ö÷Ŀ¼
ÈκÎÔÚ/etc/vsftpd.ftpusersÎļþÖеÄÕʺÅÊÇÎÞ·¨µÇ½µÄ
ÉÏ
Ïà¹ØÎĵµ£º
ÍêÉÆLinuxϵͳ
1.¿ª»ú×Ô¶¯¹ÒÔØwindow·ÖÇø
fedora10ËäÈ»ÄÜ×Ô¶¯¹ÒÔØ,µ«ÊǹÒÔصķÖÇøÓÐʱ»á²»ÈϺº×ÖÎļþ¼Ð
´ÓÖÕ¶ËÓÃvi»ògedit´ò¿ª/etc/fstab£¬ÔÚÆäÖÐÌí¼Ó£º
/dev/sda1 /mnt/1 ntfs default 0 0
×¢£ºµÚÒ»ÏîÊÇ·ÖÇøÇý¶¯µØÖ·
......
Ò»¡¢ÈÎÎñ¹ÜÀí
linuxÄں˵Ä3ÖÖµ÷¶È·½·¨¼ò½éÈçÏ£º
@SCHED_OTHER ·Öʱµ÷¶È²ßÂÔ£¬½ø³ÌµÄȱʡÀàÐÍ£¬²ÉÓö¯Ì¬ÓÅÏȵ÷¶È²ßÂÔ£¬Ñ¡Ôñ½ø³ÌµÄÒÀ¾ÝÖ÷ÒªÊǸù¾Ý½ø³ÌgoognessÖµµÄ´óС£¬ÕâÖÖ½ø³ÌÔÚÔËÐÐʱ£¬¿ÉÒÔ±»¸ßgoodnessÖµµÄ½ø³ÌÇÀÏÈ£»
@SCHED_FIFO ʵʱµ÷¶È²ßÂÔ£¬Ïȵ½ÏÈ·þÎñ£¬×ñÊØPOSIX1.b±ê×¼µÄFIFOµ÷¶È¹æÔò£¬Ëü»áÒ»Ö±Ô ......
1¡¢Linux »ù´¡
°²×°Linux²Ù×÷ϵͳ
LinuxÎļþϵͳ
Linux³£ÓÃÃüÁî
LinuxÆô¶¯¹ý³ÌÏê½â
ÊìϤLinux·þÎñÄܹ»¶ÀÁ¢°²×°Linux²Ù×÷ϵͳ
Äܹ»ÊìÁ·Ê¹ÓÃLinuxϵͳµÄ»ù±¾ÃüÁî
ÈÏʶLinuxϵͳµÄ³£Ó÷þÎñ°²×°Linux²Ù×÷ϵͳ
Linux»ù±¾ÃüÁîʵ¼ù
ÉèÖÃLinux»·¾³±äÁ¿
¶¨ÖÆLinuxµÄ·þÎñ Shell ±à³Ì»ù´¡Ê¹ÓÃvi±à¼Îļþ
ʹÓÃEmac ......
10ÔÂ24ÈÕÏûÏ¢£¬¾Ý¹úÍâýÌ屨µÀ£¬LinuxÖ®¸¸ÀîÄÉ˹·ÍÐÍß×È(Linus Torvalds)ÖÜËÄΪWindows 7Åõ³¡£¬²¢ÊúÆðÁË´óÄ´Ö¸¡£
ÖÜËÄ£¬ÍÐÍß×ÈÔÚÈÕ±¾³öϯLinuxÑÐÌֻᣬÔÚ»áÒéÐÝÏ¢Æڼ䣬ËûÅܵ½Á˸½½üµÄWindows 7ÁãÊÛ̯룬²¢¶ÔמµÍ·ÎªWindows 7ÊúÆðÁË´óÄ´Ö¸¡£
ÎÞÂÛÊÇÕæÐÄ×£¸££¬»¹ÊÇÔ¢º¬·í´Ì£¬Ï ......