vsftp·þÎñÆ÷ÅäÖÃ(¶þ)
×÷Õß ØýÃû¼¼Êõ
À´Ô´ Linuxϵͳ
ä¯ÀÀ
·¢²¼Ê±¼ä 2012-04-06
nnected to 192.168.88.22. 220 (vsFTPd 2.0.1) 530 Please login with USER and PASS. 530 Please login with USER and PASS. KERBEROS_V4 rejected as an authentication type Name (192.168.88.22:root): oralce 331 Please specify the password. Password: 230 Login successful. Remote system type is UNIX. Using binary mode to transfer files. ftp> ls 227 Entering Passive Mode (192,168,88,22,197,148) 150 Here comes the directory listing. -rw-r--r-- ÓµÓе۹úÒ»ÇУ¬½ÔÓпÉÄÜ¡£»¶Ó·ÃÎÊphome.net 1 0 0 8 Jan 02 10:16 mm drwx---rwx 2 0 0 4096 Jan 02 11:19 pub 226 Directory send OK. ftp> cd pub 250 Directory successfully changed. ftp> mkdir mm 257 "/pub/mm" created ftp> ls 227 Entering Passive Mode (192,168,88,22,210,125) 150 Here comes the directory listing. drwxr-xr-x 2 14 50 4096 Jan 02 11:20 mm 226 Directory send OK. ftp> ¿ÉÒÔ¿´³ötestÓû§²»ÄÜ´´½¨Îļþ,¶øoralceÓû§¿ÉÒÔ½øÐд´½¨. ×¢Ò⣺¶ÔÓÚÄäÃûÓû§,Èç¹ûÐèÒª½ûÖ¹ÄäÃûÓû§Á¬½Óftp·þÎñÆ÷,ÄÇôÔÚÅäÖÃÎļþÖн«ÄäÃûÓû§µÄ²ÎÊýÐÞ¸ÄΪno,²»ÄÜ×¢Ïú,ϵͳ±¾ÉíĬÈÏΪyes.¼´Ê¹ÊÇ×¢ÏúÒ²²»»áÉúЧ. Îå¡¢ÐéÄâÓû§·þÎñÆ÷ÅäÖã¨Í¨¹ýÊý¾Ý¿â£© 1.°²×°»·¾³ ϵͳ£ºRHEL5.2 Êý¾Ý¿â£ºMySQL-server-community-5.1.30-0 ftp·þÎñÆ÷£ºvsftpd-2.0.5-12.el5 2.vsftpµÄ°²×° [root@rhel5 mnt]# rpm -ivh vsftpd-2.0.5-12.el5.i386.rpm 3.´´½¨guestÓû§ vsftp·þÎñÆ÷²ÉÓÃpamÄ£¿éÀ´ÊµÏÖÐéÄâÓû§ÑéÖ¤.ÐéÄâÓû§µÄÓû§ÃûºÍ¿ÚÁî±»µ¥¶À±£´æ,Òò´ËvsftpdÔÚÑéÖ¤µÄʱºòÐèÒªÒ»¸öϵͳÕÊ»§¶ÁÈ¡Êý¾Ý¿âÎļþÍê³ÉÑéÖ¤¹¦ÄÜ.Õâ¾ÍÊÇvsftpdµÄguestÓû§,¾ÍÄäÃûÓû§Ò»ÑùÐèÒªÒ»¸öϵͳÕÊ»§ftp. [root@rhel5 mnt]#useradd –M –d /data –s /sbin/nologin vftp [root@rhel5 mnt]#passwd vftp [root@rhel5 mnt]#chmod 700 /data [root@rhel5 mnt]#chown vftp:vftp /data 4. °²×°Êý¾Ý¿â²¢½«ÐéÄâÓû§±£´æÔÚmysqlÊý¾Ý¿âÖÐ °²×°mysqlÊý¾Ý¿â MySQL-client-community-5.1.30-0.rhel5.i386.rpm MySQL-server-community-5.1.30-0.rhel5.i386.rpm MySQL-shared-compat-5.1.30-0.rhel5.i386.rpm ×¢Ò⣺ Õ⼸¸ö°üÒ²°²×°.Èç¹ûûÓа²×°ÒÔÏ°üʱ,ÐéÄâÓû§µÇ½ʱ»á³öÎÊÌâ. perl-DBI-1.52-1.fc6.i386.rpm perl-DBD-MySQL-3.0007-1.fc6.i386.rpm perl-DBD-Pg-1.49-1.fc6.i386.rpm ´´½¨Êý¾Ý¿â¼°Óû§ [root@rhel5 ~]# mysql -u root -p Enter password: Welcome to the MySQL monitor. Commands end with ; or g. Your MySQL connection id is 31 Server version: 5.1.30-community MySQL Community Server (GPL) Type ''help;'' or ''h'' for help. Type ''c'' to clear the buffer. mysql> create database vsftpd; Query OK, 1 row affected (0.00 sec) mysql> use vsftpd; Database changed mysql> create table accounts(username varchar(20),passwd varchar(10)); Query OK, 0 rows affected (0.01 sec) mysql> insert into accounts(username,passwd) value(''admin'',''123456''); Query OK, 1 row affected (0.00 sec) mysql> insert into accounts(username,passwd) value(''upload'',''123456''); Query OK, 1 row affected (0.00 sec) mysql> insert into accounts(username,passwd) value(''download'',''123456''); Query OK, 1 row affected (0.00 sec) mysql> gra |
ÁèÖڿƼ¼×¨ÒµÌṩ·þÎñÆ÷×âÓᢷþÎñÆ÷Íйܡ¢ÆóÒµÓʾ֡¢ÐéÄâÖ÷»úµÈ·þÎñ£¬¹«Ë¾ÍøÕ¾£ºhttp://www.lingzhong.cn ΪÁ˸ø¹ã´ó¿Í»§Á˽â¸ü¶àµÄ¼¼ÊõÐÅÏ¢£¬±¾¼¼ÊõÎÄÕÂÊÕ¼¯À´Ô´ÓÚÍøÂç,ÁèÖڿƼ¼×ðÖØÎÄÕÂ×÷ÕߵİæȨ£¬Èç¹ûÓÐÉæ¼°ÄãµÄ°æȨÓбØҪɾ³ýÄãµÄÎÄÕ£¬ÇëºÍÎÒÃÇÁªÏµ¡£ÒÔÉÏÐÅÏ¢ÓëÎÄÕÂÕýÎÄÊDz»¿É·Ö¸îµÄÒ»²¿·Ö,Èç¹ûÄúҪתÔر¾ÎÄÕÂ,Çë±£ÁôÒÔÉÏÐÅÏ¢£¬Ð»Ð»! |
Äã¿ÉÄܶÔÏÂÃæµÄÎÄÕHTTP/1.1 401 Access Denied
¸ÐÐËȤ