title: 通过VMware构建本博客使用的生信处理环境 tags: [] id: '1944' categories:
使用Windows系统,安装Docker需要开启WSL2,可能存在未知的BUG,操作和维护也不是那么轻松,因此本文将教大家如何使用VMware安装Ubuntu,再通过Ubuntu安装Docker,然后通过Docker安装Jupyter Docker Stacks
复旦大学是VMware学术计划成员,因此在校师生可以在遵循相关协议的前提下免费使用VMware学术计划内所包含产品。点此按信息办的步骤即可完成VMware的安装
从Ubuntu官网下载ISO镜像,创建虚拟机
选择典型
选择ISO镜像路径
选择虚拟磁盘保存路径,建议新建空文件夹
磁盘大小设置大一点
一路默认,到这里选择开启SSH,安装完成后会提示reboot,之后会提示移除CD安装镜像
deb http://mirrors.aliyun.com/ubuntu/ jammy main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ jammy main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ jammy-security main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ jammy-security main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ jammy-updates main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ jammy-updates main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ jammy-backports main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ jammy-backports main restricted universe multiverse
{
"registry-mirrors":[
"https://hub-mirror.c.163.com/",
"https://docker.mirrors.ustc.edu.cn/"
]
}
curl -sSL https://get.daocloud.io/docker sh
curl -L https://get.daocloud.io/docker/compose/releases/download/v2.8.0/docker-compose-$(uname -s)-$(uname -m) > /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose
docker -v
docker-compose -v