Tag Archives: ubuntu

Static IP Address on Ubuntu 18.04 with netplan

Ubuntu replaced the configuration file /etc/network/interfaces with netplan, which uses configuration files in YAML syntax /etc/netplan/01-netcfg.yaml .

Open the YAML configuration file with your text editor :

sudo nano /etc/netplan/01-netcfg.yaml
/etc/netplan/01-netcfg.yaml
network:
  version: 2
  renderer: networkd
  ethernets:
    ens3:
      dhcp4: yes
    ens4:
      dhcp4: no
      addresses:
        - 192.168.121.99/24
      gateway4: 192.168.121.1
      nameservers:
          addresses: [8.8.8.8, 1.1.1.1]

 

Once done save and close the file and apply the changes with:

sudo netplan apply

Verify the changes by typing:

ip addr show dev ens3

 

Cara instalasi plex media server

Situs plex

  • https://www.plex.tv/

Sistem

  • windows 7
  • ubuntu 16.04

Petunjuk

1. tambahkan plex media server ke dalam repository

sudo apt update
sudo apt install curl
curl https://downloads.plex.tv/plex-keys/PlexSign.key | gpg --dearmor | sudo tee /usr/share/keyrings/plex-archive-keyring.gpg >/dev/null 
echo deb [signed-by=/usr/share/keyrings/plex-archive-keyring.gpg] https://downloads.plex.tv/repo/deb public main | sudo tee /etc/apt/sources.list.d/plex.list
sudo apt update

2. Instalasi plexmediaserver

sudo apt install plexmediaserver
sudo nano /etc/ufw/applications.d/plexmediaserver
[plexmediaserver]
title=Plex Media Server (Standard)
description=The Plex Media Server
ports=32400/tcp

[plexmediaserver-additional]
title=Plex Media Server (Additional)
description=The Plex Media Server (Additional Ports)
ports=5353/udp|8324/tcp|32410:32414/udp|1900/udp|32469/tcp

3. Firewall

sudo ufw app update plexmediaserver
sudo ufw allow plexmediaserver
sudo ufw allow plexmediaserver-additional
sudo ufw status

 

4. akses with browser

http://IPADDRESS:32400/web

 

sumber: https://pimylifeup.com/ubuntu-plex-media-server/