没有合适的资源?快使用搜索试试~ 我知道了~
首页linux网络服务实验.doc
1、设置window IP地址为192.168.3.XX,掩码24位。 2、设置Linux IP地址为192.168.3.YY,掩码24位。window与Linux互相ping通。 3、在linux中开通telnet和vsftp服务。 4、linux中建立 a+学号 的帐号,使用该帐号telnet登录linux,在主目录下创建login.txt文件。 5、在window中使用命令行终端连接至linux的ftp服务。 6、在linux中把/var/log/messages文件的后10行写入login.txt文件。 7、采用刚才建立的帐号登录ftp,把login.txt文件下载至windows 的C盘目录下。 8、把第1、2步设好的ip地址和互相ping通截图至word,第4、5、7步的操作过程截图至word。提交word文件。
资源详情
资源评论
资源推荐

Author:dwh
Date:10.28
1、设置 window IP 地址为 192.168.3.XX,掩码 24 位。
2、设置 Linux IP 地址为 192.168.3.YY,掩码 24 位。window 与 Linux 互相 ping 通。
[root@dwh ~]# ifconfig eth0 192.168.3.3 netmask 255.255.255.0
[root@dwh ~]# ping 192.168.3.5
PING 192.168.3.5 (192.168.3.5) 56(84) bytes of data.
64 bytes from 192.168.3.5: icmp_seq=1 ttl=64 time=2.16 ms
64 bytes from 192.168.3.5: icmp_seq=2 ttl=64 time=0.246 ms
64 bytes from 192.168.3.5: icmp_seq=3 ttl=64 time=0.241 ms
64 bytes from 192.168.3.5: icmp_seq=4 ttl=64 time=0.274 ms
64 bytes from 192.168.3.5: icmp_seq=5 ttl=64 time=0.230 ms
--- 192.168.3.5 ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4000ms
rtt min/avg/max/mdev = 0.230/0.631/2.164/0.766 ms
3、在 linux 中开通 telnet 和 vsftp 服务。
[root@dwh ~]# cat /etc/xinetd.d/krb5-telnet
# default: off
# description: The kerberized telnet server accepts normal telnet sessions, \
# but can also use Kerberos 5 authentication.
service telnet
{
flags = REUSE
socket_type = stream
wait = no
user = root
server = /usr/kerberos/sbin/telnetd
log_on_failure += USERID
disable = yes
}
[root@dwh ~]# vi /etc/xinetd.d/krb5-telnet
yes->no
[root@dwh ~]# rpm-q vsFTPd
bash: rpm-q: command not found
[root@dwh ~]# rpm -q vsftpd
vsftpd-2.0.5-12.el5
[root@dwh ~]# vi /etc/vsftpd/vsftpd.conf







安全验证
文档复制为VIP权益,开通VIP直接复制

评论2