<<<第十三单元练习>>>

1.在server主机中配置yum仓库,并安装gcc编辑器

未建立yum仓库时 无法 使用yum

unit 13 习题_unit 13 习题

vim /etc/yum.repos.d/yum.repo  ###建立yum仓库 且虚拟机中源指向为真机的共享

unit 13 习题_unit 13 习题_02

建立完成要 clean all

unit 13 习题_unit 13 习题_03


配置好yum后 命令:yum search gcc  

unit 13 习题_unit 13 习题_04

命令:yum install gcc.x86_64 -y         安装gcc

unit 13 习题_unit 13 习题_05

unit 13 习题_unit 13 习题_06

安装完成