Getting your system ready for the DevOps module.
- Windows 10, Linux or MacOS, 64 bit
- RAM, 8GB required, 16GB is recommended
- 30 GB of free disk space, use of SSD is recommended
- Download and install Git Version Control.
- Download and install Visual Studio Code. Needed as a code editor.
- Download and install Docker. Depending on your hardware or operating system, Docker might ask you to enable CPU virtualization support and install Windows Subsystem for Linux, WSL. All you need to do for these is to simply follow the instructions that Docker will give you. For detailed instructions, please check below.
- Download and install WSL. For detailed instructions, please check below.
- Create a GitHub account.
- Create an Azure Student account. Go to the link that is given here, click on 'Start free', provide your AthTech credentials and follow the instructions. You will be asked for some information, including a mobile phone number which must not linked to another student account. You will NOT need to provide credit card details - if you are asked for credit card details then you have followed an incorrect link. For a step by step guide, please follow this link.
- Create a Docker Hub account.
Docker installation instructions can be seen in this link. If you do not want to study the instructions there, we have summarized the process that you need to follow in the next steps. The process will require administration access during many of the steps described here.
-
Download Desktop Docker for Windows
-
Run the Docker installer. You will need administrator access for this step.
-
The installer will give the option of “Use WSL 2 instead of Hyper-V” on a configuration page which it will show you. You MUST select the option of “Use WSL 2…”. Because of this, the installer will install WSL 2, the Windows Subsystem for Linux. You might need administrator access for this step.
-
The installer will perform one or more restarts during installation. Once again, after your machine restarts you might or might not be asked to need administrator access one more time for the installation to complete.
-
When the installer is complete, you need to add your Windows name to a user group which can control Docker. To do so, start the command prompt tool with administrator rights. The folder/directory that you are in is not important. Simply type in the following command in it, by replacing <user_name> with your Windows user name
net localgroup docker-users <user_name> /add
-
When you run the above command, if you happen to get ‘System error 1378’ that ‘The specified account name is already a member of the group', that is ok, you do not need to worry.
-
You should now be able to start Docker Desktop from the start menu.
- Run the following command in a Windows Powershell window:
wsl -list -online
- Select Ubuntu for our distribution to be installed.
wsl -install Ubuntu-22.04