Install Couchpotato on Ubuntu 14.04+
CouchPotato for Ubuntu 14.04 will get you all of the feature length media files you desire from a watchlist you have created. It can grab the media files from either usenet or torrents in your automated system.
Let get the dependency and GIT installed
apt-get update && apt-get install git-core libffi-dev libssl-dev zlib1g-dev libxslt1-dev libxml2-dev python python-pip python-dev build-essential -y
Now lets use GIT to clone the current release
git clone https://github.com/RuudBurger/CouchPotatoServer /opt/couchpotato
Change the ownership of the CouchPotato directory to your user
chown -R user:user /opt/couchpotato
Test if CouchPotato works
python /opt/couchpotato/CouchPotato.py --daemon
You should be able to see the CouchPotato web interface on http://ip.address:5050
Now Lets get Couchpotato to start on boot
Copy the default CouchPotato init
cp /opt/couchpotato/init/ubuntu.default /etc/default/couchpotato
Open the configuration file
nano /etc/default/couchpotato
Add or change the following lines, “username"
is your log on user.
# COPY THIS FILE TO /etc/default/couchpotato # OPTIONS: CP_HOME, CP_USER, CP_DATA, CP_PIDFILE, PYTHON_BIN, CP_OPTS, SSD_OPTS CP_HOME=/opt/couchpotato CP_DATA=/opt/couchpotato CP_USER=yourusername CP_PIDFILE=/home/yourusername/.couchpotato.pid
Press Ctrl+X, press Y and then Enter to save and leave nano.
Copy the default CouchPotato init.d file
cp /opt/couchpotato/init/ubuntu /etc/init.d/couchpotato
Make the file executable
chmod +x /etc/init.d/couchpotato
Update so CouchPotato autostarts on boot
update-rc.d couchpotato defaults
Now your All set!