Medusa is an open-source media server designed to organize and stream your digital media collection. It features a user-friendly interface, support for multiple platforms, and automated downloading from popular sources.
In this tutorial, we will guide you on how to install Medusa on Fedora CoreOS Latest.
Before starting the installation process, ensure that:
Follow the steps below to install Medusa on Fedora CoreOS Latest:
The first step is to install the required dependencies for Medusa. Open the terminal and enter the following command to install the required packages:
sudo dnf install ffmpeg python3-devel gcc-c++ -y
Visit the official Medusa website https://pymedusa.com/ and download the latest Medusa release tarball. You can download it using the wget command, as shown below:
wget https://github.com/pymedusa/Medusa/archive/ref/v0.2.9.0.tar.gz
Extract the downloaded tarball using the tar command:
tar -xvf v0.2.9.0.tar.gz
Once the extraction process is complete, move the extracted folder to your preferred location. In this example, we will move it to the /opt
directory.
sudo mv Medusa-ref-v0.2.9.0 /opt/Medusa
Create a new user dedicated to running Medusa. Execute the following command:
sudo adduser --system --no-create-home medusa
Navigate to the /opt/Medusa
directory and copy the config.ini.sample
file to config.ini
:
cd /opt/Medusa
sudo cp config.ini.sample config.ini
Edit the config.ini
file to set up the desired parameters for the Medusa installation. For example:
sudo nano config.ini
Update the following parameter settings:
[Server]
host = 0.0.0.0 (Replace with your IP address)
[Directories]
amedia = /mnt/medusa (Replace if desired)
Set the appropriate file permissions for Medusa.
Execute the following command:
sudo chown -R medusa:medusa /opt/Medusa
Create a Medusa service file, medusa.service
, using the following command:
sudo nano /etc/systemd/system/medusa.service
Add the following content to the medusa.service
file:
[Unit]
Description=Medusa
After=network.target
[Service]
Type=simple
User=medusa
Group=medusa
UMask=002
ExecStart=/usr/bin/python3 /opt/Medusa/start.py -q --nolaunch --datadir=/opt/Medusa/
[Install]
WantedBy=multi-user.target
Save and close the file.
To start the Medusa service, run the following command:
sudo systemctl enable medusa
sudo systemctl start medusa
Medusa is now installed and running on your Fedora CoreOS Latest instance. Access the web interface by opening a web browser and navigating to http://<your_ip_address>:8081
. Log in with the credentials you set up in the Medusa config.ini
file.
Congratulations! You have successfully installed Medusa on Fedora CoreOS Latest. You can now start adding your media library and enjoy streaming on any device connected to your network.
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!