Set static IP on Ubuntu Core and install my media stream server

Now I’d like to change my machine to use a static IP to be easier to log in remotely.

Name servers:

The root account is disabled by default in Ubuntu, so there is no root password, that’s why su fails with an authentication error.

user@host:~$ sudo bash
root@host:~# su

How do I upgrade Ubuntu using terminal?

You need to use either apt command or apt-get command. The apt command provides a high-level command line interface for the package management system. One can install new packages, update packages, remove/delete packages and performer other sysadmin duties for package management using apt.

How to sync the package index files from their sources via Internet. First, open the terminal application. Then run the following command:

sudo apt-get update


sudo apt update

How to install the newest versions of all installed packages on Ubuntu. Next, execute the following command to apply package updates and patches:

sudo apt-get upgrade


sudo apt upgrade


Install and setup Plex Media Server on Ubuntu 22.04 LTS

Plex was started as a hobby project but with time, it developed into a professional streaming server software to manage various types of media files. Users can install and use it to access their videos, music, and images remotely using the internet or locally over a local network; even you can share them with friends while on the move.

1. Update APT cache
First, we should perform the system update on the Linux system before using its package manager. This will rebuild the system cache and also install any update, if available. Along with that, install “CURL” as well.

sudo apt update

sudo apt install apt-transport-https curl

2. Add Plex Media Server repository on Ubuntu 22.04

The user can download directly the binary of the Plex server to install it on Ubuntu 22.04, however, the best way is to use its official repository. Here are the steps to add the repo:

echo deb public main | sudo tee /etc/apt/sources.list.d/plexmediaserver.list

sudo apt update

3. Command to Install Plex for Ubuntu 22.04 Server

Once we have everything set, it becomes very easy to install the Plex Media server just by using the APT Package Manager. Here is the command:

sudo apt install plexmediaserver

4. Check Plex Service Status

sudo systemctl status plexmediaserver

sudo systemctl enable –now plexmediaserver

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.