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

LinuxϵͳÉϼÜÉèVSFTP·þÎñÆ÷ʵÀý½âÎö

     
ʵÑé»·¾³£ºAS4×îС»¯°²×°
ʵÑéÄ¿±ê£º¼ÜÉèVSFTP·þÎñÆ÷
Õâ´ÎÎÒÃÇÀ´Ñ§Ï°LinuxϵͳÖÐµÄ vsftp·þÎñÆ÷µÄÅäÖá£
ÏÂÃæÎÒÃÇ¿ªÊ¼ÁË£¡Ê×ÏÈÎÒÃÇ°²×°vsftp·þÎñÆ÷¶ËµÄÈí¼þ¡£
vsftpd·þÎñÆ÷µÄ°²×°ÎļþλÓÚµÚ1ÕÅ°²×°¹âÅÌÖС£
ʹÓÃrpmÃüÃû¿É˳Àû°²×°¸ÃÈí¼þ°ü¡£
# rpm -ivh vsftpd-2.0.1-5.i386.rpm
°²×°ÍêºóĬÈϾͿÉÒÔÆô¶¯vsftp·þÎñÁË£¬
[root@localhost ~]# service vsftpd start
Starting vsftpd for vsftpd: [ OK ]
µ«ÊÇĬÈÏÎÒÃÇÖ»ÄÜ¿´£¬²»ÄÜÉÏ´«¡£
1.ÏÂÃæÎÒÃÇ¿ªÆôÄäÃûÓû§ÉÏ´«

[root@localhost /]# vi
/etc/vsftpd/vsftpd.conf
½« anon_upload_enable=YES
anon_mkdir_write_enable=YES
Ç°ÃæµÄ#È¥µô
[root@localhost /]# service vsftpd restart
Shutting down vsftpd: [ OK ]
Starting vsftpd for vsftpd: [ OK ]
2.½«FTP±¾µØÓû§½ûïÀÔÚËÞÖ÷Ŀ¼ÖÐ
ÔÚvsftpd.confÎļþÖÐÌí¼ÓÉèÖÃÏî¡£
chroot_local_user=YES
ÖØÐÂÆô¶¯vsftpd·þÎñ¡£
# service vsftpd restart
3.½¨Á¢ÐéÄâÕʺÅ

a,½¨Á¢ÐéÄâÓû§¿ÚÁî¿âÎļþ¡£
[root@localhost ~]# cat logins.txt
mike
123
john
321
¿ÚÁî¿âÎļþÖÐÆæÊýÐÐÉèÖÃÓû§Ãû£¬Å¼ÊýÐÐÉèÖÿÚÁî ¡£
b,Éú³ÉvsftpdµÄÈÏÖ¤Îļþ(ÔÚµÚ3ÕŹâÅÌÖа²×°)¡£
[root@localhost RPMS]# rpm -ivh
db4-utils-4.2.52-7.1.i386.rpm
warning: db4-utils-4.2.52-7.1.i386.rpm: V3
DSA signature: NOKEY, key ID db42a60e
Preparing...
########################################### [100%]
1:db4-utils
########################################### [100%]
[root@localhost RPMS]# db_load -T -t hash
-f /root/logins.txt /etc/vsftpd/vsftpd_login.db Éú³ÉÈÏÖ¤Îļþ¡£
c, ÉèÖÃÈÏÖ¤ÎļþÖ»¶ÔÓû§¿É¶Á¿Éд¡£
# chmod 600 /etc/vsftpd/vsftpd_login.db
d,½¨Á¢ÐéÄâÓû§ËùÐèµÄPAMÅäÖÃÎļþ¡£
ÊÖ¹¤½¨Á¢vsftpd.vuÎļþ¡£
# cat /etc/pam.d/vsftpd.vu
auth required /lib/security/pam_userdb.so
db=/etc/vsftpd/vsftpd_login
account required
/lib/security/pam_userdb.so db=/etc/vsftpd/vsftpd_login
e,½¨Á¢ÐéÄâÓû§¼°Òª·ÃÎʵÄĿ¼²¢ÉèÖÃÏàÓ¦µÄȨÏÞ¡£
½¨Á¢ËùÓÐFTPÐéÄâÓû§ÕʺÅʹÓõÄϵͳÓû§Õʺţ¬²¢ÉèÖøÃÕʺÅËÞÖ÷Ŀ¼µÄȨÏÞ¡£
# useradd -d /home/ftpsite virtual
# chmod 700 /home/ftpsite
f,ÉèÖÃvsftpd.confÅäÖÃÎļþ


