Mod:Hunt Research Group/windows-linux

From wiki
Jump to navigation Jump to search

Install a Linux distribution, Windows 10 only

  • Instructions can be found on the Microsoft webpage.
  • Prepare
    -Press the windows button and enter powershell, run Windows PowerShell as administrator.
    -Run the following command
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
  • -a restart might be required for the changes to take effect

Win linux2.PNG

  • Get Ubuntu
    -Press the windows button, enter store, and open up the Microsoft Store.
    -Search for Ubuntu (or any other Linux distribution you like)
    -download and double click the installer.

Win linux3.PNG

  • Start app up
    -Press the windows button,
    -search for Ubuntu,
    -wait for the installation to be finished
    -create a new Linux user and password (this will be the admin and the password needed to run sudo commands).

Win linux6.PNG

  • Using the terminal:
    -Use the command line as you would do normally.
    -You can only open one command line window through the Ubuntu executable, but from within bash you can open other terminals.
    -When you start up Ubuntu you will be in the following directory /mnt/c/Windows/System32. If you enter cd you will go to the home directory ~ which is your personal home directory