Implementing a connection between the CRT and Linux in the VM (CentOS 6)

Source: Internet
Author: User

I worked on it all afternoon. Don't turn off the firewall. Don't do anything. Look what I said. I don't know, you can add me qq:2857650052.

Always welcome.


Time: 14/11/14--21.28


Purpose: Use the CRT and the virtual machine to connect to the Linux system.


Conditions: CRT software, Linux system, VM software, Win7.


Operation:

A, virtual machine configuration.

1), "virtual machine"--"Settings"-"network adapter" in the upper tab--Change network connection to VMNET8 (NET mode)

B, the real machine configuration.

1), right-win7 in the lower right corner of the signal sign-open network and Sharing center-select "Change adapter Settings"-Select the VMNET8 network card.

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/53/6E/wKiom1RnCGiTtv0YAAAyRqiBOKc438.jpg "title=" 1.JPG " alt= "Wkiom1rncgittv0yaaayrqibokc438.jpg"/>

2), right-click Nic Point Properties--Select ipv4--Point Properties

3), make a note of the IP. Mine is 193.168.242.1.

C, virtual system settings.

1), enter the system, in order to avoid trouble, please go directly into the character mode (CTRL+ALT+F2)

2), log in to the root account (required)

3), Input Vi/etc/sysconfig/network-scripts/ifcfg-eth0

4) except the Physical address (HWADDR) is all erased (enter and press I to enter edit mode) [if you are worried about the problem you can copy the original code to the real machine.]

5), and then put the IP, gateway, mask, etc. into the input.

As follows:

Device= "Eth0"

onboot= "Yes"

Hwaddr= your physical address.  Did you just delete it? accidentally deleted, press ESC, and then enter: q! You can exit without saving and then re-execute the 3rd step.)

Ipaddr=192.168.242.10 (as long as the 192.168.242.* and your VMnet8 address as good, the last piece to fill, not the same, not greater than 254, not less than 1)

netmask=255.255.255.0

gateway=192.168.242.1 (VMnet8 address)

6), press ESC, and then enter: Wq can save exit

7), enter Svrice network REStat (restart network card), there are 4 OK. No, contact me. 2857650052

8), input svrice sshd restat

d,crt configuration.

1), open the CRT, point to Quick Connect, enter the IP of your virtual system,

2), select Ssh2.

3), enter the root user name.

Success ! Enclose the result map. Have questions welcome to inquire, discuss together. 2857650052


650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/53/6E/wKiom1RnCFPyIeMIAAGQJZmx2Dk214.jpg "title=" 2.JPG " alt= "Wkiom1rncfpyiemiaagqjzmx2dk214.jpg"/>

Implementing a connection between the CRT and Linux in the VM (CentOS 6)

Related Article

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.