×


Blog


How to Compress and Extract Files Using the Tar, Zip Command on Ubuntu 20.4 Linux OS ?

This article covers how to archive and compress files using tar and zip commands with a few examples to show you how it works.

The tar command on Linux is often used to create .tar.gz or .tgz archive files, also called "tarballs".


How to Remove Files from a Tar Archive ?

Use the --delete operation to remove files from an archive.

The following example shows how to remove the file file1 from archive.tar:

$ tar --delete -f archive.tar file1


Install Go on Linux Mint 20 - Step by Step Process ?

This article covers the installation procedure of Go language on a Linux Mint 20 system. Also, we dealt with an easy way to remove Go language from a Linux Mint 20 system.

To Verify Go Language Installation, run the command:

$ go version 


Features of Go Programming

  • Statically type and compiled programming language.
  • Concurrency support and Garbage collection.
  • Strong library and toolset.
  • Multiprocessing and High-performance networking.
  • Known for readability and usability (Like Python).


Install WordPress with Nginx on Ubuntu 20.04 LTS - Step by Step Process ?

This article covers how to install WordPress on Ubuntu 20.04 with Nginx HTTP Server and Let's Encrypt wildcard SSL Certificates. WordPress is a free, open-source, and most popular content management system that allows you to create a blog on the Internet.


You can install nginx, MariaDB, PHP and all the required PHP extensions with the following command:

$ apt-get install nginx mariadb-server php php-curl php-mysql php-gd php-intl php-mbstring php-soap php-xml php-xmlrpc php-zip php-fpm -y

Once the LEMP server is installed, start the Nginx and MariaDB service with the following command:

$ systemctl start nginx
$ systemctl start mariadb


Nginx's inbuilt features includes:

  • Nginx is built to work on low memory usage.
  • It can support extremely high concurrency.
  • Is Ipv6 enabled.
  • Supports reverse proxy with efficient caching.
  • Provides an inbuilt load balancer.
  • Supports WebSockets.
  • Optimized handling of index files, static files and provides auto indexing.
  • Is accompanied with FastCGI for efficient caching.


Install Discord on Linux (Debian, Ubuntu, Linux Mint) - Step by Step Process ?

This article covers the installation procedure of Discord on any Linux Distribution such as Linux Mint 20, Ubuntu 20.04, and Debian 10. Also, we explained a quick method of uninstalling this Discord platform from your Linux system.

You can either uninstall it from the software center or use this command in the terminal:

$ sudo apt remove discord


If you have enabled Snap support on your Linux distribution, you can use the following command to install it:

$ sudo snap install discord

If you want to remove it, you can use the snap command to uninstall it:

$ sudo snap remove discord


Install PHP (7.3, 7.2) on Debian 9 Stretch - Step by Step Process ?

This article covers how to install PHP 7.3 on Debian 9 (Stretch) and Debian 8 (Jessie). With PHP 7.3 comes a number of bug fixes, new functionalities and features as well as a number of deprecations.


To Set Default PHP Version on Debian ?

You can set the default PHP version with the below command incase your system has multiple PHP versions. Change php7.3 with the version you want to set as the default PHP version:

$ sudo update-alternatives --set php /usr/bin/php7.3


Install Apache on Debian 9 Server - Step by Step Process ?

This article covers how to install an Apache web server on your Debian 9 server. The Apache HTTP server is the most widely-used web server in the world. It provides many powerful features including dynamically loadable modules, robust media support, and extensive integration with other popular software.


How to Install Apache ?

1. Let's begin by updating the local package index to reflect the latest upstream changes:

$ sudo apt update

2. Then, install the apache2 package:

$ sudo apt install apache2

 After confirming the installation, apt will install Apache and all required dependencies.


The Apache profiles begin with WWW:

1. WWW: This profile opens only port 80 (normal, unencrypted web traffic).

2. WWW Cache: This profile opens only port 8080 (sometimes used for caching and web proxies).

3. WWW Full: This profile opens both port 80 (normal, unencrypted web traffic) and port 443 (TLS/SSL encrypted traffic).

4. WWW Secure: This profile opens only port 443 (TLS/SSL encrypted traffic).


How to Manage Apache Process ?

To stop your web server, type:

$ sudo systemctl stop apache2

To start the web server when it is stopped, type:

$ sudo systemctl start apache2

To stop and then start the service again, type:

$ sudo systemctl restart apache2

If you are simply making configuration changes, Apache can often reload without dropping connections. To do this, use this command:

$ sudo systemctl reload apache2

By default, Apache is configured to start automatically when the server boots. If this is not what you want, disable this behavior by typing:

$ sudo systemctl disable apache2

To re-enable the service to start up at boot, type:

$ sudo systemctl enable apache2

Apache should now start automatically when the server boots again.