linux centos6 安装redis

linux安装gcc时报错,求解决方法

```c
[root@itcast01 etc]# yum install gcc-c++                           
Loaded plugins: fastestmirror, refresh-packagekit, security
Setting up Install Process
No package gcc-c++ available.
Error: Nothing to do

yum install gcc-c++-devel

我查了一下,让找/etc/yum.repos.d这个文件夹,但是我的etc文件夹下面没有yum.repos.dz这个文件夹呀

img