CentOS7.5常用应用安装
CentOS7.5常用应用安装
ifconfig
yum install -y net-tools
wget
yum install -y wget
git
yum install -y git
gcc
yum install -y gcc
同步命令
yum install -y rsync
http客户端
yum install -y curl
解压、压缩
yum install -y zip unzip
系统指标查看
yum install -y sysstat
mdns
yum install -y avahi
rz文件上传
yum install -y lrzsz
tree
yum install -y tree
更新 yum 包
yum update
安装必要的系统工具
yum install -y yum-utils device-mapper-persistent-data lvm2
添加Ali的yum镜像源
yum-config-manager --add-repo http://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo
安装docker
yum install docker-ce-17.12.1.ce
安装docker-compose
curl -L https://github.com/docker/compose/releases/download/3.0/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose
# 设置 docker-compose 执行权限
chmod +x /usr/local/bin/docker-compose