How to Set Up a Media Server on Linux

How to Set Up a Media Server on Linux

What Do I Need?

  • Any Dedicated or Virtual Server
  • Ubuntu

What is a Media Server?

A media server is super useful and a great way of organizing your media as well as accessing great content online. But designing the ultimate media server for your TV and movie collection can be a challenge. What hardware should you use, what operating system should you install, and what kind of software should you be running?

  1. Install GIT and Curl

    You’ll need to install two bits of software first, Git and Curl. Git is version control software that allows developers to share their software, while Curl allows for data transfers from the internet:
    sudo apt install curl git

    How to Set Up a Media Server on Linux

  1. Install DockSTARTer

    Now we need to install Docker using DockSTARTer. DockSTARTer helps to smooth the installation and configuration process for the uninitiated with Docker.
    sudo git clone
    https://github.com/GhostWriters/DockSTARTer 
    "/home/${USER}/.docker"

    How to Set Up a Media Server on Linux

    sudo bash /home/${USER}/.docker/main.sh -i

    How to Set Up a Media Server on Linux

    sudo reboot

  1. Run DockSTARTer and Install Apps
    1. Now your server has rebooted, it’s time to start getting jiggy with the awesomeness that is DockSTARTer.
    2. Use the following command to get started:
      sudo ds

      How to Set Up a Media Server on Linux

      • Press ‘Enter’ to progress with configuration.

      How to Set Up a Media Server on Linux

      • Select ‘Full Setup’.
  1. Setup the Multimedia Server
    1. Select the following apps for creating a capable multimedia server:
      Plex: Organizes all of your video, music, and photo collections.Ouroboros: Automatically updates running Docker containers.
      Portainer: Provides a simple management UI for Docker.
    1. Press ‘Enter’.How to Set Up a Media Server on Linux
    1. Accept the default settings for Plex.How to Set Up a Media Server on Linux
    1. Accept the default settings for Portainer.How to Set Up a Media Server on Linux
    1. Accept the default settings for DockSTARTer.How to Set Up a Media Server on Linux
    1. Accept the default configuration settings for DockSTARTer.How to Set Up a Media Server on Linux
    1. Accept the default global settings for DockSTARTer.How to Set Up a Media Server on Linux
    1. The first option allows for the configuration of your server’s timezone. Assuming your system timezone is correct, choose Use System at this stage, or select another with Enter New. Edit the hostname in the following menu, either by using the current server hostname or selecting Enter New.
    2. The next dialog asks you to choose various user IDs and group IDs, it’s recommended you select the Use System option here.
    3. You’ll then have to select the correct folder for Docker’s configuration file. Unless you’re planning to alter this, choose Use System. The next dialog will ask if you want to set permissions on your Docker config file, select ‘Yes’ and press ‘Enter’.How to Set Up a Media Server on Linux
    1. Once completed, DockSTARTer will confirm changes to your Docker configuration file. At its final stage, it’ll ask whether you want to create the final containers for your apps; select Yes and hit enter then wait for the process to complete.
    2. The apps will download and install in container ‘sandboxes’ created to your specifications. This may take a bit of time, depending on the apps you’ve chosen, the resources of your server, and your internet connection.
    3. Once it’s complete, your apps will install and be ready and running in Docker containers! Some may need further configuration, such as Emby, and may run with web UI for configuration. You can configure Emby, for instance, by visiting:
      http://localhost:8096

    1. You can also configure and monitor your Docker installation with Portainer. Using your browser visit:
      http://localhost:9000

    1. Create your first administration account. Choose a username and password, then hit ‘Create User’.

Next Steps

Docker takes away the pain from installing a media server on Linux. Instead of installing each application individually, using DockSTARTer, you can install Docker and all the container apps you need in an hour or less, depending on how quick your server is.

Conclusion

Using this how-to guide you can create an amazing media server capable of streaming your photos, videos, music, and other multimedia content. Get to it!

How To Set up a VSFTPD Server on a CentOS 7 VPS or Dedicated Server

Brief Description FTP is usually insecure exposing clear-text passwords, userna
2 min read
Avi Ilinsky
Avi Ilinsky
Hosting Expert

How To Set up a VSFTPD Server on an Ubuntu 16.04 VPS or Dedicated Server

Brief Description FTP data is usually insecure since information (usernames, pa
2 min read
Eliran Ouzan
Eliran Ouzan
Web Designer & Hosting Expert

How to use phpMyAdmin to develop a website (without MySQL experience)

Brief description A web developer who is not well versed into coding websites f
2 min read
Idan Cohen
Idan Cohen
Marketing Expert

How to Install MySQL on a Windows Web Server Running Apache

This tutorial will show you how to install the MySQL database on a Windows serve
3 min read
Michael Levanduski
Michael Levanduski
Expert Hosting Writer & Tester
HostAdvice.com provides professional web hosting reviews fully independent of any other entity. Our reviews are unbiased, honest, and apply the same evaluation standards to all those reviewed. While monetary compensation is received from a few of the companies listed on this site, compensation of services and products have no influence on the direction or conclusions of our reviews. Nor does the compensation influence our rankings for certain host companies. This compensation covers account purchasing costs, testing costs and royalties paid to reviewers.
Click to go to the top of the page
Go To Top