- 以管理员权限运行
powershell
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
- 重启电脑之后到应用商店搜索linux,下载喜欢的系统安装
- 安装完成之后,到
CMD
或者powershell
执行bash
进入子系统 - 子系统中
/mnt/
下对应各个磁盘,所有用户对普通文件都有RWX
权限 - 设置windows文件夹为区分大小写的命令
#用disable关闭区分大小写
fsutil.exe file SetCaseSensitiveInfo 'F:\aaa' enable
替换软件源为阿里的源
先备份原来的源
sudo cp /etc/apt/sources.list /etc/apt/sources.list_bak
再修改源为阿里源
sudo vi /etc/apt/sources.list
删除原来的内容全部替换成以下内容
deb http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse
更新源
sudo apt-get update