Minimal installation of centos 7
Created as a document, in the attachment
View System Version Information
# Uname-
# Cat/etc/RedHat-release
Upgrade all packages, change software and system settings, and upgrade the system version and kernel.
# Yum-y update
Upgrade all packages without changing the software and system settings. upgrade the system version without changing the kernel.
# Yum-y upgrade
The configuration file of the host name in centos7 has changed. It is no longer/etc/sysconfig/network. Changing/etc/hostname will take effect.
# Vi/etc/hostname
In addition to modifying/etc/resolv. conf, you can also directly set/etc/sysconfig/network-scripts/ifcfg-eno16777728 In the NIC so that when the network service is restarted,/etc/resolv will be generated. configuration in Conf
View log files
# Tail-F/var/log/messages
Mount. DHCP is used as an example.
# Mkdir/mnt/CDROM
# Mount/dev/CDROM/mnt/CDROM
# Cd/mnt/CDROM/Packages
# Ls DHCP * view the DHCP installation package
# Rpm-uvh installation package
# Rpm-QC DHCP
Before changing a configuration file, we recommend that you back up it for later use.
# Cp/etc/DHCP/DHCPD. CONF/etc/DHCP/DHCPD. conf. Origin
Command changes
Systemctl is the command of the system service manager. It combines the two commands "service" and "chkconfig ".
650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M02/46/96/wKiom1PzH26DSikwAAHzeJ0ORPU249.jpg "Title =" zhiling.jpg "alt =" wkiom1pzh26dsikwaahzej0orpu249.jpg "/>