docker exec -it mysql bash
mv /etc/apt/sources.list /etc/apt/sources.list.bak
echo “deb http://mirrors.163.com/debian/ jessie main non-free contrib” >> /etc/apt/sources.list
echo “deb http://mirrors.163.com/debian/ jessie-proposed-updates main non-free contrib” >>/etc/apt/sources.list
echo “deb-src http://mirrors.163.com/debian/ jessie main non-free contrib” >>/etc/apt/sources.list
echo “deb-src http://mirrors.163.com/debian/ jessie-proposed-updates main non-free contrib” >>/etc/apt/sources.list
echo “deb http://mirrors.163.com/debian/ buster main” >> /etc/apt/sources.list
echo “deb http://mirrors.163.com/debian/debian-security buster/updates main” >>/etc/apt/sources.list echo “deb-src http://mirrors.163.com/debian/ buster-updates main” >>/etc/apt/sources.list
deb http://deb.debian.org/debian buster main
deb http://security.debian.org/debian-security buster/updates main
deb http://deb.debian.org/debian buster-updates main
sed -i ‘s/deb.debian.org/mirrors.163.com/g’ /etc/apt/sources.list
sed -i ‘s/security.debian.org/mirrors.163.com/g’ /etc/apt/sources.list
apt-get update -y
apt-get install vim -y
apt-get install wget -y
apt-get install curl -y
apt-get install unzip -y
没有评论:
发表评论