mirror of
https://github.com/elastic/kibana.git
synced 2025-06-28 11:05:39 -04:00
docs(NA): windows wsl development (#134589)
* docs(NA): windows wsl development * docs(NA): update titles for the documentation created * chore(NA): update dev_docs/tutorials/development_windows.mdx Co-authored-by: Jonathan Budzenski <jon@budzenski.me> * docs(NA): updated guide to include info around GUI apps support * docs(NA): updated guide to include info around GUI apps support * docs(NA): include win10 GUI workaround * docs(NA): run a first sudo command before running others * docs(NA): added remote code wsl extension * docs(NA): mentioned NVIDIA does now includes vGPU drivers for WSL within the common drivers * docs(NA): update sudo commands separation * docs(NA): added hardware virtualization prerequisite awareness into the guide * docs(NA): update wording on guide recomendation for win11 Co-authored-by: Jonathan Budzenski <jon@budzenski.me> Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
parent
cdcb272082
commit
1599cd8d2a
4 changed files with 171 additions and 48 deletions
|
@ -1,45 +0,0 @@
|
|||
---
|
||||
id: kibDevTutorialSetupDevWindows
|
||||
slug: /kibana-dev-docs/tutorial/setup-dev-windows
|
||||
title: Development on Windows
|
||||
summary: Learn how to setup a development environment on Windows
|
||||
date: 2021-08-11
|
||||
tags: ['kibana', 'onboarding', 'dev', 'windows', 'setup']
|
||||
---
|
||||
|
||||
|
||||
# Overview
|
||||
|
||||
Development on Windows is recommended through WSL2. WSL lets users run a Linux environment on Windows, providing a supported development environment for Kibana.
|
||||
|
||||
## Install WSL
|
||||
|
||||
The latest setup instructions can be found at https://docs.microsoft.com/en-us/windows/wsl/install-win10
|
||||
|
||||
1) Open Powershell as an administrator
|
||||
1) Enable WSL
|
||||
```
|
||||
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
|
||||
```
|
||||
1) Enable Virtual Machine Platform
|
||||
```
|
||||
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
|
||||
```
|
||||
1) Download and install the [Linux kernel update package](https://wslstorestorage.blob.core.windows.net/wslblob/wsl_update_x64.msi)
|
||||
1) Set WSL 2 as the default version
|
||||
```
|
||||
wsl --set-default-version 2
|
||||
```
|
||||
1) Open the Micrsoft Store application and install a Linux distribution
|
||||
|
||||
## Setup Kibana
|
||||
|
||||
1. <DocLink id="kibDevTutorialSetupDevEnv" text="Set up your development environment" />
|
||||
|
||||
## Install VS Code
|
||||
|
||||
Remote development is supported with an extension. [Reference](https://code.visualstudio.com/docs/remote/wsl).
|
||||
|
||||
1) Install VS Code on Windows
|
||||
1) Check the "Add to PATH" option during setup
|
||||
1) Install the [Remote Development](https://aka.ms/vscode-remote/download/extension) package
|
|
@ -13,9 +13,11 @@ Setting up a development environment is pretty easy.
|
|||
In order to support Windows development we currently require you to use one of the following:
|
||||
|
||||
- [Git Bash](https://git-scm.com/download/win)
|
||||
- [Windows Subsystem for Linux](https://docs.microsoft.com/en-us/windows/wsl/about)
|
||||
- [Windows Subsystem for Linux (recommended)](https://docs.microsoft.com/en-us/windows/wsl/about)
|
||||
|
||||
Before running the steps below, please make sure you have installed [Visual C++ Redistributable for Visual Studio 2015](https://www.microsoft.com/en-us/download/details.aspx?id=48145) and that you are running all commands in either Git Bash or WSL.
|
||||
If you want to know more about how to setup and use WSL for development on Windows, which will become our only supported way in the upcoming future, please check our <DocLink id="kibDevTutorialSetupWindowsDevWSL" text="tutorial"/>.
|
||||
|
||||
Before running the steps below, please make sure you have installed [Visual C++ Redistributable for Visual Studio 2015](https://www.microsoft.com/en-us/download/details.aspx?id=48145) and that you are running all commands in either Git Bash or WSL.
|
||||
|
||||
</DocCallOut>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue