![]() Depending on the speed of your computer and/or internet connection this might take a bit of time to complete, so go and grab a coffee or something! Now copy and paste the following one-line installation script to set up the development environment. At the bottom of the existing file, add the following, press Ctrl + X to save the changes and press “Y” when prompted.Ĭompletely close the WSL terminal and relaunch it for these changes to properly apply.Before cloning Discourse, run the following command to open the /etc/wsl.conf file:.Now that everything is updated we can proceed.Once you’re in the Ubuntu terminal, check for and install all applicable updates Install Ubuntu on WSL2 using this command:-įollow the onscreen prompts to create the username and password.From a Windows Powershell window use this command:. Check for any WSL updates and install them if applicable. ![]() I’ll try to keep the instructions as short and straightforward as possible I can confirm that the following instructions worked on my Windows 11 Pro 22H2 install & also on my Windows Insider build of the upcoming Windows 11 23H2 Release Preview. This is my first post here so I hope that this is of use to somebody I am a Systems Administrator used to working with Windows so this has been an interesting journey learning Linux / Ruby / Discourse etc.Ī few things seem to have changed since the guide for Windows 10 was written and I ran into a few issues along the way (and from reading the comments, I wasn’t the only one!) After spending some time attempting to get a working development environment up and running under Windows 11 / WSL2 I thought I would share the steps that I have followed.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |