1 Star 0 Fork 10

renfjnov/linuxpc_setup

forked from hkmc/linuxpc_setup 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
init.sh 1.38 KB
一键复制 编辑 原始数据 按行查看 历史
mmssddss 提交于 2020-11-21 17:22 . 单独拆出 oem 安装
set -eux
setup_source_mirror() {
# cat > /etc/apt/sources.list << "EOF"
cat > ./sources.list << "EOF"
deb http://mirrors.aliyun.com/ubuntu/ focal main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ focal-security main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ focal-updates main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ focal-proposed main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ focal-backports main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ focal main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ focal-security main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ focal-updates main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ focal-proposed main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ focal-backports main restricted universe multiverse
EOF
sudo cp ./sources.list /etc/apt/sources.list
sudo apt update
rm ./sources.list
}
install_essential() {
echo "begin install essential"
sudo apt install -y git zsh vim build-essential
sh -c "$(wget https://gitee.com/kuaibiancheng/kbc_setup/raw/master/install.ohmyz.sh -O -)"
}
__main() {
setup_source_mirror
install_essential
}
__main
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Shell
1
https://gitee.com/renfjnov/linuxpc_setup.git
git@gitee.com:renfjnov/linuxpc_setup.git
renfjnov
linuxpc_setup
linuxpc_setup
master

搜索帮助

D67c1975 1850385 1daf7b77 1850385