Author: Nam Phong

How to delete regularly expired files in Linux

How to delete regularly expired files in Linux

When managing files under Linux, we usually have the need to periodically delete expired files. For example, periodically delete log files that exceed a specified time. Otherwise, the longer it takes, the more space...

How to change MySQL password

How to change MySQL password

Changing the MySQL password often needed to manage web servers. The MySQL administrator account is root by default, and the password is blank. mysqladmin command to change the root password If you have never...

How to custom 404 page on Nginx

How to custom 404 page on Nginx

Customizing the nginx 404 error page is a detail to improve the user experience. You can set the error page for each site separately, or you can set a global 404 page. To custom...

How to configure secure SSH in Linux

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

[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

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...

Linux kernel 5.3 ended support

Linux kernel 5.3 ended support

Last week, Linux kernel developer Greg Kroah-Hartman announced the 18th maintenance update, Linux kernel 5.3.18 for the Linux 5.3 kernel series. This version changed a total of 59 files, inserting 369 items/removing 329 items....