Auto start Next.js with supervisor
I want to start Next.js development server on my computer when it starts. Usually, this is done using pm2, I wanted to…
I want to start Next.js development server on my computer when it starts. Usually, this is done using pm2, I wanted to…
You can start Next.js development server with the command npm run dev This will start the development server on port 3000. boby@sok-01:/www/learn/nextjs/todo…
I have 2 servers behind NAT, so they share the same IP address, SSH service runs on two different ports. Here is…
mcrypt is a PHP module, that was DEPRECATED in PHP 7.1.0, and REMOVED in PHP 7.2.0. mcrypt is removed from PHP, now…
On a CentOS server, cronjob did not work. Checking the log file found the following error message in /var/log/cron Oct 24 18:35:01…
On a MySQL server, the error log keeps getting the following error message 221024 17:50:03 InnoDB: ERROR: the age of the last…
Cloudflare provides a way to block bad bots under If you want to block one bots that is allowed, you can block…
I wanted to block bots from accessing a website. For this, I need to generate a list of all browser User-Agent visiting…
To block bots by User-Agent in Nginx, add the following to the server entry of the website. Restart Nginx To block acces…
If you forget the root password of a Hetzner dedicated server, you need to boot the server into rescue mode, then mount…
On a Fresh Cpanel Server, after pointing the domain name to the server, the website won’t load. Some times site loads after…
By default Amazon EC2 only allow port 22 (SSH) on Linux servers and port 3389 (RDP) on Windows Instances. All other ports…