Link CentOS in virtualbox through XShell

Source: Internet
Author: User
Use xshell or securecrt to remotely set the network option of the system virtual machine installed in the virtual machine, and select Host-onlyAdapter to set the ip address of the virtualbox virtual network card.

Remote Installation to the system installed in the virtual machine through xshell or secure crt

  1. Set the virtual machine network option and select Host-only Adapter.

  2. Set local network

  3. Set the ip address of the virtualbox Virtual NIC

     

  4.  

4. specify the ip address in centos

 

5. edit the ip address of centos,It must be in the same network segment as the virtualbox Virtual NIC ip address in windows.

 

6. ping the virtual machine on windows to check whether the ping is successful.

7. use xshell connection, select SSH for session, and enter the virtual host IP address

 

8. if the VM Nic is set to nat mode, the VM can access the Internet and access the website through a browser.

9. others

CentOS configuration:

1. before fire prevention is disabled

Service iptables stop

Chkconfig iptables off

2. start the ssh service

Service sshd start

 

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.