How to Install Medusa on Fedora CoreOS Latest

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.

Prerequisites

Before starting the installation process, ensure that:

Installation Steps

Follow the steps below to install Medusa on Fedora CoreOS Latest:

Step 1: Install Required Dependencies

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

Step 2: Download and Extract Medusa

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

Step 3: Move Medusa Files

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

Step 4: Create Medusa User

Create a new user dedicated to running Medusa. Execute the following command:

sudo adduser --system --no-create-home medusa

Step 5: Configure 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)

Step 5: Set File Permissions

Set the appropriate file permissions for Medusa.

Execute the following command:

sudo chown -R medusa:medusa /opt/Medusa

Step 6: Install Medusa Systemd Service

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

Step 7: Access Medusa Interface

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.

Conclusion

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!