1. 准备两台linux服务器,一台为服务器端,一台为客户端,为服务器配置静态ip地址,配置两台服务器网络通信正常
[ root@localhost ~]
BOOTPROTO= static
IPADDR= 192.168.32.179
GATEWAY= 192.168.32.2
NETMASK= 255.255.255.0
DNS1= 8.8.8.8
[ root@localhost ~]
2. 请在linux服务器端安装配置telnet服务,并将telnt服务设置为开机自动启动
[ root@localhost ~]
[ root@localhost ~]
[ root@localhost ~]
disable = on
[ root@localhost ~]
3.请创建一个普通用户test,以远程登录使用
[ root@localhost ~]
[ root@localhost ~]
[ root@localhost ~]
4. 请在linux客端端安装telnet客户端,并使用telnet客户端远程登录到linux服务器端操作,登录成功得分
[ root@localhost ~]
[ root@localhost ~]
login: test
Password:
[ test@localhost ~] $ ifconfig
5. 可以继续使用上题的两台linux服务器,请在Linux服务器端检查ssh服务状态是否为启动,并检查sshd服务是否为开机自启
[ root@localhost ~]
6.请在linux客户端通过ssh,使用test用户远程登录测试
[ test@localhost ~] $ ssh [email protected]
Are you sure you want to continue connecting ( yes/no) ? yes
[email protected] 's password:
[ test@localhost ~] $ ifconfig
7. 请在windows系统上使用xshell或者其他ssh客户端软件登录linux服务器
8. 请在linux服务器上安装并配置tigervnc服务
yum -y install tigervnc-server
9. 为tigervnc服务创建普通用户并为其设置登录vnc的密码,以用作登录使用
[ root@localhost ~]
Password: 六位数密码第一遍
Verify: 第二遍确认
10. 将vnc服务器启动,并设置为开机自动启动,使用vnc客户端登录测试
[ root@localhost ~]
VNCSERVERS= "1:root"
[ root@localhost ~]