In this Install CouchPotato Debian tutorial. We are going to install CouchPotato via the command line. If CouchPotato is installed. Then movies are automatically downloaded from the newsgroups. As soon as the desired quality of the movie is available.
Install CouchPotato required software
We need to install the required software for CouhPotato. Otherwise CouchPotato cannot function properly.
We have to. Start doing an update.
sudo apt-get update
Now we go. Install the required software.
sudo apt-get install git-core libffi-dev libssl-dev zlib1g-dev libxslt1-dev libxml2-dev python python-pip python-dev build-essential -y
Now we have to install the other required software. For CouchPotato.
sudo pip install lxml cryptography pyopenssl
We will now download and install CouchPotato. To the hidden couchpotato folder.
git clone https://github.com/RuudBurger/CouchPotatoServer.git ./couchpotato
Set rights correctly on the couchpotato folder. Note: adjust user name to your own user name.
sudo chown -R username:username ./couchpotato
Now we have to check. Whether CouchPotato can be started.
python ./couchpotato/CouchPotato.py –daemon
You are now done installing CouchPotato.
You can now access CouchPotato through your browser. By opening the following page: http: // ip-address: 5050
Start CouchPotato automatically
It is of course handy. That CouchPotato is started. While booting. We are going to arrange that now
sudo nano /etc/default/couchpotato
Copy and paste the following into this file. And adjust the username twice here. To that of your own Debian username.
CP_HOME=./couchpotato
CP_USER=username
CP_PIDFILE=/home/username/.couchpotato.pid
CP_DATA=./couchpotato
Now copy the Init.d script.
sudo cp ./couchpotato/init/ubuntu /etc/init.d/couchpotato
We have to make the script executable.
sudo chmod +x /etc/init.d/couchpotato
We must activate the script.
sudo update-rc.d /etc/init.d/couchpotato defaults
Now, to be sure, test whether it works. You do this by restarting the computer.
sudo reboot
You are now completely done with the installation of CouchPotato on Debian.
Debian CouchPotato tutorial
Be the first to comment