Wednesday, December 30, 2020

How To Setup Emby Media Server on Ubuntu 18.04 Bionic Beaver With Apache Web Server

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

 Emby Server is a personal media server with apps on just about every device.
It features a REST-based API with built-in documention to facilitate client development. We also have client libraries for our API to enable rapid development.
Offcial Website:https://emby.media/  || Emby Premiere:-  https://emby.media/premiere.html
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
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-get update ; apt install -y build-essential software-properties-common curl wget nano git net-tools lsb-release apt-transport-https apache2

a2enmod dir env headers mime rewrite setenvif proxy proxy_http ; echo ServerName 127.0.0.1 >> /etc/apache2/apache2.conf  
systemctl start apache2 ; systemctl enable apache2

wget https://github.com/MediaBrowser/Emby.Releases/releases/download/4.1.1.0/emby-server-deb_4.1.1.0_amd64.deb
gdebi emby-server-deb_4.1.1.0_amd64.deb

gedit /etc/apache2/sites-available/yourdomain.conf &>/dev/null
<VirtualHost *:80>
    #Domain Name
    ServerName yourdomain.com
    ServerAlias www.yourdomain.com

    #HTTP proxy/gateway server
    ProxyRequests off
    ProxyPass / http://127.0.0.1:8096/
    ProxyPassReverse / http:/127.0.0.1:8096/     
</VirtualHost>
a2ensite yourdomain ; a2dissite 000-default.conf  ; apache2ctl configtest
echo "192.168.1.50 www.yourdomain.com" >> /etc/hosts ; systemctl reload apache2
http://www.yourdomain.com

chmod -R 777 /home/ubuntu/Music
Username:admin        | Password: 

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ 

No comments:

Post a Comment