In the following guide, we will cover all the necessary steps to set up a Media Server instance on your own server or computer from scratch.
- Debian 10
- 512mb RAM
- 1 Core
Install System Tools and Node.js
Clone Media Server Git Repository
Running the App
Make sure you are on the correct path, and run the following command to start your Media Server:
Testing the server
Open a web browser and go to your server IP address, you will see your Media Server home page if everything is setup correctly.
Using Media Network to scale your Media Server
Optionally, to scale up your streaming plaform to million of users and make it available through a truly powerful and decentralized CDN, you can register your server as a resource on Media Network through the Media Network App. Follow this tutorial using your server IP address as the origin server to do so.
Editing the config to use your generated Media Network subdomain
After adding your origin server IP address to Media Network, a new random subdomain will be assigned to you. The next step is editing the config file of your Media Server, setting this newly generated domain as the CDN layer for your server.
Make sure to restart your Media Server instance after editing the configuration file, as it's required to apply changes.