前言
麒麟V10系统,软件可直接安装CentOS 7的软件包。
软件源采用清华大学软件源
yum源:https://mirror.tuna.tsinghua.edu.cn/centos-vault/centos/7/extras
docker源: https://mirrors.tuna.tsinghua.edu.cn/docker-ce/linux/centos/7
创建Docker软件源
编辑软件源
vi /etc/yum.repos.d/docker-ce.repo
输入以下内容
麒麟V10系统,软件可直接安装CentOS 7的软件包。
软件源采用清华大学软件源
yum源:https://mirror.tuna.tsinghua.edu.cn/centos-vault/centos/7/extras
docker源: https://mirrors.tuna.tsinghua.edu.cn/docker-ce/linux/centos/7
编辑软件源
vi /etc/yum.repos.d/docker-ce.repo
输入以下内容
首先按照官方文档安装 ossutil
工具: 安装ossutil
并按照教程设置好配置文件
ossutil64 ls oss://<bucket>/<dir_name>
ossutil64 rm oss://<bucket>/<dir_name> -rf
以 sudo 用户身份运行命令,并执行源安装脚本
curl -sL https://deb.nodesource.com/setup_18.x | sudo -E bash -
#ubuntu
apt install nodejs
#centos
yum install nodejs
yum instlal make gcc
进入/tmp目录,然后执行下载命令
wget https://github.com/beanstalkd/beanstalkd/archive/v1.12.zip
解压下载的文件
unzip v1.12.zip
若要更新到 WSL 2,需要 Windows 10 或 Windows 11。
前提:BOIS开启了CPU虚拟化支持
打开windows设置 -> 应用和功能 -> 可选功能 -> 更多Windows功能
将Hyper-V
、虚拟机平台
、适用于Linux的Windows 子系统
选项全部勾上
开始菜单 -> PowerShell -> 单击右键 -> 以管理员身份运行
然后输入以下命令:
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart