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