Buster

自制Linux桌面的Docker镜像

杀马特。学长 韩版系。学妹 提交于 2020-01-06 14:02:13
【推荐】2019 Java 开发者跳槽指南.pdf(吐血整理) >>> 本文以制作一个Debian桌面镜像为例,介绍手动制作容器镜像的过程。 # 拉取最新的Debian官方包 docker pull debian:latest # 跑起一个Debian实例 docker run -it debian:latest # 更改软件包源到国内(示例为阿里云) echo -ne "deb http://mirrors.aliyun.com/debian/ buster main non-free contrib \ndeb-src http://mirrors.aliyun.com/debian/ buster main non-free contrib \ndeb http://mirrors.aliyun.com/debian-security buster/updates main \ndeb-src http://mirrors.aliyun.com/debian-security buster/updates main \ndeb http://mirrors.aliyun.com/debian/ buster-updates main non-free contrib \ndeb-src http://mirrors.aliyun.com/debian/ buster

Deepin 专业版桌面15.5 SP2安装最新版Nodejs

☆樱花仙子☆ 提交于 2019-12-24 13:18:24
【推荐】2019 Java 开发者跳槽指南.pdf(吐血整理) >>> 笔记本自带的Deepin系统如果按照 官方指南 手动安装,会出现错误: Your distribution, identified as "camel", is not currently supported 其实 官方脚本 对Deepin发行版是做了判断的: check_alt "Deepin" "panda" "Debian" "sid" check_alt "Deepin" "unstable" "Debian" "sid" check_alt "Deepin" "stable" "Debian" "buster" 不明白为什么专业版桌面的Codename改成了camel。至此解决方案很简单: 手动修改Codename为“sid”或者“buster” 按照官方指南操作 手动还原Codename为“camel” #1 set codename sudo sed -i 's/camel/buster/g' /etc/lsb-release #2 follow offical guide curl -sL https://deb.nodesource.com/setup_12.x | bash - apt-get install -y nodejs #3 recover sudo sed -i 's