Introduction to CRT-connected virtual machine Linux system

Source: Internet
Author: User

For how to use the CRT to connect the virtual machine Linux system, I also ponder a few days, today and share with you.


First, after you open the VMware virtual machine, open the virtual machine editor in the editing options.

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/6F/09/wKiom1WP-vXQ9yfDAAKPp5z95t0778.jpg "title=" 1.png " alt= "Wkiom1wp-vxq9yfdaakpp5z95t0778.jpg"/>

Select VMnet8, click Nat mode and connect the host virtual adapter to this network, note the network segment 192.168.174.0 and mask 255.255.255.0, and then exit.


In the network and Sharing Center find the change adapter settings, open VMnet8 tcp/ip4, note the URL 192.168.74.1 and mask 255.255.255.0.

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/6F/06/wKioL1WP_RfTMxQrAABBIzZyHb8215.jpg "title=" 2.png " alt= "Wkiol1wp_rftmxqraabbizzyhb8215.jpg"/>


650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/6F/09/wKiom1WP-6qheFsFAAGx9q7qJD0553.jpg "title=" 4.png " alt= "Wkiom1wp-6qhefsfaagx9q7qjd0553.jpg"/>

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/6F/06/wKioL1WP_XnAsmfoAAGGF6Q6Ywg460.jpg "title=" 3.png " alt= "Wkiol1wp_xnasmfoaaggf6q6ywg460.jpg"/>

Log into the virtual machine's Linux system character interface with the root account and enter Cd/etc.

Go to [[email protected] etc]#


Enter LS to find Sysconfig


Input CD Sysconfig


Enter LS to find network-scripts


Input CD network-scripts


Enter LS to find Ifcfg-eth0


Input VI Ifcfg-eth0


Press I, the bottom line appears insert, enter insert mode.

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/6F/06/wKioL1WP_oHAgOdKAADm3bzcPcI751.jpg "title=" 7.png " alt= "Wkiol1wp_ohagodkaadm3bzcpci751.jpg"/>

Change the Bootproto to static

Change Onboot to Yes

Input

ipaddr=192.168.174.200

netmask=255.255.255.0

gateway=192.168.174.1


When you're finished, press ESC to enter edit mode


Input: wq! Exit


Enter service network restart after exiting

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/6F/09/wKiom1WP_PWyw9CXAAEeQirCTaU139.jpg "title=" 6.png " alt= "Wkiom1wp_pwyw9cxaaeeqirctau139.jpg"/>

Ping the gateway. Enter Ping 192.168.174.1

After pinging, press CTRL + C to terminate the ping.


650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/6F/09/wKiom1WP_QWDHJR-AAIKt1TbrVc580.jpg "title=" 5.png " alt= "Wkiom1wp_qwdhjr-aaikt1tbrvc580.jpg"/>

Enter the command prompt for your computer. Ping 192.168.174.200, exit after pass.


Open the CRT. Establish the connection. Enter host name 192.168.174.1 port number 22 user name root Click Connect

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/6F/09/wKiom1WP_UXwsrX1AACE3boLbUY485.jpg "title=" 8.png " alt= "Wkiom1wp_uxwsrx1aace3bolbuy485.jpg"/>

This article is from the "Sun Wan" blog, make sure to keep this source http://sunwang.blog.51cto.com/10024972/1668835

Introduction to CRT-connected virtual machine Linux system

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.