CentOS Minimal Edition installation record
Because the minimal version of the CentOS default installation software is not many, so many of the software need to manually install their own later. Record the installation process and the creation error first:
One, installation of the Ifconfig command
1) Yum Install ifconfig error:
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=i386& Repo=os error was
14:pycurl ERROR 6-""
Error:cannot find a valid baseurl for repo:base
2) Workaround:
The noboot in the ifcfg-eno16777736 file in the/etc/sysconfig/network-scripts directory is set to Yes
The web also provides a way to modify the/etc/resolv.conf file (which was not resolved by the time the situation was changed).
Two, g++ installation
1) Yum Install g++ error:
[email protected] hugo]# Yum install g++ Loaded plugins:fastestmirror, Refresh-packagekit, security Loading Mirror SPE EDS from Cached Hostfile * base:centos.ustc.edu.cn * extras:centos.ustc.edu.cn * updates:centos.ustc.edu.cn sett ing up the Install Process No package g++ available. Error:nothing to do
2) Workaround:
The g++ installation package under CentOS is gcc-c++. Use the Yum install gcc-c++ to complete the installation.
Three, GDB debug:
1)Missing separate Debuginfos, Use:debuginfo-install glibc
Missing separate Debuginfos, Use:debuginfo-install glibc-2.17-106.el7_2.8.x86_64 libgcc-4.8.5-4.el7.x86_64 libstdc++ -4.8.5-4.el7.x86_64
2) Workaround:
The system default Debuginfo-install command does not exist, so you must also install a package. The actual debuginfo-install is a tool for the Yum-utils software package. It is necessary to install Yum-utils (yum install yum-utils) first. Next execute Debuginfo-install glibc-2.17-106.el7_2.8.x86_64 and Debuginfo-install libgcc-4.8.5-4.el7.x86_64.
Reference: http://blog.ifeeline.com/1079.html
[Linux] CentOS Minimal Edition installation record