Install CouchPotato via command line Ubuntu – download movies

couchporato logo

In this CouchPotato Ubuntu manual. We are going to install CouchPotato via command line. On the lunix distribution Ubuntu. Next we will configure CouchPotato to download the desired films from the newsgroups.

Install requirements CouchPotato

Before we install CouchPotato, Git and Python must be installed. If that is not yet the case. Then you can do that via the commands below. Usually Git and Python are already installed. Because you also need Python for SickBeard or other programs.

sudo apt-get install git

sudo apt-get install git-core python

For both commands out. And enter your root passwordfor each command. And then Enter.

Install CouchPotato via command line

Now We are going to download CouchPotato. And we place it in the “.couchpotato” folder. Beware! The dot. The dot ensures that the folder is hidden.

cd ~
git clone git://github.com/RuudBurger/CouchPotatoServer.git .couchpotato

After CouchPotato has been downloaded. You can start CouchPotato with the following command.

python .couchpotato/CouchPotato.py

CouchPotato is now installed. You can now access CouchPotato via “http://localhost:5050”.

Start CouchPotato automatically when Ubuntu starts

To ensure that no old startup script is present. This is not necessary with a fresh Ubuntu installation.

sudo rm /etc/init.d/couchpotato
sudo rm /etc/default/couchpotato
sudo update-rc.d -f couchpotato remove

Go to the CouchPotato folder.

cd ~/.couchpotato/init

We copy now. The startup script.

sudo cp ~/.couchpotato/init/ubuntu /etc/init.d/couchpotato
sudo chmod +x /etc/init.d/couchpotato

We are going to edit the startup script.

sudo nano ~/.couchpotato/init/ubuntu.default

Adjust the rules below. Beware CP_USER Change this to your own username.

CP_HOME=/home/user/.couchpotato/
CP_DATA=/home/user/.couchpotato/
CP_USER=user
CP_PIDFILE=/home/user/.couchpotato/couchpotato.pid

Press the CTR + X key simultaneously. And then the y key to save this file.

Copy the CouchPotato init.d file

sudo cp ~/.couchpotato/init/ubuntu.default /etc/default/couchpotato

Now make the file executable.

sudo chmod +x /etc/default/couchpotato

Update autostart for CocuhPotato.

sudo update-rc.d couchpotato defaults

You’re done now. You can test this by restarting Ubuntu with the following.

sudo reboot

Now you can access CouchPotato via http://localhost:5050 and you can start configuring CouchPotato.

Be the first to comment

Laat een reactie achter