Category Archives: Ubuntu

Ubuntu 22.04 Tutorials

A Beginner’s Guide To Linux Command Line

Linux Commands Line Interface

Linux is a popular open-source operating system used by many developers, system administrators, and hobbyists. One of the most powerful features of Linux is the command line interface, which allows users to interact with the system using commands rather than graphical interfaces. In this tutorial, we’ll cover some of the basic Linux commands that you can use to navigate the file system, create and remove files and directories, copy and move files, and change file permissions.

Listing files and directories:

The ls command is used to list the files and directories in the current working directory. When you open a terminal, you’ll be placed in your home directory, which is usually /home/username. To see the files and directories in your home directory, simply type ls and hit Enter. You’ll see a list of files and directories.

Changing the working directory:

To change the current working directory, use the cdRead the rest

Ubuntu Tutorials

How to Upgrade Ubuntu Server 20.04 to Ubuntu 22.04

In this tutorial you will learn how to upgrade your Ubuntu Server 20.04 LTS to Ubuntu Server 22.04 LTS.

Ubuntu 22.04 Dates

Below you can find list of some important dates relating to Ubuntu 22.04 LTS

  • Official Release: April 21, 2022
  • End of Life (end of official support): April 2027
  • Extended Support End of Life (available with subscription): April 2032

What’s New?

Ubuntu 22.04 provides major enhancements, new capabilities, and a number of new software packages such as:

  • PHP 8.1.2
  • OpenSSL 3.0
  • Ruby 3.0
  • Python 3.10.4
  • MySQL 8.0.28
  • PostgreSQL 14.2
  • Linux kernel v5.15.0-25 & MESA 22

For a comprehensive list of all the new features and software packages, check out the release notes.

Prerequisites

  • Make sure to have a minimum of 20GB of available storage.
  • Create a Backup before upgrade!
  • Use Putty to SSH and upgrade.

Lets get started 

1. Lets make sure we have all the installed … Read the rest

Ubuntu Tutorials

Complete VestaCP Setup Guide for Ubuntu 18

In this Complete VestaCP Setup Guide for Ubuntu 18 I will show you how to install Ubuntu 18 with all of its updates, Setup VestaCP and configure Name Server and domains. We will also do some security hardening, add SSL’s and update to the latest MariaDB and PHP versions. Finally I will also show you how to configure backups to an external source.

Consider using HestiaCP and Ubuntu 20 as VestaCP has been fading away. 

 Prerequisites

  • Register a Domain to use for your VPS server. I will be using GoDaddy.com as my domain registrar. In my case I have purchased the domain PatricksWebsiteHosting.com for this tutorial.
  • Choose and purchase a VPS from a VPS provider. Many factors come into play here but I will be using a2hosting.com they seem to have fair pricing and they provide lots of storage. You could also use your own server at home but it
Read the rest
Ubuntu Tutorials

How To Enable Root Login And SSH For Ubuntu 20.04

In this tutorial you will be shown how to enable Root login and SSH for Ubuntu 20.04. Root access is the administrative user that you can use to access and edit all of the files on your server (this includes system-critical files). In some situations, for proper installation of software on Ubuntu 20.04 using root access will make things easier.

Let’s get started 

  1. Log into your Ubuntu 20.04 server and run the following command to apply a password to the root user.
sudo passwd root

2. Now, let’s edit your SSH config to allow root to be able to SSH into your Ubuntu 20.04 server. 

sudo nano /etc/ssh/sshd_config

3. Move down towards the end of the config file and type in the following.

PermitRootLogin Yes

4. Use CTRL+X and you will be prompted to save the config.

5. You should be prompted with the question to Save Modified Buffer? Type … Read the rest

Ubuntu Tutorials

How To Install Plex Media Server On Ubuntu 20.04

In this tutorial you will be shown how to install Plex Media Server on Ubuntu 20.04. Plex Media Server is a convenient way to organize and enjoy your media. Used in combination with modern technology, it is easy to navigate and access your content anywhere — whether at home, in the car, or on a boat in the ocean. 

Ubuntu 20.04 Server Requirements

Things To Note

  • Single 720p transcode: Intel Core i3 3.0 GHz
  • Single 1080p transcode: Intel Core i5 3.0GHz
  • Single 4K transcode: Intel Core i7 3.2GHz

