Add Nginx Website to Debian/Nginx Server

Add the server Block Add the following configuration block, which is similar to the default, but updated for your new directory and domain name: Enable this server block by creating a symbolic link to your custom configuration file inside the sites-enabled directory, which Nginx reads from during startup:

ERROR 1253 (42000) at line 31: COLLATION ‘utf8mb4_unicode_ci’ is not valid for CHARACTER SET ‘utf8’

Mysql import error was shown when exporting a database from cPanel to a local server. During the migration of a web application, I got the below error while restoring a database on another server. The collation id may differ based on the MySQL version. Error message: The MySQL server running on the new server is … Read more

Zip, Archive and Compress tools in Linux

Here are the different apps in linux for compressing and archiving files. Definitions: Tarball: A tarball is a collection of multiple files in Linux stored as a single file. The term tarball comes from the coal-based sealant used during construction works. A tarball is often simply called a TAR file, which stands for Tape Archive. … Read more