Table of Contents

Data Communications Journal

August 26, 2014

Today is the first day of class.

HPC Experience I Journal

September 9th, 2014

Personal Project Planning

Subsonic

http://www.subsonic.org/pages/index.jsp

Plex

https://plex.tv/

Debian

Transmission

Generic Debian Installation

  1. Went to the website a few days ago and obtained the newest copy of debian. At the time of writing this, the newest version is 7.6.0 .
  2. Normal Installation Process nothing special
  3. Hostname - SERVER-SERVICES
  4. Domain - internal.kosty.us
  5. DNS - 192.168.1.254
  6. NTP - 192.168.1.254
  7. IP - 192.168.1.252
  8. Finally made it to the login

Prereq checks

Media File Shares

CIFS

  1. The IP is the IP of the file server the files are stored on, SERVER-FILES
  2. Multimedia and Downloads are the shares the file folders are in
  3. \040 is the way of representing a space in a address
  4. /mnt/abcd specifies the location the share will be mounted on the file system
  5. cifs specifies the mount type
  6. credentials are stored in a separate file /etc/cifspasswd .. really not needed but I like to
  7. file mode and directory mode decide the control over the mount .. 777 may not be the best for production but fine for testing

Transmission

{
    "alt-speed-down": 50,  
    "alt-speed-enabled": false, 
    "alt-speed-time-begin": 540, 
    "alt-speed-time-day": 127, 
    "alt-speed-time-enabled": false, 
    "alt-speed-time-end": 1020, 
    "alt-speed-up": 50, 
    "bind-address-ipv4": "0.0.0.0", 
    "bind-address-ipv6": "::", 
    "blocklist-enabled": true,  - I want block lists on to evade some trackers
    "blocklist-url": "my block list", - URL to the block list I want to use
    "cache-size-mb": 4, 
    "dht-enabled": true, 
    "download-dir": "/mnt/finished", - Put finished files in our finished folder we mounted earlier
    "download-limit": 100, 
    "download-limit-enabled": 0, 
    "download-queue-enabled": true, 
    "download-queue-size": 5, 
    "encryption": 1, 
    "idle-seeding-limit": 30, 
    "idle-seeding-limit-enabled": false, 
    "incomplete-dir": "/mnt/incomplete", - Files that are currently downloading are placed here
    "incomplete-dir-enabled": true, - Enables the directory for incomplete files
    "lpd-enabled": false, 
    "max-peers-global": 1000, 
    "message-level": 2, 
    "peer-congestion-algorithm": "", 
    "peer-limit-global": 1000, 
    "peer-limit-per-torrent": 200, 
    "peer-port": 51413, 
    "peer-port-random-high": 65535, 
    "peer-port-random-low": 49152, 
    "peer-port-random-on-start": false, 
    "peer-socket-tos": "default", 
    "pex-enabled": true, 
    "port-forwarding-enabled": false, 
    "preallocation": 1, 
    "prefetch-enabled": 1, 
    "queue-stalled-enabled": true, 
    "queue-stalled-minutes": 30, 
    "ratio-limit": 2, 
    "ratio-limit-enabled": false, 
    "rename-partial-files": true, 
    "rpc-authentication-required": true, 
    "rpc-bind-address": "0.0.0.0", 
    "rpc-enabled": true, 
    "rpc-password": "esgsg", - password for remote connection
    "rpc-port": 9091, - port number that the remote connection goes over
    "rpc-url": "/transmission/", - word to include in url for connection
    "rpc-username": "username",  - User name for remote connection
    "rpc-whitelist": "*.*.*.*",  - enables remote connection from any IP
    "rpc-whitelist-enabled": true, 
    "scrape-paused-torrents-enabled": true, 
    "script-torrent-done-enabled": false, 
    "script-torrent-done-filename": "", 
    "seed-queue-enabled": false, 
    "seed-queue-size": 10, 
    "speed-limit-down": 750, 
    "speed-limit-down-enabled": false, 
    "speed-limit-up": 5, 
    "speed-limit-up-enabled": true, 
    "start-added-torrents": true, 
    "trash-original-torrent-files": false, 
    "umask": 18, 
    "upload-limit": 100, 
    "upload-limit-enabled": 0, 
    "upload-slots-per-torrent": 14, 
    "utp-enabled": true, 
    "watch-dir": "/mnt/auto", - enables a folder which .torrents can be placed in for automatic download
    "watch-dir-enabled": true - ables auto function
}
root@SERVER-SERVICES:~# service transmission-daemon start
[ ok ] Starting bittorrent daemon: transmission-daemon.
root@SERVER-SERVICES:~#

Subsonic

  1. Subsonic.war provided by website
  2. Apache tomcat
  3. Java 7
  4. lamemp3
  5. FFmpeg
  1. Java 7
  2. subsonic.deb

Java

root@SERVER-SERVICES:~# sudo apt-get install openjdk-7-jre-headless

Tomcat

root@SERVER-SERVICES:~# sudo apt-get install tomcat7

Subsonic WAR Setup

Plex

sudo apt-get install curl
echo "deb http://shell.ninthgate.se/packages/debian squeeze main" | sudo tee -a /etc/apt/sources.list.d/plexmediaserver.list
sudo curl http://shell.ninthgate.se/packages/shell-ninthgate-se-keyring.key | sudo apt-key add -
sudo apt-get update
sudo apt-get install plexmediaserver