你可以从 Microsoft Store 中选择多个 Linux 发行版,如 Ubuntu、Debian、Kali 等,满足不同的需求。5.我可以使用 Docker 吗?完全可以,WSL 2 完美支持 Docker,允许你在 Windows 上像在 Linux 环境中一样使用 Docker 进行容器化开发。6.为什么安装 WSL 2 后速度很慢?可能是因为仍在使
WSL 的安装没有难度,开箱即用;一行 wsl --list --online 查询分发,一行 wsl --installUbuntu-22....
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 ### Ubuntu22.04 中科大镜像源 ### deb https://mirrors.ustc.edu.cn/ubuntu/ jammy main restricted universe multiver...
# 默认注释了源码镜像以提高 apt update 速度,如有需要可自行取消注释 deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ focal main restricted universe multiverse# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ focal main restricted universe multiversedeb https://mirrors.tuna.tsinghua.edu.cn/ub...
2.2安装Ubuntu 2.3 Ubuntu功能设置 2.4 ubantu环境设置(apt、pip换源,配置conda,启用systemctl) 2.4.1 apt换源更新 2.4.2 安装miniconda(pip没配好,可跳过) 2.4.3 安装pip并换源 2.4.4 启用systemctl 第三章: 使用VM安装Linux 3.1安装VMware 3.2 配置安装系统环境 3.3 安装Centos系统 3.3.1 配置Centos8 3.3...
在微软store中安装ubuntu20.4(需要先安装wsl2) 三、安装cuda的运行库gcc 使用ubuntu20.4的命令行运行 sudo apt-get install gcc 提示错误: Err:25 http://security.ubuntu.com/ubuntu focal-updates/main amd64 linux-libc-dev amd64 5.4.0-105.119
sudo apt install -y git 运行脚本和命令 sudo gitclonehttps://github.com/DamionGans/ubuntu-wsl2-systemd-script.git cdubuntu-wsl2-systemd-script/ bash ubuntu-wsl2-systemd-script.sh 然后在 PowerShell 命令行并输入wsl --shutdown重新启动 Ubuntu应用 并尝试运行systemctl ...
现在,可以使用单个命令安装运行 WSL 所需的所有内容。 右键单击并选择“以管理员身份运行”,在管理员模式下打开 PowerShell 或 Windows 命令提示符,输入 wsl --install 命令,然后重新启动计算机。 PowerShell wsl--install 此命令将启用运行 WSL 并安装 Linux 的 Ubuntu 分发所需的功能。 (可以更改此默认分布)。
composer install php artisan key:generate PHPStorm 开发 先在Linux发行版,项目目录中设置权限,否则PHPStorm无法编辑 代码语言:javascript 代码运行次数:0 运行 AI代码解释 chmod-R777./ PHPStorm -> Open -> 输入\\wsl$\Ubuntu打开项目目录 完成 浏览器打开http://127.0.0.1/,可见速度提升了很多 ...