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:
Open your terminal and go to the directory where you want to download Medusa.
Run the following command:
git clone https://github.com/pymedusa/Medusa.gitChange the directory to the newly cloned
Medusadirectory:cd MedusaRun the following command to install Medusa:
sudo python setup.py installNote: 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:
In the
Medusadirectory, create aconfigdirectory:mkdir -p ~/.medusa/configCreate a new
config.inifile using thenanoeditor:nano ~/.medusa/config/config.iniCopy and paste the following template into the
config.inifile:[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.
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.