#1更新yum

cd /etc/yum.repos.d
sudo mv CentOS-Base.repo CentOS-Base.repo.backup
sudo wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo


cd /etc/yum.repos.d
sudo wget https://mirrors.aliyun.com/repo/epel-7.repo

sudo yum clean all
sudo yum makecache

mkdir /home/xcd/softwaredownloadandinstall
mkdir /home/xcd/vd_system

#常用软件安装
sudo yum install -y zsh
sudo yum install python36
cd ~
curl -O https://bootstrap.pypa.io/get-pip.py
sudo /usr/bin/python36 get-pip.py
rm get-pip.py

#ntfs-3g
sudo yum install ntfs-3g ntfsprogs

posted on 2018-09-15 23:31  Dave.Xu  阅读(111)  评论(0编辑  收藏  举报