Skip to the content Skip to the Navigation

Takky blog

WSL

  1. HOME
  2. WSL
11/26/2024 / Last updated : 01/09/2025 takky WSL

Changing the hostname on WSL2

Edit /etc/wsl.conf in the WSL2: Add these lines (i.e. changing hostname to “PC”). generateHosts = false to disable WSL to auto generate /etc/hosts. Edit /etc/hosts to match with the configured hostname. Close all WSL terminals, and open a Command Prompt (not WSL terminal). Note: shutdown nor reboot won’t work on WSL: Open a WSL terminal, […]

11/04/2024 / Last updated : 01/10/2025 takky WSL

How to install Docker Compose, CUDA Toolkit, NVIDIA-Docker, NVIDIA Container Toolkit on WSL2 Ubuntu

Install Windows Terminal on Microsoft Store Multiple tabs are supported in Windows Terminal, so it is recommend to install it from the Microsoft Store. Change Settings -> Startup -> Default terminal application to “Windows Terminal” instead of “Windows Console Host” Install WSL2 Skip to next if your environment is not on WSL2. Open a PowerShell […]

11/04/2024 / Last updated : 11/04/2024 takky Linux

How to uninstall WSL2 completely on Windows 11

When WSL2 is uninstalled, the original data can easily be restored if WSL2 is installed again. This steps will uninstall WSL2 completely. Open command prompt, shutdown WSL, and unregister ubuntu. From the Settings, Apps > Installed apps, uninstall Ubuntu. Uncheck Virtual Machine Platform from Windows Features. From the Settings, System > System components > Windows […]

Recent Post

  • Linux GPU CLI Monitoring
  • Using ollama from the command line
  • Changing the hostname on WSL2
  • Install Django Development Environment with VS Code and WSL2
  • How to install Ollama and Open WebUI using docker compose

Archive

  • December 2024
  • November 2024
  • October 2024

Category

  • AI
  • docker
  • Linux
  • Python
  • WSL

Copyright © Takky blog All Rights Reserved.

Powered by WordPress with Lightning Theme & VK All in One Expansion Unit

MENU
PAGE TOP