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

[Linux] ¼òµ¥´î½¨Ð£Ô°FTP LINUXƪ


http://www.myzqu.com/viewthread.php?tid=56258&extra=page%3D1%26amp;filter%3Dtype%26amp;typeid%3D199
linux, FTP, ´î½¨·½·¨, ·þÎñÆ÷
½ñÌì¸úͬѧÃÇ˵ÏÂÔõô´î½¨Ð£Ô°FTP£¬ÒÔ´ËÀ´¼ÓǿУÄÚ×ÊÔ´Á÷ͨ£¬ÔÚÕâ¸öÍøÂç×´¿öÈÃÈË×¥¿ñµÄ½ñÌ죬ÏàÐźÜÓбØÒª¡£¡£¡£   ´ó¼Ò¿´ÁËÌû×ӾͿÉÒԴ×Ô¼ºµÄFTPÁË£¬Ï£Íûµ½Ê±ºò³É¹¦µÄͬѧ¿ÉÒÔ°ÑÄãÃǵÄFTP¹±Ï׳öÀ´¡£¡£¡£
      Æäʵ´î½¨Ò»¸ö¼òµ¥µÄFTPÊÇûʲôÄѶȵģ¬ÔÙеÄÐÂÊÖ¿´ÍêÌû×ÓÏàÐŶ¼ÄÜ×Ô¼º×÷³öÀ´×Ô¼ºµÄFTP£¬ËùÒÔÇëÄÍÐÄ¿´ÏÂÈ¥¡£¡£¡£ÏÂÃæ½Ì³Ì¿ªÊ¼
      linux±¾À´¾ÍÊÇΪ·þÎñÆ÷¶øÉúµÄ£¬ËùÒÔÄÃlinuxÀ´×ö·þÎñÆ÷×îºÃ²»¹ýÁË£¬Í¬Ê±linuxÏÂÃæµÄFTP¿Í»§¶ËÒ²ºÜ·á¸»£¬½ñÌìÒª½éÉܵľÍÊÇ×î³öÃûµÄÒ»¿î£ºvsftpd£¬Õâ¿îÈí¼þʹÓüòµ¥²¢ÇÒ¹¦ÄÜÇ¿´ó£¬¿ÉÄÜÁîÐÂÊÖ²»ÊÊÓ¦µÄÊÇûÓÐGUI£¬µ«ÊÇÎÄ×ÖÅäÖøоõ¸ü¼òµ¥£¬¸üºÃÍ棡
      µÚÒ»£ºÏÂÔز¢ÇÒ°²×°vsftpdÈí¼þ£¬ubuntuÏÂÃæÔÚÖÕ¶ËÖ´ÐÐ
sudo apt-get install vsftpd
¸´ÖÆ´úÂë
£¬µÈ´ýƬ¿Ì¾ÍÏÂÔز¢ÇÒ°²×°Íê³ÉÁË£¬²¢ÇÒĬÈÏÒѾ­Æô¶¯·þÎñÇÒ¼ÓÈëÁË×ÔÆô¶¯£¬ÏÂÃæ¾Í¿ÉÒÔ¿ªÊ¼ÅäÖÃvsftpdÁË£¡
      µÚ¶þ£ºÅäÖÃvsftpd£¬ÔÚÖÕ¶ËÊäÈë
sudo gedit /etc/vsftpd.conf
¸´ÖÆ´úÂë
±ã»á´ò¿ªÅäÖÃÎļþ£¬ÈçÏÂͼ£º
ÏÂÃæÌù³öÀ´ÎÒµÄÅäÖÃÎļþ£º£¨ÒÔ#¿ªÍ·µÄΪעÊÍ£¬¿ÉÒÔºöÂÔ£¬Õû¸öÖ±½Ó¸´ÖÆÌæ»»µôÄãµÄ¾Í¿ÉÒÔÁË£©
# Example config file /etc/vsftpd.conf
#
# The default compiled in settings are fairly paranoid. This sample file
# loosens things up a bit, to make the ftp daemon more usable.
# Please see vsftpd.conf.5 for all compiled in defaults.
#
# READ THIS: This example file is NOT an exhaustive list of vsftpd options.
# Please read the vsftpd.conf.5 manual page to get a full idea of vsftpd's
# capabilities.
#
#
# Run standalone?  vsftpd can run either from an inetd or as a standalone
# daemon started from an initscript.
listen=YES
anon_max_rate=81920
#
# Run standalone with IPv6?
# Like the listen parameter, except vsftpd will listen on an IPv6 socket
# instead of an IPv4 one. This parameter and the listen parameter are mutually
# exclusive.
#listen_ipv6=YES
#
# Allow anonymous FTP? (B


