佛山网站定制,wordpress文章页幻灯片,常见的网络营销有哪些,建设银行网站上不去实验1VSFTPD实验环境在虚拟机Linux 6.5系统下需要2台Linux系统一台A作为服务端一条B作为测试客户端开启2台Linux系统。实验目标A作为服务端配置VSFTPD服务器实现FTP服务。B作为测试客户端验证服务器A的共享是否有效。配置真实主机确保真实主机能ping通2台虚拟机。实验步骤1. 首… 实验1VSFTPD 实验环境在虚拟机Linux 6.5系统下需要2台Linux系统一台A作为服务端一条B作为测试客户端开启2台Linux系统。 实验目标 A作为服务端配置VSFTPD服务器实现FTP服务。 B作为测试客户端验证服务器A的共享是否有效。 配置真实主机确保真实主机能ping通2台虚拟机。 实验步骤1. 首先将A,B真实主机放到同一网段中为了以后实验方便配置永久起效的静态IP地址验证AB真实主机能否通信。[roots5 桌面]#ping 192.168.1.10 //ping真实主机PING 192.168.1.10(192.168.1.10) 56(84) bytes of data.64 bytes from192.168.1.10: icmp_seq1 ttl64 time0.277 m2. 服务器上安装vsftpd包启动vsftpd服务在ftp根目录下创建测试文件ftp.txt 在用户haha的宿主目录下创建测试文件haha.txt。[roots5 桌面]#yum -y installvsftpd //yum安装软件包[roots5 桌面]#cd /var/ftp/ [roots5 ftp]#touch ftp.txt//创建匿名测试文件[roots5 var]#vimftp/ftp.txtThis is a ftp.[roots5 ftp]#lsftp.txt pub[roots5ftp]#useradd haha[roots5ftp]#touch /home/haha/haha.txt [roots5 var]#vim/home/haha/haha.txtThis is a haha.//创建用户测试文件[roots5var]#/etc/init.d/vsftpd restart//开启服务关闭 vsftpd [确定]为 vsftpd 启动 vsftpd [确定] 3. 在Win7主机上匿名访问FTP服务器测试下载上传以用户haha登录FTP服务器测试上传下载打开计算机—在地址栏输入ftp://192.168.1.1查看文件可以下载无法上传。右键登录登录用户haha测试可以上传下载。 4. 客户端B上使用ftp命令访问FTP服务器测试匿名访问、用户登录用户haha登录FTP服务器下载、上传断开ftp连接查看下载的文件需要安装ftp[rootpc5 mk]#yum-y install ftp //安装ftp[rootpc5 mk]#ftp192.168.1.1Connected to192.168.1.1 (192.168.1.1).220 (vsFTPd2.2.2)Name(192.168.1.1:root): ftp//匿名登录331 Pleasespecify the password.Password://不需要密码230 Loginsuccessful.Remote systemtype is UNIX.Using binary modeto transfer files.ftp get ftp.txt//下载ftp quit //退出去221 Goodbye.[rootpc5 桌面]#ls //查看下载内容ftp.txt [rootpc5 桌面]#ftp 192.168.1.1Connected to 192.168.1.1(192.168.1.1).220 (vsFTPd2.2.2)Name(192.168.1.1:root): haha331 Pleasespecify the password.Password:230 Loginsuccessful.Remote systemtype is UNIX.Using binary modeto transfer files.ftp put ftp.txt//上传local: ftp.txtremote: ftp.txt227 EnteringPassive Mode (192,168,1,1,152,120).150 Ok to senddata.226 Transfercomplete.15 bytes sent in0.000206 secs (72.82 Kbytes/sec)ftp ls //查看上传内容227 EnteringPassive Mode (192,168,1,1,86,142).150 Here comes thedirectory listing.-rw-r--r-- 1 501 501 15 Aug 17 07:53ftp.txt-rw-r--r-- 1 0 0 16 Aug 17 07:42haha.txtftp gethaha.txt //下载ftp quit 221 Goodbye.[rootpc5 桌面]#ls //下载内容ftp.txt haha.txt 转载于:https://blog.51cto.com/suixinerwei/1543901