Last active
January 23, 2020 09:39
-
-
Save Maxstupo/75567041d4a4bbd14735f50b2f9cf258 to your computer and use it in GitHub Desktop.
Ubuntu Media NAS (Samba & Plex + Webmin)
This file contains hidden or 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
#!/bin/bash | |
# | |
# ----- WARNING: This script is a work in progress ------ | |
# | |
# NAS Media Server Install Script | |
# | |
# Installs SSH, Webmin, Samba, and Plex. | |
# Upgrade | |
sudo apt-get update | |
sudo apt-get dist-upgrade | |
# Install SSH | |
# sudo apt-get install openssh-server | |
# sudo service ssh start | |
# TODO: Configure SSH | |
# Install Webmin | |
sudo add-apt-repository 'deb http://download.webmin.com/download/repository sarge contrib' | |
wget http://www.webmin.com/jcameron-key.asc | |
sudo apt-key add jcameron-key.asc | |
sudo apt-get update | |
sudo apt-get install webmin | |
# Install Samba | |
sudo apt-get install samba | |
# TODO: Configure Samba | |
# Currently samba can be configured easily via webmin. | |
# Install Plex - Update the dl link - (x64 currently) | |
wget https://downloads.plex.tv/plex-media-server-new/1.18.4.2171-ac2afe5f8/debian/plexmediaserver_1.18.4.2171-ac2afe5f8_amd64.deb | |
sudo dpkg -i plexmediaserver*.deb | |
# Start plex on boot | |
sudo systemctl enable plexmediaserver.service | |
sudo systemctl start plexmediaserver.service | |
# ----- Enable updating Plex on Ubuntu with apt package manager ---- | |
# sudo nano /etc/apt/sources.list.d/plexmediaserver.list | |
# wget -q https://downloads.plex.tv/plex-keys/PlexSign.key -O - | sudo apt-key add - | |
# sudo apt update |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment