一、替换redhat 的yum源
由于redhat不是开源的,yum需要使用centos源来替换,依赖安装会需要更新现有的rpm包,安装完成。本文链接:https://blog.csdn.net/ztx114/article/details/85149629
二、redhat安装JDK
https://blog.csdn.net/kadwf123/article/details/80865669
三、redhat安装docker
https://yq.aliyun.com/articles/621058
报错:报错initscripts conflicts with redhat-release-server-7.0-1.el7.x86_64
Error: initscripts conflicts with redhat-release-server-7.0-1.el7.x86_64
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
解决:
删除冲突的rpm包即可
[root@localhost ~]# rpm -e redhat-release-server-7.0-1.el7.x86_64 --nodeps