Linux

Latest update about Linux News, Tips and Tricks

How To Install PHP 8.0 on Amazon Linux 2

PHP 8.0 is a major release of the PHP programming Language mostly used in the Development of Web Applications. It is the stable release and you can plan to migrate your applications but being aware that some could break especially where old features are deprecated. In this article we will cover …

Read More »

How To Deploy Droplet on DigitalOcean With Terraform

Hello good people. In today’s blog post we will be showing you how to create a Droplet in DigitalOcean using Terraform. Terraform is an IaC and automation software tool created to enable Developers and SysAdmins to define and provision data center infrastructure using a declarative configuration language known as HashiCorp …

Read More »

How To Install PHP 8 on Arch Linux | Manjaro

PHP 8 was released on November 26, 2020 and is ready for download and use in your Applications development journey. PHP 8.0 is a major update of the PHP language with many new features, optimizations which includes named arguments, union types, attributes, constructor property promotion, match expression, nullsafe operator, JIT, …

Read More »

Rsync command for data transfer and sync

Rsync (Remote Sync) is a fast and versatile command-line tool for synchronizing files and folders between two locations via a remote shell, or to a remote rsync daemon. Rsync allows incremental file transfers by only transferring the differences between source and destination locations. Rsync can be used to mirror data, …

Read More »

How to install Rancher Docker Container Manager on CentOS

Install Docker on CentOS 7

Rancher is an open source container management platform. This allows you to easily run and manage Docker and Kubernetes. Rancher provides infrastructure services such as multi-host networking, load balancing, and volume snapshots. In this tutorial, I’ll walk you through installing and configuring a Rancher and Proxy server step-by-step on a …

Read More »

How to sort du -h command based on file size

In the GNU Coreutils package> = 7.5, command sort Provides the -h parameter which allows easy reading of numbers of this size (eg 10K 15M 1G etc.). Helps compare and shorten “du -h” results. du -h * | sort -h The above results will appear in descending order. You can …

Read More »

How to configure a firewall with FirewallD on CentOS 7

Firewall services

A properly configured firewall is one of the most important aspects of system security overall. FirewallD is a complete firewall solution for managing iptables rule system and provides D-Bus interface to run. Starting with CentOS 7, FirewallD has replaced iptables as the default firewall management tool. In this tutorial, we’ll …

Read More »

How to change permissions for folders and subfolders

Setting the appropriate file permissions for any web application is a vital part of web hosting. In this tutorial, you will learn how to frequently change file permissions on folders and subfolders in one command. As we know, in Linux everything is treated as a. Folders are also known as …

Read More »

How to configure Nginx Server Block on CentOS 7

CentOS Server

Server Blocks Nginx allows you to run more than one website on a single server. With Server Blocks, you can define the root of the site document (the directory that contains the website files), create separate security policies for each site, use a different SSL certificate for each site and …

Read More »

Basic commands for managing Nginx services

Error outputting nginx configuration

Pronounced “engine x”, Nginx is the best free, open source, and high-performance reverse proxy server program responsible for handling the loads of some of the largest sites on the Internet. Nginx can be used as both a standalone web server and a reverse proxy for Apache and other web servers. …

Read More »