Skip to content

Instantly share code, notes, and snippets.

View xx-zhang's full-sized avatar
💭
working

xx-zhang xx-zhang

💭
working
View GitHub Profile
@xx-zhang
xx-zhang / gist:c8a949dbdd8eac9d9fb6893e9770c618
Created August 4, 2021 01:26
Install docker-ce base centos7
#!/bin/bash
# Install aliyun repo
echo ">>> Install aliyun repo"
curl -o /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo >/dev/null 2>&1
# Install desired packages
echo ">>> Install desired packages"
yum install -y -q vim wget git net-tools epel-release >/dev/null 2>&1