Skip to content

Ubuntu Deployment

Basic commands needed to setup Ubuntu.

Terminal window
sudo lvextend -l +100%FREE /dev/ubuntu-vg/ubuntu-lv
Terminal window
sudo resize2fs /dev/mapper/ubuntu--vg-ubuntu--lv

Run the Docker install script they provide:

Terminal window
curl -fsSL https://get.docker.com -o get-docker.sh && sh get-docker.sh

First, add the repository to our sources list

Terminal window
echo deb https://downloads.plex.tv/repo/deb public main | tee /etc/apt/sources.list.d/plexmediaserver.list

Then, add the signing key to ensure the packages haven’t been altered

Terminal window
curl https://downloads.plex.tv/plex-keys/PlexSign.key | apt-key add -

First, setup Google’s Linux signing key.

Terminal window
curl -fSsL https://dl.google.com/linux/linux_signing_key.pub | sudo gpg --dearmor | sudo tee /usr/share/keyrings/google-chrome.gpg >> /dev/null

Next, add the Chrome repository

Terminal window
echo deb [arch=amd64 signed-by=/usr/share/keyrings/google-chrome.gpg] http://dl.google.com/linux/chrome/deb/ stable main | sudo tee /etc/apt/sources.list.d/google-chrome.list

Now, update the APT cache, and install the repository

Terminal window
sudo apt update && sudo apt install google-chrome-stable
Terminal window
qemu-img convert -O qcow2 source.qcow2 shrunk.qcow2