Operation of the newly installed virtual machine exposing the IP externally

Source: Internet
Author: User

We have just installed the virtual machine, is not immediately connected via IP, you need to start the network service to connect to the virtual machine via IP externally, the following record this procedure, in case of a contingency:

Environment: Virtual machines (VMware Workstation Pro) and Sentos 7 systems

Just install the clean Sentos 7 execute the following command to see IP:

IP Addr
(ifconfig is obsolete)

See ENS33 below the IP description of the net does not start the network service;

1. Check the configuration of the ENS33 network card: VI/ETC/SYSCONFIG/NETWORK-SCRIPTS/IFCFG-ENS33;

After saving exit;

(Related commands: i-edit; esc:wq-Save and exit)

2. Restart the Network service: sudo service network restart

See the following [OK] is complete;

3. Enter the IP addr command to see the IP, at this time there are inet!


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.