Monthly Archive: January 2020

How to create 301 redirect on Nginx & Apache

Sometimes we need to do a 301 redirect on the Apache or Nginx server to direct the old page to the new page, or to move to the preferred domain name. Apache 301 redirect...

How to configure secure SSH in Linux

This article will explain how to modify the default settings of sshd to ensure that sshd is secure and restricted to protect your server from hackers. You need to restart sshd every time you...

[Linux basic] Creating and deleting Linux directories

mkdir command The mkdir used to create one or more directories Example: Create directory: mkdir ddos The above command will create the directory ‘ddos’. Create a directory and set access permissions: mkdir -m 777...

How to use the vi editor in Linux

The vi editor is a standard editor for all Unix and Linux systems. Its power is not inferior to any latest text editor. Here is a brief introduction to its usage and a small...