13. Telnet to Linux

Source: Internet
Author: User

13. Telnet to Linux

Experimental requirements:

1. Log in to the Linux virtual machine Putty using the Telnet tool.

2. Log in to the Linux virtual machine using the VNC service.

Laboratory Equipment:

Software:

1. A VMware virtual machine with RHEL6 installed.

2. Putty Telnet tool.

3. VNC Server Installation package:

tigervnc-server-1.0.90-0.17.20110314svn4359.el6.i686.rpm.

Hardware:

    1. PC Machine

Background knowledge:

1. Linux Remote login:

Linux most applications and servers, and servers can not be like a PC in the office, they are placed in the server room, so we usually visit the Linux system is often accessed by remote login. The Linux system is a remote login function implemented via the SSH service. The default SSH service opens Port 22, and when the system is installed, the service is installed and started on boot. So you don't need our extra configuration to telnet directly to the Linux system. In the Windows operating system, we choose two simple remote login tools, PuTTY and VNC;

PuTTY is the Windows Login Linux terminal tool, login is the character interface, login terminal can be used as the same as under Linux terminal.

VNC (Virtual network Computing) is an abbreviation for a virtualized networked computer and is a remote login tool that can be graphically logged into a Linux system.

?

Experimental steps:

PuTTY tool Installation and use

1. According to the experimental requirements, we need windows to log on to Linux through the network, so follow the 14th lesson, configure the Windows and Linux network environment, connect to the network using bridging, and then make sure Windows can ping Linux.

2. Close the Linux firewall and use the command "/etc/init.d/iptables stop"

Figure 3-130

Shutting down the Linux firewall

3. Run the PuTTY Telnet tool, run the 15th lesson in Windows-Telnet linux/related software/putty.exe; 3-131 as shown in PuTTY configuration, such as frequent use of PuTTY to log on to the host, you can "save session (E)" Select the session "Save", and then use the PuTTY log in again to select the session "open".

Figure 3-131

PUTTY-SSH Configuration

4. PuTTY login host; Enter the username "root" and password of the Linux system, then run "LS" to view the files in the/root directory, as shown in 3-132, you can see that this window is similar to the terminal serial operation under Linux.

Figure 3-132

PuTTY Login

VNC Server Installation and use

5. Log in to the Linux host using the VNC service; Locate the installation package in the Linux CD directory Packages directory

TIGERVNC-SERVER-1.0.90-0.17.20110314SVN4359.EL6.I686.RPM, double-click the installation package to select "Confirm Continue", "install".

6. After successful installation, start the VNC service, use the command "Vncserver" in the first run Vncserver, service, need to set Vncserver password (enter password does not appear on the terminal) after setting successfully, and then select the background to run the VNC service, command " Vncserver & ", recording" Localhost.localdomain:6 "in Print Information" 4 ", shown in 3-133.

Figure 3-133

Running the Vncserver server

7. Log in to the VNC server; Run 15th lesson-Telnet linux/related software

As shown in/vnc-e4_2_5-x86_win32_viewer 3-134, enter the server IP and port number in the "Server" field, then select "OK" to log in and follow the prompts to enter the Vncserver password in Figure 3-135.

Figure 3-134

Log in to the VNC server using the VNC viewer

Figure 3-135

Enter the VNC server password

8. Login is successful, the VNC viewer opens in Terminal 3-136, the login is successful and can be manipulated in the Linux graphics interface.

Figure 3-136

Log in to Linux using Vnc_viewer

Summarize:

Through this lesson to learn, master PuTTY and VNC two ways to Telnet to the Linux system.

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

13. Telnet to Linux

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.