-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
mjoppich
committed
Jan 20, 2017
1 parent
77f704a
commit e0ffcda
Showing
16 changed files
with
133 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,68 @@ | ||
|
||
.. _build_wsl_intro: | ||
|
||
Build WSL | ||
================== | ||
How to setup WSL (Bash on Ubuntu) | ||
================================= | ||
|
||
asdasdasd | ||
Step 1: Activate WSL feature | ||
----------------------------- | ||
|
||
First WSL has to be enabled from Windows features. | ||
Therefore, simply search for the *Turn Windows features on or off* option in the control panel. | ||
|
||
.. image:: ./images/wsl/turn_feature_on.PNG | ||
:scale: 30 | ||
|
||
Once found, look for the *Windows Subsystem for Linux (Beta)* row and make sure to check the corresponding box. | ||
|
||
.. image:: ./images/wsl/select_wsl_feature.PNG | ||
:scale: 30 | ||
|
||
This will download and install the desired \acf{WSL} feature. | ||
Finally apply the change and make sure to reboot your computer | ||
|
||
.. image:: ./images/wsl/restart_after_sel.PNG | ||
:scale: 30 | ||
|
||
Step 2: Setup WSL | ||
----------------- | ||
|
||
Despite the interest to hide any command line as much as possible from the user, the following initial setup can not be automised. | ||
First a Command Prompt or better PowerShell must be started. | ||
Therefore simply search for the *Windows PowerShell* in the start menu. | ||
|
||
.. image:: ./images/wsl/powershell.PNG | ||
:scale: 30 | ||
|
||
Next we type ``bash`` into the command line and Windows will download *WSL*. | ||
However, before the download starts, first the user has to acknowledge that he wants to download *Bash on Ubuntu on Windows* by typing in ``y`` and confirming with ``<enter>``. | ||
|
||
.. image:: ./images/wsl/powershell_download_bash.PNG | ||
:scale: 30 | ||
|
||
Finally, after *WSL* has been downloaded and extracted, *WSL* has to create a linux user account. | ||
Therefore choose a username and password you can easily remember. | ||
Remembering the password is essential here it will be needed for any installation one is performing on *WSL*. | ||
|
||
.. image:: ./images/wsl/powershell_setup_user.PNG | ||
:scale: 30 | ||
|
||
After having *WSL* installed, it has to be setup once to install commonly used dependencies. | ||
|
||
.. code:: | ||
#! First Time WSL Setup | ||
echo $2 | sudo -S apt-get update | ||
echo $2 | sudo -S apt-get -y install build-essential | ||
echo $2 | sudo -S apt-get -y install dos2UNIX | ||
The above commands must be executed once for this purpose. | ||
For ease of use, *bioGUI* provides an *Install Template Module* template as well as a first time *WSL* setup install template. | ||
After downloading both and executing the first time *WSL* setup *WSL* is set up to be used with *bioGUI*. | ||
|
||
The first time *WSL* setup essentially first updates the *Ubuntu* packet manager and then installs most common compilation libraries as well as a tool to convert Windows line endings into UNIX ones. | ||
Using the *Install Template Module* one has to enter the password of the newly created user account. | ||
|
||
.. image:: ./images/wsl/powershell_aptupd.PNG | ||
:scale: 30 |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters