Setup files for a self-hosted media server
- Server with 500GB HDD
- 16GB RAM
- Ubuntu Server LTS 20+
- External storage as needed
Once logged into the fresh install as a user with sudo privilidges run:
sudo apt update -y && sudo apt upgrade -y
Next, clone the github repo onto the new machine:
git clone https://github.com/tmattoneill/media-server
Go into the new directory
cd media-server
and run the install script:
source ./media-server-nosudo.sh
- Start by configuring git locally
git config --global user.email "[YOUR EMAIL]" &&
git config --global user.name "[YOUR FULL NAME]"
- Instructions from: https://blog.corsego.com/aws-cloud9-github-ssh
ssh-keygen -t ed25519 -C "[GITHUB_EMAIL_LOGIN]"
eval "$(ssh-agent)" && \
ssh-add ~/.ssh/id_ed25519.pub && chmod 600 ~/.ssh/id_ed25519.pub && \
ssh -T git@github.com && \
cd ~/media-server/ && \
git remote -v
git remote set-url origin git@github.com:[GITHUB_USERNAME]/[GIT_REPO_NAME].git