一、如何重启wsl 系统 Restarting the Image You may notice that reboot is no longer a usable function. Instead you will need to use PowerShell ...
在WSL中跑了一些测试服务 比如 mysql nginx等,但关机后每次都要手动开启甚是吃力,本想着用rc.local来编辑开机启动 ,无奈不支持啊 先看看非WSL环境中是怎么实现的。 在 Ubuntu 一下,设置开机自动启动一般是编辑 etc rc.local 在 Ubuntu 以上则需要链接 rc local.service 文件 然后创建 rc.local 文件并修改权限,大概是这样的: 然 ...
2018-12-24 18:04 0 5803 推荐指数:
一、如何重启wsl 系统 Restarting the Image You may notice that reboot is no longer a usable function. Instead you will need to use PowerShell ...
三、添加计划以开机启动ssh 右键 此电脑-管理-系统工具-任务计划程序-创建基本任务 ...
前提:已经安装好ssh服务 1、打开开机后进入wsl 2、输入su root并输入密码 进入root权限 3、输入 sodo vim /etc.init.wsl 创建文件并且输入下列代码,保存退出 4、输入 sudo chmod +x /etc ...
Win10 子系统安装 更新WSL2需要Windows10版本2004且内部版本高于19041。 安装过程可参考 https://blog.csdn.net/qq_33306246/article/details/107367629 图形桌面安装 安装过程可参考https ...
一、介绍: WSL是“Windows Subsystem for Linux”的缩写,顾名思义,WSL就是Windows系统的Linux子系统,其作为Windows组件搭载在Windows10周年更新(1607)后的Windows系统中。 二、实际安装: 借鉴安装方法:Win10手动安装 ...
原文: https://www.pianshen.com/article/5064324329/ 目录 一 介绍 二 原理 2.1 wsl组件 2.2 wsl运行过程 2.3 文件系统 2.4 禁忌 三 使用 ...
WSL(Windows上的Linux子系统) WSL,Windows Subsystem for Linux,就是之前的Bash on [Ubuntu on] Windows(嗯,微软改名部KPI++),在wsl环境下我们可以运行一些Linux程序。 首先要说一句,其实Windows ...
原因 windows自带的终端操作丑陋,习惯xshell的操作 步骤 1.关闭windows自带的ssh服务,这个占用了22端口 2.wsl 安装ssh服务(使用的是ubuntu) sudo apt install openssh-server 3.修改配置文件 sudo ...