VM Configuration Installation Centos-7-minimal

Source: Internet
Author: User

Centos-7-minimal

Recorded in the virtual machine in the process of loading centos-7-minimal, previously installed with an image of the interface CentOS7, try to dress a minimal version of the CentOS7 to familiarize themselves with the process, the use of later work.

Install install VM (slightly) Install CentOS7

Reference:
http://www.tecmint.com/centos-7-installation/

can also be directly under the minimal version of the CentOS7

# 地址http://isoredirect.centos.org/centos/7/isos/x86_64/CentOS-7-x86_64-Minimal-1511.iso

Installation Steps (slightly)

Configure VMS

The main purpose is to modify IP for our own IP format and to access the network.

Open a virtual machine

Edit – Virtual Network Editor

Set NAT

To set how the host is connected

Modify IP View IP for CentOS7

Minimal version CentOS7 is not supported ifconfig, we can use the following command to view the IP, can also be installed by the Ifconfig

ip addr

Installing Ifconfig

#查找 ifconfig 的安装包yum provides ifconfig

As follows:

#安装 ifconfig 的安装包yum install net-tools

View IP

ifconfig

Modify IP
cd /etc/sysconfig/network-scripts/vi ifcfg-eno16777736

modifying properties

#要修改的数据BOOTPROTO=staticIPADDR=192.168.2.100        ###NETMASK="255.255.255.0"     ###GATEWAY=192.168.2.2         ###DNS1=8.8.8.8                ###ONBOOT=yes                  ###

Restart Network

/etc/init.d/network restart
Test IP

View Windows host IP

Using the virtual host ping 192.168.1.100

Description IP Settings succeeded

Modify Host Name

1. View Host Name

hostname 、hostnamectl 或 hostnamectl status

2. Modify Host Name

set-hostname min01

VM Configuration Installation Centos-7-minimal

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.