Ïà¹ØÎĵµ£º

Linux iptableÎĵµ

×ÜÀÀ
ÓÃiptables -ADC À´Ö¸¶¨Á´µÄ¹æ
Ôò
£¬-AÌí¼Ó -Dɾ³ý -C ÐÞ¸Ä
iptables - [RI] chain rule num rule-specification[option]
ÓÃiptables - RI ͨ¹ý¹æÔòµÄ˳ÐòÖ¸¶¨
iptables -D chain rule num[option]
ɾ³ýÖ¸¶¨¹æÔò
iptables -[LFZ] [chain][option]
ÓÃiptables -LFZ Á´Ãû [Ñ¡Ïî]
iptables -[NX] chain
ÓÃ -NX ......

linux³õѧ

Èç¹ûÄãºÜÏëÖªµÀÕû¸ö²Ù×÷ϵͳÄÚµÄÿ¸öĿ¼ÄÚ¶¼ÓÐЩʲô£¬Ö´ÐÐÃüÁ
cd / && tree >> ~/filesystem.tree
Õ⽫ÊÇÒ»¸ö¶à´ï8MµÄÎļþ£¬ÀïÃæ»áÃèÊöÕû¸öÎļþϵͳµÄĿ¼¼°ÆäÎļþ½á¹¹£¬ÏÖÔÚ¾ÍÕûÌå¶øÑÔÀ´¸ÅÊöһϣº
Ò»¼¶»ù±¾Ä¿Â¼½á¹¹£º
/
Îļþϵͳ¸ùĿ¼£¬Î»ÓÚÕû¸öÎļþϵͳµÄ×¼¶
/boot  
´æ·Å×ÅÆ ......

LinuxÄں˵÷ÊÔ

 
LinuxÄں˵÷ÊÔ
 
1 printk
[1] ʹÓ÷¶Î§
³ýÔÚϵͳÆô¶¯¹ý³ÌÖÐ,ÖÕ¶Ëδ³õʼ»¯Ö®Ç°, ÆäËûÈκÎʱºò,Èκεط½¶¼¿ÉÒÔµ÷ÓÃËü.
[2] ¼Ç¼µÈ¼¶
    KERN_EMERG, KERN_ALERT, KERN_CRIT, KERN_ERR, KERN_WARNING, KERN_NOTICE, KERN_INFO, KERN_DEBUG.
    Èô²»Ö¸¶¨¼Ç¼µÈ¼¶,º¯Êý»áÑ ......

linux Ö÷ºÅÓë´ÓºÅ

¿ÉÒÔ¶ÁÈ¡/proc/devicesÎļþÒÔ»ñµÃLinuxÄں˷ÖÅä¸ø¸ÃÉ豸µÄÖ÷É豸ºÅ¡£
Ö÷É豸ºÅÓÃÀ´Çø·Ö²»Í¬ÖÖÀàµÄÉ豸£¬¶ø´ÎÉ豸ºÅÓÃÀ´Çø·ÖͬһÀàÐ͵Ķà¸öÉ豸
ÔÚLinuxÄں˿´À´£¬Ö÷É豸ºÅ±êʶÉ豸¶ÔÓ¦µÄÇý¶¯³ÌÐò£¬
¸æËßLinuxÄÚºËʹÓÃÄÄÒ»¸öÇý¶¯³ÌÐòΪ¸ÃÉ豸(Ò²¾ÍÊÇ/devϵÄÉ豸Îļþ)·þÎñ£»¶ø´ÎÉ豸ºÅÔòÓÃÀ´±êʶ¾ßÌåÇÒΨһµÄij¸öÉ豸¡£
......

linuxϵͳά»¤³£ÓòÙ×÷ÃüÁî

linuxϲ鿴Ŀ¼´óС- -
 du -sb /dir
²éÕÒµ±Ç°Óû§Ö÷Ŀ¼ÏµÄËùÓÐÎļþ
find . -print
²éÕÒ/var/logsĿ¼Öиü¸Äʱ¼äÔÚ7ÈÕÒÔÇ°µÄÆÕͨÎļþ£¬²¢ÔÚɾ³ý֮ǰѯÎÊËüÃÇ
find /var/logs -type f -mtime +7 -ok rm {  } \;
δÍê´ýÐø£¡ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