1. 在“启用或关闭Windows功能”窗口中打开“适用于Linux的Windows子系统”;

2. 让你的Windows更新程序将你的Windows更新到最新版本;

3. 在Microsoft Store中搜索Linux;

4. 选择你喜欢的Linux。其实我想要CentOS,可惜没有,只好ubuntu。这里系统会检测你的Windows版本,若不满足要求会在页面下方画个叉叉给你;

5. 安装完成后从开始菜单选择ubuntu;

6. 继续提示你需要a few miniutes。但是我等了我好多miniutes还让我继续wait。将窗口晃晃,最大化,还原,咦,突然提示我输入user name和password了。目前不清楚是刚好到时间了还是就是要晃晃;

7. 修改/etc/apt/sources.list文件内容为阿里云的源,注意不同版本ubuntu的代号不一样sources.list文件内容也不一样,bing一下ubuntu+阿里云+源,有到ubuntu官网(中文)的链接,官方提供的sources.list文件内容;

8. sudo apt-get update

9. 依经验,我们计划使用vnc启GUI,不用网传的XServer,这两者性能差距巨大;

10. sudo apt-get install vnc4server

11. sudo apt-get install xfce4-session

11.1 sudo apt-get install xfce4

[注:可能只要xfce4而不要单独再装session。我开始先装了-session,后面启图形界面有桌面无panel及其他组件(例如FileManager),才又install xfce4]

12. 编辑~/.vnc/xstartup,删除x-terminal......和x-window-manager......行,替换为startxfce4 &

13. vnc4server :1 -geometry width x height

14. client使用熟悉的ultravnc,地址127.0.0.1:5901

15. 这里吐槽下apt-get,我在centos里yum就比较智能,比如yum install chromium就可以了,apt-get就非要apt-get install chromium-browser才行。

嗯,装上chromium了,但起不来,算了,睡觉,

上效果图

wsl(Windows Subsystem for Linux)安装简易指南的更多相关文章

  1. WSL (Windows Subsystem for Linux)

    WSL (Windows Subsystem for Linux) :适用于 Linux 的 Windows 子系统. References Install WSL with a single com ...

  2. WSL (Windows Subsystem for Linux) 的 VSLAM (Visual Simultaneous Localization and Mapping) 道路

    WSL 的 VSLAM 道路 以 Windows Subsystem for Linux 闯入 Visual Simultaneous Localization and Mapping 世界的艰难道路 ...

  3. WSL(Windows Subsystem for Linux)--Pico Process Overview

    [转载] Windows Subsystem for Linux -- Pico Process Overview Overview This post discusses pico processe ...

  4. WSL(Windows Subsystem for Linux)的安装与使用

    有关WSL的介绍这里就不做解释了.另外,本文仅适用于win10 build 16215以及之后的版本,之前的版本可参考官方链接. (可使用“winver”命令查看windows版本号) 安装: 1.  ...

  5. WSL(Windows Subsystem for Linux)的安装与使用及 mongodb安装

    有关WSL的介绍这里就不做解释了.另外,本文仅适用于win10 build 16215以及之后的版本,之前的版本可参考官方链接. (可使用“winver”命令查看windows版本号) 安装:1.  ...

  6. WSL(Windows Subsystem for Linux) Ubuntu 下byobu状态栏错误的问题

    关于WSL的,Win10 的Linux子系统如何安装,就不赘述了,Win10商店里就有,至于win7和win8.1想装这个估计也不行,所以跳过. 最近处于好奇,也懒得弄VMware的虚拟机(那玩意儿占 ...

  7. WSL(Windows Subsystem for Linux) 适用于Linux的Windows子系统

    打开 Microsoft Store , 搜索 Linux .选择 Ubuntu , 仔细看介绍,尤其是安装前的说明 ========================================= ...

  8. WSL Windows Subsystem for Linux安装指南

    见官方文档: https://msdn.microsoft.com/en-us/commandline/wsl/install_guide

  9. Windows Subsystem for Linux(WSL)安装记录

    什么是WSL Windows Subsystem for Linux(简称WSL)是一个为在Windows 10上能够原生运行Linux二进制可执行文件(ELF格式)的兼容层.它是由微软与Canoni ...

随机推荐

  1. post-image.sh hacking

    #********************************************************************************* #* post-image.sh ...

  2. Angular 插值字符串

    <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title> ...

  3. 编译Thrift支持golang

    本文已经是很久以前的文章了,也不知道新版本thrift如何 Thrift是一个跨语言的服务部署框架,Thrift通过一个中间语言(IDL, 接口定义语言)来定义RPC的接口和数据类型,然后通过一个编译 ...

  4. Spring mvc下载文件java代码

    /** * 下载模板文件 * @author cq */ @RequestMapping("/downloadExcel.do") public ResponseEntity< ...

  5. JavaScript 如何断平台

    isMobile = (/android|webos|iphone|ipad|ipod|blackberry|iemobile|opera mini/i.test(navigator.userAgen ...

  6. ifconfig 命令,改变主机名,改DNS hosts、关闭selinux firewalld netfilter 、防火墙iptables规则

    ifconfig 命令用于查看网络相关的命令: 安装:yum install net-tools -y  ifdown  eth_name  关闭网卡  ifup  eth_name   开启网卡 配 ...

  7. java super的用法

    通过用static来定义方法或成员,从某种程度上可以说它类似于C语言中的全局函数和全局变量. this&super这两个关键字的意义和用法. 在Java中,this通常指当前对象,super则 ...

  8. linux磁盘检测和修复

    显示磁盘和闪存的信息,以及分区信息 [root@bogon shell]# fdisk -l Disk /dev/sda: 21.5 GB, 21474836480 bytes, 41943040 s ...

  9. readv与writev

    [root@bogon mycode]# cat writev.c #include<stdio.h> #include<string.h> #include<unist ...

  10. LED硬件访问服务(2)——JNI/HAL

    一.系统编程 1.SystemServer.java类中提供了main()方法,说明它是以一个进程的方式存在的,启动后直接执行其run() 2.注册服务ServiceManager.addServic ...