Last active
May 24, 2020 03:31
-
-
Save atlc/8f28bda032269f75071df95cc035acf3 to your computer and use it in GitHub Desktop.
Installing my normally used devtools, media programs on Debian-based systems
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Add other repos, update package listings, upgrade OS if available | |
sudo add-apt-repository multiverse | |
sudo add-apt-repository ppa:obsproject/obs-studio | |
sudo add-apt-repository ppa:otto-kesselgulasch/gimp | |
sudo add-apt-repository ppa:ubuntuhandbook1/audacity | |
sudo add-apt-repository ppa:qbittorrent-team/qbittorrent-stable | |
curl -sL https://deb.nodesource.com/setup_13.x | sudo -E bash - | |
curl https://build.opensuse.org/projects/home:manuelschneid3r/public_key | sudo apt-key add - | |
echo 'deb http://download.opensuse.org/repositories/home:/manuelschneid3r/xUbuntu_19.04/ /' | sudo tee /etc/apt/sources.list.d/home:manuelschneid3r.list | |
curl https://downloads.plex.tv/plex-keys/PlexSign.key | sudo apt-key add - | |
echo deb https://downloads.plex.tv/repo/deb public main | sudo tee /etc/apt/sources.list.d/plexmediaserver.list | |
sudo apt update - y | |
sudo apt upgrade -y | |
sudo apt dist-upgrade -y | |
# Grab snap for getting VSCode, Spotify (and possibly other future packages) | |
sudo apt install snapd | |
sudo snap install spotify | |
sudo snap install --classic code | |
sudo snap install --classic anbox-installer | |
# Terminal managers, productivity tools, SDKs, communications, media, tweaks, etc. | |
sudo apt install -y tilix tmux albert nodejs vim g++ make build-essentials discord spotify gimp obs-studio apt-transport-https plexmediaserver audacity steam vlc qbittorrent ubuntu-restricted-extras gnome-tweak-tool gnome-clocks cron-apt | |
# Install PIA | |
wget https://installers.privateinternetaccess.com/download/pia-v82-installer-linux.tar.gz | |
tar -xzf ./pia-v82-installer-linux.tar.gz | |
./pia-v82-installer-linux.sh | |
pia_configure_openvpn () { | |
sudo apt install network-manager-openvpn-gnome | |
wget https://www.privateinternetaccess.com/installer/pia-nm.sh | |
sudo bash pia-nm.sh | |
} | |
# pia_configure_openvpn | |
# Configure Plex | |
### Attached file "Plex-UFW.conf" is entry for /etc/ufw/applications.d/plexmediaserver | |
configure_plex () { | |
sudo apt install ufw | |
sudo systemctl start plexmediaserver | |
sudo ufw app update plexmediaserver | |
sudo ufw allow plexmediaserver-all | |
sudo ufw status verbose | |
sudo mkdir -p /opt/plexmedia/{movies,series} | |
sudo chown -R plex: /opt/plexmedia | |
} | |
# configure_plex | |
# "When stability is less important" configs | |
echo -e "apt update\napt upgrade -y\napt dist-upgrade -y\napt autoremove" >> DangerousAutoWeeklyUpdate.sh | |
sudo chmod 755 ./DangerousAutoWeeklyUpdate.sh | |
sudo mv DangerousAutoWeeklyUpdate.sh /etc/cron.weekly | |
# Cleanup | |
sudo apt autoremove |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[plexmediaserver] | |
title=Plex Media Server (Standard) | |
description=The Plex Media Server | |
ports=32400/tcp|3005/tcp|5353/udp|8324/tcp|32410:32414/udp | |
[plexmediaserver-dlna] | |
title=Plex Media Server (DLNA) | |
description=The Plex Media Server (additional DLNA capability only) | |
ports=1900/udp|32469/tcp | |
[plexmediaserver-all] | |
title=Plex Media Server (Standard + DLNA) | |
description=The Plex Media Server (with additional DLNA capability) | |
ports=32400/tcp|3005/tcp|5353/udp|8324/tcp|32410:32414/udp|1900/udp|32469/tcp |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment