Set CentOS7 network in vmware and vmwarecentos7 Network

Source: Internet
Author: User
Tags ip number

Set CentOS7 network in vmware and vmwarecentos7 Network

In order to be able to use XShell to manage our installed CentOS7 system, we need to first set up the CentOS7 network so that it can be connected to the Internet.

1. select edit for vmware, and then click Virtual Network Editor 2. click Change settings (administrator privilege required). 3. select VMnet0 as the bridge mode, and select automatic or Nic 4. open "network and sharing center" and select "VMware Virtual Ethernet Adapter for VMnet8" Nic, right-click and select Properties, check VMware Bridge Protocol, and set ip to automatically get 5. set the network settings of the Virtual Machine and select NAT mode 6. enter the command cd/etc/sysconfig/network-scripts to reach the directory, and enter ls to view all files, vi open edit ifcfg-ens33 files. 7. Modify BOOTPROTO = dhcp and ONBOOT = yes. Enter I to enter the editing mode. After modification, click ESC and enter: wq to save and exit 8. enter service network restart to restart the network 9. enter ifconfig to check whether the network is successfully set. If the ip number is set, 10 is successfully set. use the XShell link CentOS 11 installed. link successful

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.