[Linux] CentOS Minimal Edition installation record

Source: Internet
Author: User

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

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.