CentOS 7.0 Minimized installation
View IP
IP addr
View Extranet IP
Curl Ifconfig.me
Restart
Shutdown-r now
Installing wget
Yum-y Install wget
View All Files
LS--all
Go to Catalog
CD Directory Name
Unzip the. tar.gz file
Tar zxvf file name. tar.gz
Force Delete Files
Example
Rm-f/etc/linux.conf
See if a firewall is installed Iptables
Iptables-v (V in uppercase)
CentOS 7.0 Default Iptables v1.4.21
Installing GCC
Yum-y Install GCC
[[email protected] ~]# yum-y install GCC
Loaded plugins: Fastestmirror
Loading mirror speeds from cached hostfile
* base:mirrors.yun-idc.com
* Extras:mirrors.btte.net
* Updates:mirrors.btte.net
Resolving dependencies
--Checking transactions
---> Package gcc.x86_64.0.4.8.2-16.2.el7_0 will be installed
--The dependency is being processed Libgomp = 4.8.2-16.2.el7_0, which is required by the package gcc-4.8.2-16.2.el7_0.x86_64
--processing Dependency CPP = 4.8.2-16.2.EL7_0, which is required by package gcc-4.8.2-16.2.el7_0.x86_64
--and is handling dependencies LIBGCC >= 4.8.2-16.2.el7_0, which is required by the package gcc-4.8.2-16.2.el7_0.x86_64
--and is handling dependencies Glibc-devel >= 2.2.90-12, which is required by the package gcc-4.8.2-16.2.el7_0.x86_64
--Is processing dependency libmpfr.so.4 () (64bit), which is required by the package gcc-4.8.2-16.2.el7_0.x86_64
--Is processing dependency libmpc.so.3 () (64bit), which is required by the package gcc-4.8.2-16.2.el7_0.x86_64
--Checking transactions
---> Package cpp.x86_64.0.4.8.2-16.2.el7_0 will be installed
---> Package glibc-devel.x86_64.0.2.17-55.el7_0.1 will be installed
--The dependency is being processed glibc-headers = 2.17-55.el7_0.1, which is required by the package glibc-devel-2.17-55.el7_0.1.x86_64
--The dependency is being processed glibc = 2.17-55.el7_0.1, which is required by the package glibc-devel-2.17-55.el7_0.1.x86_64
--The dependency glibc-headers is being processed and it is required by the package glibc-devel-2.17-55.el7_0.1.x86_64
---> Package libgcc.x86_64.0.4.8.2-16.el7 will be upgraded
---> Package libgcc.x86_64.0.4.8.2-16.2.el7_0 will be updated
---> Package libgomp.x86_64.0.4.8.2-16.el7 will be upgraded
---> Package libgomp.x86_64.0.4.8.2-16.2.el7_0 will be updated
---> Package libmpc.x86_64.0.1.0.1-3.el7 will be installed
---> Package mpfr.x86_64.0.3.1.1-4.el7 will be installed
--Checking transactions
---> Package glibc.x86_64.0.2.17-55.el7 will be upgraded
--The dependency is being processed glibc = 2.17-55.EL7, which is required by the package glibc-common-2.17-55.el7.x86_64
---> Package glibc.x86_64.0.2.17-55.el7_0.1 will be updated
---> Package glibc-headers.x86_64.0.2.17-55.el7_0.1 will be installed
--and is handling dependencies kernel-headers >= 2.2.1, which is required by the package glibc-headers-2.17-55.el7_0.1.x86_64
--The dependency kernel-headers is being processed and it is required by the package glibc-headers-2.17-55.el7_0.1.x86_64
--Checking transactions
---> Package glibc-common.x86_64.0.2.17-55.el7 will be upgraded
---> Package glibc-common.x86_64.0.2.17-55.el7_0.1 will be updated
---> Package kernel-headers.x86_64.0.3.10.0-123.13.1.el7 will be installed
--Resolve dependency completion
Dependency resolution
================================================================================
Package schema version Source size
================================================================================
Installing:
GCC x86_64 4.8.2-16.2.el7_0 Updates M
To install for dependency:
CPP x86_64 4.8.2-16.2.EL7_0 Updates 5.9 M
Glibc-devel x86_64 2.17-55.el7_0.1 Updates 1.0 M
Glibc-headers x86_64 2.17-55.el7_0.1 updates 650 k
Kernel-headers x86_64 3.10.0-123.13.1.EL7 Updates 1.4 M
LIBMPC x86_64 1.0.1-3.el7 base Wuyi K
MPFR x86_64 3.1.1-4.EL7 Base 203 k
Update for dependencies:
glibc x86_64 2.17-55.el7_0.1 Updates 3.6 M
Glibc-common x86_64 2.17-55.el7_0.1 Updates one M
LIBGCC x86_64 4.8.2-16.2.el7_0 Updates-K
Libgomp x86_64 4.8.2-16.2.el7_0 updates 119 k
Transaction summary
================================================================================
Install 1 packages (+6 dependent packages)
Upgrade (4 dependent packages)
Total Downloads: + M
Downloading packages:
Delta RPMs disabled because/usr/bin/applydeltarpm not installed.
(1/11): glibc-devel-2.17-55.el7_0.1.x86_64.rpm | 1.0 MB 00:05
(2/11): gcc-4.8.2-16.2.el7_0.x86_64.rpm | MB 00:06
(3/11): kernel-headers-3.10.0-123.13.1.el7.x86_64.rpm | 1.4 MB 00:00
(4/11): libgcc-4.8.2-16.2.el7_0.x86_64.rpm | KB 00:00
(5/11): libgomp-4.8.2-16.2.el7_0.x86_64.rpm | 119 KB 00:00
(6/11): glibc-headers-2.17-55.el7_0.1.x86_64.rpm | 650 KB 00:02
(7/11): mpfr-3.1.1-4.el7.x86_64.rpm | 203 KB 00:00
(8/11): libmpc-1.0.1-3.el7.x86_64.rpm | Wuyi 00:03
(9/11): glibc-common-2.17-55.el7_0.1.x86_64.rpm | One MB 00:15
(10/11): cpp-4.8.2-16.2.el7_0.x86_64.rpm | 5.9 MB 00:18
(11/11): glibc-2.17-55.el7_0.1.x86_64.rpm | 3.6 MB 01:00
--------------------------------------------------------------------------------
Total 682 kb/s | MB 01:00
Running transaction Check
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Updating: libgcc-4.8.2-16.2.el7_0.x86_64 1/15
Updating: glibc-2.17-55.el7_0.1.x86_64 2/15
Updating: glibc-common-2.17-55.el7_0.1.x86_64 3/15
Installing: mpfr-3.1.1-4.el7.x86_64 4/15
Installing: libmpc-1.0.1-3.el7.x86_64 5/15
Installing: cpp-4.8.2-16.2.el7_0.x86_64 6/15
Updating: libgomp-4.8.2-16.2.el7_0.x86_64 7/15
Installing: kernel-headers-3.10.0-123.13.1.el7.x86_64 8/15
Installing: glibc-headers-2.17-55.el7_0.1.x86_64 9/15
Installing: glibc-devel-2.17-55.el7_0.1.x86_64 10/15
Installing: gcc-4.8.2-16.2.el7_0.x86_64 11/15
Cleanup: libgomp-4.8.2-16.el7.x86_64 12/15
Cleanup: glibc-2.17-55.el7.x86_64 13/15
Cleanup: glibc-common-2.17-55.el7.x86_64 14/15
Cleanup: libgcc-4.8.2-16.el7.x86_64 15/15
Verified in: cpp-4.8.2-16.2.el7_0.x86_64 1/15
Verified in: glibc-common-2.17-55.el7_0.1.x86_64 2/15
Verified in: glibc-headers-2.17-55.el7_0.1.x86_64 3/15
Verified in: gcc-4.8.2-16.2.el7_0.x86_64 4/15
Verified in: kernel-headers-3.10.0-123.13.1.el7.x86_64 5/15
Verified in: glibc-devel-2.17-55.el7_0.1.x86_64 6/15
Verified in: libgcc-4.8.2-16.2.el7_0.x86_64 7/15
Verified in: mpfr-3.1.1-4.el7.x86_64 8/15
Verified in: libgomp-4.8.2-16.2.el7_0.x86_64 9/15
Verified in: libmpc-1.0.1-3.el7.x86_64 10/15
Verified in: glibc-2.17-55.el7_0.1.x86_64 11/15
Verified in: glibc-2.17-55.el7.x86_64 12/15
Verified in: libgomp-4.8.2-16.el7.x86_64 13/15
Verified in: glibc-common-2.17-55.el7.x86_64 14/15
Verified in: libgcc-4.8.2-16.el7.x86_64 15/15
has been installed:
Gcc.x86_64 0:4.8.2-16.2.el7_0
To be installed as a dependency:
Cpp.x86_64 0:4.8.2-16.2.el7_0
Glibc-devel.x86_64 0:2.17-55.el7_0.1
Glibc-headers.x86_64 0:2.17-55.el7_0.1
Kernel-headers.x86_64 0:3.10.0-123.13.1.EL7
Libmpc.x86_64 0:1.0.1-3.EL7
Mpfr.x86_64 0:3.1.1-4.EL7
As dependencies are upgraded:
glibc.x86_64 0:2.17-55.el7_0.1 glibc-common.x86_64 0:2.17-55.el7_0.1
libgcc.x86_64 0:4.8.2-16.2.el7_0 libgomp.x86_64 0:4.8.2-16.2.el7_0
Complete!
CentOS 7.0 rookie Contact command record