Summary of Windows SubSystem for Linux
2021-06-29 19:06
标签:ash change creat com for summary www. edit 技术 Run PowerShell as administrator and input: Install Ubuntu 18.04 LTS from Microsoft Store Remove inherent openssh-server and Installing a new openssh-server, because there are some problem with the former one. Edit the ssh server configuration file. Change to Restart ssh service back up the inherent source file create a new source file Paste these in it [1] Windows 10 Installation Guide. https://docs.microsoft.com/zh-cn/windows/wsl/install-win10 [2] Win10 配置 Linux Ubuntu 子系统:使用教程及技巧. https://www.jianshu.com/p/5cf6849aa28f [3] Ubuntu 镜像使用帮助. 清华大学开源软件镜像站. https://mirrors.tuna.tsinghua.edu.cn/help/ubuntu/ Summary of Windows SubSystem for Linux 标签:ash change creat com for summary www. edit 技术 原文地址:https://www.cnblogs.com/fengyubo/p/10008357.htmlSummary of Windows SubSystem for Linux
Install Ubuntu
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
Setup SSH
sudo apt-get remove openssh-server
sudo apt-get install openssh-server
sudo vim /etc/ssh/sshd_config
PasswordAuthentication yes # no -> yes
sudo service ssh --full-restart
Change the source
sudo mv /etc/apt/sources.list /etc/apt/sources.list.bak
sudo vim /etc/apt/sources.list
# 默认注释了源码镜像以提高 apt update 速度,如有需要可自行取消注释
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-updates main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-updates main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-backports main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-backports main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-security main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-security main restricted universe multiverse
# 预发布软件源,不建议启用
# deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-proposed main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-proposed main restricted universe multiverse
Reference
上一篇:服务端API安全解决方案
文章标题:Summary of Windows SubSystem for Linux
文章链接:http://soscw.com/index.php/essay/99502.html