Ïà¹ØÎĵµ£º

LinuxÏÂtarÃüÁîʵÓòÎÊý¼ò½â

tar
-c: ½¨Á¢Ñ¹Ëõµµ°¸
-x£º½âѹ
-t£º²é¿´ÄÚÈÝ
-r£ºÏòѹËõ¹éµµÎļþĩβ׷¼ÓÎļþ
-u£º¸üÐÂԭѹËõ°üÖеÄÎļþ
ÕâÎå¸öÊǶÀÁ¢µÄÃüÁѹËõ½âѹ¶¼ÒªÓõ½ÆäÖÐÒ»¸ö£¬¿ÉÒԺͱðµÄÃüÁîÁ¬Óõ«Ö»ÄÜÓÃÆäÖÐÒ»¸ö¡£ÏÂÃæµÄ²ÎÊýÊǸù¾ÝÐèÒªÔÚѹËõ»ò½âѹµµ°¸Ê±¿ÉÑ¡µÄ¡£
-z£ºÓÐgzipÊôÐÔµÄ
-j£ºÓÐbz2ÊôÐÔµÄ
-Z£ºÓÐcompressÊôÐ﵀ ......

linux ¹ÜÀíÃüÁî Ö® ¼àÊÓϵͳ

1.¼àÊÓÄÚ´æ
free -mt
             total       used       free     shared    buffers     cached
Mem:     ......

LinuxÏÂSUNµÄJREÎÊÌâÈÕÖ¾ÊÕ¼¯

LinuxÏÂSUNµÄJREÎÊÌâÈÕÖ¾ÊÕ¼¯
ÔÚLinuxÏÂʹÓÃSunÌṩµÄJRE£¬µ±·¢Éúcore dumpʱ£¬Èç¹ûÈ·ÈÏÊÇÓÉJREÔì³ÉµÄ£¬Sunͨ³£ÐèÒªÄãÌṩÈÕÖ¾ÒÔ¹©·ÖÎö¡£
ͨ³£ÊÇͨ¹ýÖ´ÐÐpkgapp½Å±¾À´ÊÕ¼¯¡£¸Ã½Å±¾¿ÉÔÚsunÍøÕ¾ÉÏÏÂÔØ£¬Ãû×ÖΪSUN-GDD_pkgapp_linux_redhat.tar.gz¡£
pkgapp¹¤¾ßÐèÒªkshµÄÖ§³Ö£¬Òò´ËÈç¹ûLinuxÉÏûÓа´ÕÕksh£¬±ØÐëÏÈ°²×°²Å¿É¡ ......

LinuxÏÂMail·þÎñÆ÷¼ÜÉè Sendmail

Ò»£® °²×°Sendmail¡£
   
ÍêÈ«°²×°Red Hat Linux
9.0ʱ£¬Sendmail¾Í»á×Ô¶¯ÄÚÖ㬰汾ºÅΪ8.12.8-4¡£Èç¹ûÄ㲻ȷ¶¨LinuxÊÇ·ñÒѾ­°²×°ÓÐsendmail£¬¿ÉÒÔÊäÈëÒÔÏÂÃüÁî²é¿´£º
    [root@ahpeng root] rpm –qa  grep sendmail
   
Èç¹ûÈ·¶¨Ã»Óа²×°£¬ÇëÔÚÍ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