Ubuntu on Windows,在Windows上的Ubuntu

在使用时需要开启系统“设置”中的开发者模式

在使用时需要开启系统“设置”中的开发者模式

此时再到“控制面板”的“程序”中的启用和关闭Windows功能中开启“适用于Linux的Windows子系统(Beta)”,当然根据你的系统更新的情况而定,目前是有正式版的出来了

在开启以上的配置后到cmd中运行bash

然后根据提示操作,此时会从Windows的应用商店下载,时间会很久,这里建议在网络环境好的条件下下载,当然你也可以使用vpn加速,在一系列的下载安装后就会在你的C盘下的本人家目录下构建一个Ubuntu系统,而其他逻辑分区盘作为挂载盘在/mnt下

此时再进入系统把Ubuntu的源换国内比较常用的源,这样使用起来也更快

# vim /etc/apt/sources.list
#deb http://archive.ubuntu.com/ubuntu/ xenial main restricted universe multiverse
#deb http://archive.ubuntu.com/ubuntu/ xenial-updates main restricted universe multiverse
#deb http://security.ubuntu.com/ubuntu/ xenial-security main restricted universe multiverse
 
deb https://mirrors.aliyun.com/ubuntu/ xenial main restricted universe multiverse
deb https://mirrors.aliyun.com/ubuntu/ xenial-updates main restricted universe multiverse
deb https://mirrors.aliyun.com/ubuntu/ xenial-security main restricted universe multiverse
# apt-get update && apt-get upgrade

猜你喜欢

转载自www.linuxidc.com/Linux/2017-09/146870.htm