How To install Gerbera - UPnP Media Server On Ubuntu 18.04 With Apache2
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Gerbera is an UPnP Media Server.
It allows you to stream your digital media through your home network and listen to/watch it on a variety of UPnP compatible devices.
Offcial Website: https://gerbera.io/
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Our Server Specification-
Os:Ubuntu 18.04 LTS Bionic Beaver 64Bit | IP address- 192.168.1.50 | Hostname :www.yourdomain.com
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
lsb_release -cd ; getconf LONG_BIT ; whoami ; hostname -f ; hostname -I ; apt install -y build-essential software-properties-common curl gdebi wget aptitude nano git net-tools lsb-release apt-transport-https apache2
a2enmod proxy rewrite proxy_http
add-apt-repository ppa:stephenczetty/gerbera-updates -y
apt-get update ; apt install gerbera -y
systemctl start gerbera && systemctl enable gerbera
netstat -plntu
gedit /etc/gerbera/config.xml &>/dev/null
<server>
enabled=”no” To enabled=”yes”
systemctl daemon-reload ; systemctl restart gerbera
nano /etc/apache2/sites-available/gerbera.conf
<VirtualHost *:80>
ServerName www.yourdomain.com
ProxyPass / http://192.168.1.50:49152/
ProxyPassReverse / http://192.168.1.50:49152/
</VirtualHost>
a2ensite gerbera.conf ; a2dissite 000-default ; apache2ctl configtest
systemctl enable apache2 ; systemctl reload apache2 ; echo "192.168.1.50 www.yourdomain.com" >> /etc/hosts
http://www.yourdomain.com
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
No comments:
Post a Comment