Skip to content

Instantly share code, notes, and snippets.

@awesmubarak
Created November 22, 2024 11:08
Show Gist options
  • Save awesmubarak/7539b22bac39d62a47ec112248aebfb9 to your computer and use it in GitHub Desktop.
Save awesmubarak/7539b22bac39d62a47ec112248aebfb9 to your computer and use it in GitHub Desktop.

Logging in

  1. Restart you computer
  2. During Boot-up, select 'Kali Linux'
  3. Use the following credentials:
USERNAME: student
PASSWORD: Lecturer

Enable the internet

  1. Go to <neverssl.com>
  2. Sign in with your usual credentials

Installing Docker

Note: sudo will prompt you for a password - always use Lecturer

Copy and paste each of the following lines into a terminal:

sudo apt update
sudo apt upgrade -y

sudo apt remove docker docker-engine docker.io containerd runc

sudo apt install -y \
    apt-transport-https \
    ca-certificates \
    curl \
    gnupg \
    lsb-release
    
curl -fsSL https://download.docker.com/linux/debian/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg

echo "deb [arch=amd64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/debian bullseye stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null

sudo apt update

sudo apt install -y docker-ce docker-ce-cli containerd.io

sudo systemctl start docker
sudo systemctl enable docker

sudo docker run hello-world

sudo usermod -aG docker $USER

Setup VScode

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment