- yum-config-manager在yum-utils包里
cd /etc/yum.repo.d/
curl -o epel-7.repo http://mirrors.aliyun.com/repo/epel-7.repo
yum list installed | grep docker
yum install -y bash-completion
source /etc/profile.d/bash_completion.sh
yum groupinstall "Development Tools"
yum install -y gcc g++ kernel-devel
yum install java ### 安装的是OpenJDK
yum install maven
yum clean all
yum -y makecache
systemctl list-unit-files | grep enable
systemctl enable docker.service
systemctl disable docker.service
systemctl daemon-reload
systemctl reset-failed
systemctl status docker
journalctl -ex