Installing Ubuntu 24.04
Location of Images
https://cdimage.ubuntu.com/daily-live/20240421/
https://cdimage.ubuntu.com/daily-live/current/
https://techblog.shippio.io/how-to-run-an-ubuntu-22-04-vm-on-m1-m2-apple-silicon-9554adf4fda1
Remote Desktop and ssh -X or ssh -Y
Issues with RDP and ssh -X, and it seems extremely slow, even over home network.
Getting it to work, you need to enable over Settings, System, Secure Shell
sudo nano /etc/ssh/sshd_config
Uncomment the following two lines
# Authentication:
LoginGraceTime 2m
PermitRootLogin prohibit-password
I still have not had remote desktop work, and it's also in settings, maybe try "No Machine"
Refer: https://www.nomachine.com/getting-started-with-nomachine
Install Visual Studio Code
Refer: https://www.liberiangeek.net/2024/04/install-visual-studio-code-ubuntu-24-04/
Use apt install instead of a flatpak
wget -qO- https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > packages.microsoft.gpg
sudo install -D -o root -g root -m 644 packages.microsoft.gpg /etc/apt/keyrings/packages.microsoft.gpg
sudo sh -c 'echo "deb [arch=amd64,arm64,armhf signed-by=/etc/apt/keyrings/packages.microsoft.gpg] https://packages.microsoft.com/repos/code stable main" > /etc/apt/sources.list.d/vscode.list'
sudo apt update
sudo apt install code
Install Docker
Go to official docker.com site to get the most current instructions, per OS.
Refer: https://docs.docker.com/engine/install/ubuntu/
sudo usermod -aG docker ${USER}
id ${USER}
sudo reboot
Verify Installation
docker run hello-world
Install Portainer
docker run -d --name portainer \
-p 9000:9000 \
-v /var/run/docker.sock:/var/run/docker.sock \
portainer/portainer-ce:2.19.5
Install Google Chrome Stable
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo dpkg -i google-chrome-stable_current_amd64.deb
