容器初始化

来自linux中国网wiki
Evan讨论 | 贡献2020年4月11日 (六) 08:44的版本
跳到导航 跳到搜索

os.init


echo 'deb http://mirrors.163.com/debian/ buster main non-free contrib
deb http://mirrors.163.com/debian/ buster-updates main non-free contrib
deb http://mirrors.163.com/debian/ buster-backports main non-free contrib
deb-src http://mirrors.163.com/debian/ buster main non-free contrib
deb-src http://mirrors.163.com/debian/ buster-updates main non-free contrib
deb-src http://mirrors.163.com/debian/ buster-backports main non-free contrib
deb http://mirrors.163.com/debian-security/ buster/updates main non-free contrib
deb-src http://mirrors.163.com/debian-security/ buster/updates main non-free contrib' >sources.list

#可以看一下别人要安装的是哪些
apt install -y  vim.tiny  curl cron procps #usage vim.tiny  vim太重了