How to Install Medusa on Debian Latest

Medusa is a media indexer and searcher that can manage your TV shows and movies. In this tutorial, we will show you how you can install Medusa on your Debian system.

Step 1: Update Your System

Before installing any software on your system, you must update your system. To do so, run the following command:

sudo apt-get update
sudo apt-get upgrade

Step 2: Install the Required Dependencies

Medusa requires certain dependencies to work correctly. Run the following command to install them:

sudo apt-get install -y git python python-cheetah python-pysqlite2 python-openssl python-pip

Step 3: Download and Install Medusa

Now, we will download Medusa from the official PyMedusa website. Follow these steps:

  1. Open your terminal and go to the directory where you want to download Medusa.

  2. Run the following command:

    git clone https://github.com/pymedusa/Medusa.git
    
  3. Change the directory to the newly cloned Medusa directory:

    cd Medusa
    
  4. Run the following command to install Medusa:

    sudo python setup.py install
    

    Note: Python 2.7 or higher is required to run Medusa.

Step 4: Configure Medusa

To configure Medusa, you must create a config.ini file. Here's how you can do it:

  1. In the Medusa directory, create a config directory:

    mkdir -p ~/.medusa/config
    
  2. Create a new config.ini file using the nano editor:

    nano ~/.medusa/config/config.ini
    
  3. Copy and paste the following template into the config.ini file:

    [server]
    host = 0.0.0.0
    port = 8081
    ssl = False
    api_key = medusa
    
    [media_management]
    naming_convention = {show_title} - S{season_num}E{episode_num} - {episode_title}
    
    [searching]
    torrent_sites = piratebay,1337x
    nzb_sites = nzbsorg,nzbgeek
    
    [notification]
    type = null
    options =
    

    Note: This configuration file is just a template. You can customize it as per your requirements.

  4. Save the changes and exit the editor.

Step 5: Run Medusa

Finally, we can run Medusa using the following command:

/usr/bin/medusa -d

This will start Medusa as a daemon process. You can now access Medusa by opening your browser and navigating to http://<your-server-IP>:8081.

Conclusion

In this tutorial, you learned how to install Medusa on your Debian system. Now, you can easily manage your TV shows and movies.

If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!

Alternatively, for the best virtual desktop, try Shells!