×


Blog


Add Swap Space on Ubuntu 20.04 - Step by Step Process ?

This article covers how we can add and maintain swap space in the ubuntu system. Swap space can take the form of either a dedicated swap partition or a swap file. Typically, when running Ubuntu on a virtual machine, a swap partition is not present, and the only option is to create a swap file.


To Adjust the Swappiness Value:

Swappiness is a Linux kernel property that defines how often the system will use the swap space. It can have a value between 0 and 100. A low value will make the kernel to try to avoid swapping whenever possible, while a higher value will make the kernel to use the swap space more aggressively.

On Ubuntu, the default swappiness value is set to 60. You can check the current value by typing the following command:

$ cat /proc/sys/vm/swappiness


To Remove a Swap File:

1. First, deactivate the swap space:

$ sudo swapoff -v /swapfile

2. Next, remove the swap file entry /swapfile swap swap defaults 0 0 from the /etc/fstab file.

3. Finally, remove the actual swapfile file using the rm command:

$ sudo rm /swapfile


Top 5 Cloud Storage Services

This article covers a review of the top best existing cloud storage platforms providing support for all the operating systems.

With an influx of cloud storage services in the market, it gets quite inconvenient for users and businesses to select a storage service for storing, sharing, and managing their data or files.

Each storage service provides users with the ability to create, store, manage and share their data with other team members in real-time through safe and secured data encryption mechanisms. 

Users can test every discussed cloud platform for free for up to a limited amount of data storage capacity, after which users can subscribe to any of the pricing packages provided by each cloud storage platform. 

IDrive, pCloud, OneDrive, IceDrive, and Google Drive ensure the safest platform for data sharing and storing, with each platform slightly varying in providing different features such as support models, external systems integrations, etc. Therefore, based on an individual or a company’s need, the selection of the best-suited cloud storage can differ, though each platform is a top-rated storage service by many across the globe.


Best cloud storage providers:

1. IDrive

2. pCloud

3. BigMIND by Zoolz

4. Degoo Cloud

5. Nordlocker


Configure Network in Linux Using Netplan and NMTUI - Step by Step Process ?

This article covers how to set up your network interface using Netplan and NMTUI. Setting up the network interfaces is one of the most basic step that every system administrator and server engineers have to do to make it accessible over the network.

Netplan is based on YAML based configuration system that makes configuration process very simple. Netplan has replaced the old configuration file /etc/network/interfaces that we previously used for configuring network interfaces in Ubuntu.


To Restart the network service

1. Once all the configurations are successfully applied, restart the Network-Manager service by running the following command:

$ sudo systemctl restart network-manager

2. If you are using a Ubuntu Server, instead use the following command:

$sudo systemctl restart system-networkd


To Verify IP address

Now to verify if the new configurations are successfully applied, run the following command to verify the IP address:

$ ip a


The Netplan default configuration file is under the directory /etc/netplan

You can find that using the following command:

$ ls /etc/netplan/

To view the content of Netplan network configuration file, run the following command:

$ cat /etc/netplan/*.yaml


Top 5 Open-Source Web Servers for Linux

This article covers the top functioning web servers in the market that are rated best by the reviewers and users.

With the surge of growing websites, the demand and need for optimal, user-friendly, and open-source web servers are witnessing a great influx. Each day, a new web server is launched with enhanced functionalities and commendable features. 

Apache tops our list of the best five web servers currently existing. The diversity of the features offered by Apache and the second-best web server as per our list, i.e., NGINX are without a doubt, unmatched.

Lighttpd offers a sleek and lightweight web serving experience. 

Whereas Caddy and Apache Tomcat are best fit for users trying to host Go language-based applications and Java-based applications, respectively.

Each web server provides a satisfactory user experience and is among top best renowned open-source web servers.


The Best Web Servers includes:

1. Apache HTTP Server

2. Nginx

3. Apache Tomcat


Configure ZFS on Ubuntu 20.04 - Step by Step Process ?

This article covers how to create ZFS storage pools, how to destroy the pool, and specify the mount point. ZFS is a combined file system and logical volume manager.

If you are dealing with large amounts of data, or providing a backing filesystem for virtualization, ZFS is a great choice.


Features of ZFS includes:

1. Protection against data corruption

2. High storage capacity (256 ZiB)

3. Snapshots and copy-on-write clones and continuous integrity checking to name but a few. 


To Install ZFS on Ubuntu:

1. The main components of ZFS are maintained as a standard Ubuntu package, so to install simply run:

$ sudo apt install zfsutils-linux

2. After that, we can check if ZFS was installed correctly by running:

$ whereis zfs


Create and Use Bash Aliases on Ubuntu 20.04 Linux System - Step by Step Process ?

This article covers the procedure of creating and using bash aliases. Running long and complex commands is usually tedious and time-consuming. Aliases provide much-needed relief by providing shortcuts to those complex commands.

These shortcuts can easily be called on the terminal and yield the same result as the complex command. 

This tutorial shows how to create and add aliases permanently to your bash shell on Linux and Unix-like systems.


To Create Bash Aliases

Creating aliases in bash is very straight forward. 

The syntax is as follows:

alias alias_name="command_to_run"

An alias declaration starts with the alias keyword followed by the alias name, an equal sign and the command you want to run when you type the alias.