Thursday, January 27, 2022

How To install Gerbera Media Server with Apache On Ubuntu 20.04

 in This Tutorial you will learn "How To install Gerbera Media Server with Apache Web Server On Rocky Linux 8
Gerbera is a UPnP media server which allows you to stream your digital media through your home network and consume it on a variety of UPnP compatible devices.
Homepage - https://gerbera.io/
Apache is the most widely used web server software.
_________________________________________________________________________________________
Server - Os:  Ubuntu 20.04.3 LTS 64Bit        | IP -192.168.1.80            |Hostname -  ubuntu.example.com
_________________________________________________________________________________________
lsb_release -d ; hostname -I ; hostname

curl -fsSL https://gerbera.jfrog.io/artifactory/api/gpg/key/public | sudo apt-key add -
apt-add-repository https://gerbera.jfrog.io/artifactory/debian
apt-get update ; apt install gerbera -y
systemctl start gerbera ; systemctl status gerbera

__________________________________________________________________________________________
Gerbera Config File - /etc/gerbera/config.xml
__________________________________________________________________________________________
apt update ; apt install apache2 -y
a2enmod proxy proxy_http
nano /etc/apache2/sites-available/gerbera.conf
<VirtualHost *:80>
    #Domain Name
    ServerName gerbera.com
    ServerAlias www.gerbera.com

    #HTTP proxy/gateway server
    ProxyRequests off
    ProxyPass / http://192.168.1.80:49152/
    ProxyPassReverse / http:/192.168.1.80:49152/     
</VirtualHost>
a2dissite 000-default.conf ; a2ensite gerbera.conf
apache2ctl configtest
systemctl daemon-reload ; systemctl reload apache2
echo "192.168.1.80 www.gerbera.com"  >> /etc/hosts
__________________________________________________________________________________________

No comments:

Post a Comment