Sam: Difference between revisions
(26 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
Install Debian as Desktop Server | Install Debian as Desktop Server | ||
== Add Hard Drives to FStab == | === Add User to SUDO === | ||
<pre>su | |||
vi /etc/group</pre> | |||
Add bpopp to sudo group. | |||
=== Add Hard Drives to FStab === | |||
<pre> | <pre> | ||
Line 10: | Line 17: | ||
</pre> | </pre> | ||
Install PlexMediaServer | |||
=== Install NVIDIA Driver === | |||
<pre>deb http://ftp.us.debian.org/debian/ jessie main contrib non-free | |||
deb-src http://ftp.us.debian.org/debian/ jessie main contrib non-free | |||
apt-get update | |||
apt-get install nvidia-driver nvidia-xconfig</pre> | |||
Run XConfig | |||
<pre>nvidia-xconfig</pre> | |||
Restart and then run nvidia settings | |||
<pre>nvidia-settings</pre> | |||
=== Install Misc Tools === | |||
<pre>sudo aptitude install curl</pre> | |||
=== Install Multimedia Tools === | |||
Add something like this to /etc/apt/sources.list (with your preferred mirror): | |||
<pre>deb http://ftp.us.debian.org/debian jessie-backports main</pre> | |||
Then | |||
<pre>apt-get update | |||
apt-get install ffmpeg</pre> | |||
Install youtube Downloader | |||
<pre>sudo curl -L https://yt-dl.org/downloads/latest/youtube-dl -o /usr/local/bin/youtube-dl | |||
sudo chmod a+rx /usr/local/bin/youtube-dl</pre> | |||
===Install PlexMediaServer=== | |||
<pre>Download 64 bit .deb file from plex.tv</pre> | <pre>Download 64 bit .deb file from plex.tv</pre> | ||
Install Conky | ===Install Conky=== | ||
<pre>sudo aptitude install conky</pre> | <pre>sudo aptitude install conky</pre> | ||
Install Mumble Server | ===Install Mumble Server=== | ||
<pre>sudo aptitude install mumble-server</pre> | <pre>sudo aptitude install mumble-server | ||
sudo dpkg-reconfigure mumble-server</pre> | |||
===Install | === Install Mumble Extension for PHP === | ||
Needed for conky integration. | |||
<pre>aptitude install php-zeroc-ice</pre> | |||
Add Ice directory to php.ini include path. May need to be done twice if you need integration in apache and CLI: | |||
<pre>sudo | <pre>include_path=.:/usr/share/Ice-3.5.1/php/lib | ||
sudo systemctl restart apache2</pre> | |||
===Install PHP5/MySQL=== | |||
<pre>sudo aptitude install php5 php5-mysql php5-curl mysql-server</pre> | |||
===Install Google Chrome === | ===Install Google Chrome === | ||
Download google chrome from https://www.google.com/chrome/browser/desktop/ | |||
=== Install SabNZBD/Sickbeard === | === Install SabNZBD/Sickbeard === | ||
Line 42: | Line 99: | ||
sudo apt-get upgrade -y | sudo apt-get upgrade -y | ||
sudo aptitude install sabnzbdplus | |||
</pre> | </pre> | ||
Line 56: | Line 114: | ||
<pre>smbpasswd -a bpopp</pre> | <pre>smbpasswd -a bpopp</pre> | ||
== Install Deluged == | === Install Deluged === | ||
Add to /etc/systemd/system/deluged.service | |||
<pre>[Unit] | |||
Description=Deluge Bittorrent Client Daemon | |||
After=network-online.target | |||
[Service] | |||
Type=simple | |||
User=bpopp | |||
Group=debian-deluged | |||
UMask=007 | |||
ExecStart=/usr/bin/deluged -d | |||
Restart=on-failure | |||
# Configures the time to wait before service is stopped forcefully. | |||
TimeoutStopSec=300 | |||
[Install] | |||
WantedBy=multi-user.target</pre> | |||
<pre>sudo aptitude install deluged | <pre>sudo aptitude install deluged deluge-console | ||
systemctl enable deluged | systemctl enable deluged | ||
systemctl start deluged</pre> | systemctl start deluged</pre> | ||
Add a user | |||
<pre>echo "bpopp:MyC0mpL3xPass:10" >> ~/.config/deluge/auth</pre> | |||
Allow remote connections | |||
<pre> | |||
deluge-console "config -s allow_remote True" | |||
deluge-console "config allow_remote"</pre> | |||
=== Install Plex Home Theater === | |||
Easiest way to install plexhometheater is using https://github.com/RasPlex/OpenPHT/releases/ |
Latest revision as of 23:43, 14 October 2016
Install Debian as Desktop Server
Add User to SUDO
su vi /etc/group
Add bpopp to sudo group.
Add Hard Drives to FStab
# <device> <dir> <type> <options> <dump> <fsck> /dev/sda1 / ext4 defaults,noatime 0 1 /dev/sda2 none swap defaults 0 0 /dev/sda3 /home ext4 defaults,noatime 0 2
Install NVIDIA Driver
deb http://ftp.us.debian.org/debian/ jessie main contrib non-free deb-src http://ftp.us.debian.org/debian/ jessie main contrib non-free apt-get update apt-get install nvidia-driver nvidia-xconfig
Run XConfig
nvidia-xconfig
Restart and then run nvidia settings
nvidia-settings
Install Misc Tools
sudo aptitude install curl
Install Multimedia Tools
Add something like this to /etc/apt/sources.list (with your preferred mirror):
deb http://ftp.us.debian.org/debian jessie-backports main
Then
apt-get update apt-get install ffmpeg
Install youtube Downloader
sudo curl -L https://yt-dl.org/downloads/latest/youtube-dl -o /usr/local/bin/youtube-dl sudo chmod a+rx /usr/local/bin/youtube-dl
Install PlexMediaServer
Download 64 bit .deb file from plex.tv
Install Conky
sudo aptitude install conky
Install Mumble Server
sudo aptitude install mumble-server sudo dpkg-reconfigure mumble-server
Install Mumble Extension for PHP
Needed for conky integration.
aptitude install php-zeroc-ice
Add Ice directory to php.ini include path. May need to be done twice if you need integration in apache and CLI:
include_path=.:/usr/share/Ice-3.5.1/php/lib sudo systemctl restart apache2
Install PHP5/MySQL
sudo aptitude install php5 php5-mysql php5-curl mysql-server
Install Google Chrome
Download google chrome from https://www.google.com/chrome/browser/desktop/
Install SabNZBD/Sickbeard
Install prereqs
sudo apt-get install python-gdbm python-cheetah python-openssl par2 unzip -y
Add to apt
echo "deb http://ppa.launchpad.net/jcfp/ppa/ubuntu precise main" | tee -a /etc/apt/sources.list.d/sabnzbdplus.list sudo apt-key adv --keyserver hkp://pool.sks-keyservers.net:11371 --recv-keys 0x98703123E0F52B2BE16D586EF13930B14BB9F05F sudo apt-get update sudo apt-get upgrade -y sudo aptitude install sabnzbdplus
Install Samba
sudo aptitude install samba
Enable at startup
sudo systemctl enable smbd.service nmbd.service
Add a user and password
smbpasswd -a bpopp
Install Deluged
Add to /etc/systemd/system/deluged.service
[Unit] Description=Deluge Bittorrent Client Daemon After=network-online.target [Service] Type=simple User=bpopp Group=debian-deluged UMask=007 ExecStart=/usr/bin/deluged -d Restart=on-failure # Configures the time to wait before service is stopped forcefully. TimeoutStopSec=300 [Install] WantedBy=multi-user.target
sudo aptitude install deluged deluge-console systemctl enable deluged systemctl start deluged
Add a user
echo "bpopp:MyC0mpL3xPass:10" >> ~/.config/deluge/auth
Allow remote connections
deluge-console "config -s allow_remote True" deluge-console "config allow_remote"
Install Plex Home Theater
Easiest way to install plexhometheater is using https://github.com/RasPlex/OpenPHT/releases/