欢迎来到天天文库
浏览记录
ID:37862558
大小:243.50 KB
页数:9页
时间:2019-06-01
《NFS服务器配置教程及代码》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、[root@localhostCDROM]#pwd/media/CDROM[root@localhostCDROM]#cp/media/CDROM/Server/vsftpd-2.0.5-10.el5.i386.rpm/home/cyy[root@localhostCDROM]#cd/home/cyy[root@localhostcyy]#lsDesktophello.txtvsftpd-2.0.5-10.el5.i386.rpm[root@localhostcyy]#rpm-ivhvsftpd-2.0.5-10.el5.i386.rpmwarning:vsftpd-2.0.5-
2、10.el5.i386.rpm:HeaderV3DSAsignature:NOKEY,keyID37017186Preparing...###########################################[100%]1:vsftpd###########################################[100%][root@localhostvsftpd]#grep-v"#"/etc/vsftpd/vsftpd.confanonymous_enable=YESlocal_enable=YESwrite_enable=YESlocal_umask=
3、022dirmessage_enable=YESxferlog_enable=YESconnect_from_port_20=YESxferlog_std_format=YESlisten=YESpam_service_name=vsftpduserlist_enable=YEStcp_wrappers=YES[root@localhostvsftpd]#ls-a...ftpusersuser_listvsftpd.confvsftpd_conf_migrate.sh[root@localhostvsftpd]#mv/etc/vsftpd/vsftpd.conf{,.org}[r
4、oot@localhostvsftpd]#lsftpusersuser_listvsftpd_conf_migrate.shvsftpd.conf.org[root@localhostetc]#cp/usr/share/doc/vsftpd-2.0.5/EXAMPLE/INTERNET_SITE_NOINETD/vsftpd.conf/etc/vsftpd/cp:overwrite`/etc/vsftpd/vsftpd.conf'?[root@localhostetc]#cd/etc/vsftpd[root@localhostvsftpd]#cpvsftpd.confvsftpd
5、.conf.anon_readonly[root@localhostvsftpd]#vivsftpd.confwrite_enable=YESanon_upload_enable=YESanon_mkdir_write_enable=YESanon_other_write_enable=YES[root@localhostvsftpd]#mkdir/var/ftp/incoming[root@localhostvsftpd]#cd/var/ftp[root@localhostftp]#lsincomingpub[root@localhostftp]#ls-ltotal16drwx
6、r-xr-x2rootroot4096Apr2103:15incomingdrwxr-xr-x2rootroot4096Jan172007pub[root@localhostftp]#chownftp/var/ftp/incoming[root@localhostftp]#ls-ltotal16drwxr-xr-x2ftproot4096Apr2103:15incomingdrwxr-xr-x2rootroot4096Jan172007pub[root@localhostftp]#servicevsftpdrestartShuttingdownvsftpd:[FAILED]Sta
7、rtingvsftpdforvsftpd:[OK][root@localhostftp]#lftpftp://localhost/incomingcdok,cwd=/incominglftplocalhost:/incoming>put/home/cyy/hello.txtput:Accessfailed:553Couldnotcreatefile.(hello.txt)lftplocalhost:/incoming>lslftplocalhost:/incoming>mkdir
此文档下载收益归作者所有