1. Prepare two linux servers, one is the server and the other is the client. Configure the static ip address for the server, and configure the two servers to communicate normally
[root@localhost ~]# vim /etc/sysconfig/network-scripts/ifcfg-eth0
BOOTPROTO=static
IPADDR=192.168.32.179
GATEWAY=192.168.32.2
NETMASK=255.255.255.0
DNS1=8.8.8.8
[root@localhost ~]# service network restart
2. Please install and configure the telnet service on the linux server, and set the telnt service to start automatically after booting
[root@localhost ~]# yum -y install telnet telnet-server[root@localhost ~]# chkconfig xinetd on[root@localhost ~]# vim /etc/xinetd.d/telnet
disable = on
[root@localhost ~]# service xinetd start
3. Please create an ordinary user test to log in remotely
4. Please install the telnet client on the linux client, and use the telnet client to remotely log in to the linux server to operate, and the login is successful
5. You can continue to use the two linux servers mentioned above, please check whether the ssh service status is started on the Linux server side, and check whether the sshd service is self-starting after booting
[root@localhost ~]# ps -ef | grep sshd
6. Please use ssh on the linux client to remotely log in to test as user 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. Please use xshell or other ssh client software to log in to the linux server on the windows system
8. Please install and configure tigervnc service on the linux server
yum -y install tigervnc-server
9. Create a common user for the tigervnc service and set a password for logging in to vnc for use as a login