There is a great development for Ubuntu Linux users. Snaps , makes it possible to simplify the entire process of … Read the rest

Ubuntu Tutorials

How To Install Nessus On Ubuntu 20.04

In this tutorial you will be shown how to install and configure Tenable’s Nessus Vulnerability Scanner on Ubuntu 20.04.

Nessus is a tool that checks computers to find vulnerabilities that hackers COULD exploit. Nessus works by testing each port on a computer, determining what service it is running, and then testing this service to make sure there are no vulnerabilities in it that could be used by a hacker to carry out a malicious attack.

Server Requirements

Now Let’s Install Nessus on Ubuntu 20.04

  1. Open your Browser and click on Nessus Downloads to review latest releases. In my case the latest release for this tutorial is Nessus-10.0.2-ubuntu1110_amd64.deb. Download the latest
Read the rest
Ubuntu Tutorials

How To Understand Ubuntu CPU Load

It’s really important to know what your Ubuntu CPU load averages mean. The three numbers represent an average over progressively longer periods of time (one, five, and fifteen-minute averages), and the lower the number, the better. The higher the number, the more overloaded your machine is. But what’s an acceptable range? When should you be concerned?

Lets Access The Ubuntu Server’s Processes

In this tutorial we will use the top command on Ubuntu. This is used to show the Linux processes. It provides a dynamic real-time view of the running system. Usually, this command shows the summary information of the system and the list of processes or threads which are currently managed by the Linux Kernel.

As soon as you will run this command it will open an interactive command mode where the top half portion will contain the statistics of processes and resource usage. And Lower half contains a … Read the rest

Ubuntu Tutorials

How To Backup Ubuntu 20.04 To Backblaze B2 Storage

In this tutorial I will be showing you how to install Duplicati Backup Software on Ubuntu 20.04 and then how to configure backups to store data into Backblaze B2 Storage. It is important to have backups of your Ubuntu 20.04 server because If your server gets hacked or corrupted you will lose everything. So it is best to install a 3rd party backup solution that transfers data to cloud storage.

In this tutorial we will be using the OS Ubuntu 20.04Duplicati Backup Software and BackBlaze B2 Cloud Storage.

1.  Lets get started  with installing Duplicati Backup Software onto Ubuntu 20.04 by using the following commands one at a time.

wget https://updates.duplicati.com/beta/duplicati_2.0.5.1-1_all.deb
sudo apt-get -f install -y
sudo dpkg -i duplicati_2.0.5.1-1_all.deb

2. Alright so Duplicati is now installed but there are a few more things we need to do to get it working properly. Lets configure webservice … Read the rest

Ubuntu Tutorials

How To Install L2TP VPN On Ubuntu 20.04

In this tutorial I will be showing you how to install L2TP VPN On Ubuntu 20.04. I’m sure you have noticed while you were trying to configure L2TP VPN you were scratching your head why you couldn’t and the reason is because Ubuntu 20.04 does not have it installed by default. 

With these following commands we will have L2TP VPN software installed in just a few moments.

sudo add-apt-repository ppa:nm-l2tp/network-manager-l2tp
sudo apt-get update
sudo apt-get install network-manager-l2tp  network-manager-l2tp-gnome

I hope this article was helpful, if you have any questions, please feel free to contact me. If you would like to be notified of when I create a new post, you can subscribe to my blog alert.

Read the rest
Ubuntu Tutorials

How To Use Windows RDC To Remote Access Ubuntu 20.04

In this tutorial I will be showing you how use Windows Remote Desktop Connection to Remote Access Ubuntu 20.04. We will Install remote tools with a simple script.

  1. This is the first step in the process to enable remote access. Run the following command to install XRDP.
sudo apt install xrdp

2. In this step we are going to enable the XRDP service.

sudo systemctl enable --now xrdp

3. In this last step we are creating a rule to allow incoming traffic on port 3389.

sudo ufw allow from any to any port 3389 proto tcp

4. Now you need to find the IP address of the Ubuntu 20.04 computer. You will use this address to use the Windows Remote Desktop Connection (RDC) to connect into Ubuntu 20.04.

ifconfig

5. On your Windows computer open up Remote Desktop Connection (RDC) also previously known as Remote Desktop Protocol (RDP). We will … Read the rest