Inotify file watch limit error fix

On Linux, sometimes we get following error while trying to run Hot Module Replacement (HMR) server such as Vite; This type of error appears when our system has low inotify file watch limit e.g., 8,192. Linux systems usually keep the limit low due to memory consumption considerations. When we run ‘npm run dev‘ command in … Read more

Uninstall MySQL and Install MariaDB 10.7 on Ubuntu 18.04

While considering to install MySQL on Ubuntu 18.04 one should look into a couple of caveats – first, the Ubuntu 18.04 repositories contain the old MySQL version i.e. 5.7; second, people often prefer to move away from MySQL which is now controlled by Oracle Corporation and install MariaDB, which is the fork of MySQL and … Read more

Install Node.js using NVM on Ubuntu

In this tutorial we’ll learn to install Node.js using NVM (Node Version Manager) on Ubuntu (or any Debian based Linux). Here, we’ve used Ubuntu 18.04 but these instructions should work in other versions too. Usually default versions in Linux distro repositories are old ones. Using NVM we can install latest versions of Node.js and can … Read more

Deployment of Laravel app on DigitalOcean / Ubuntu server

In this tutorial, we’ll learn how to deploy Laravel 8 app on DigitalOcean droplet. This tutorial assumes that you have already set up the droplet server using Ubuntu 18.04 LTS (any other Ubuntu version should do just fine) and installed MySQL, Nginx, PHP7.4 (Laravel 8 requires PHP 7.3+ version) along with Composer. And you’ve ssh’d … Read more

Laravel development environment on MX Linux from repositories

In this article we’ll setup Laravel 8 development environment onto MX Linux box. Since MX Linux is based on Debian, the instructions herein, though untested, may still be valid for any Debian based Linux. Unlike previous article where we used Bitnami Lamp bundled software, here we’ll use repositories to individually install all the components required … Read more

Laravel 8 development setup in MX Linux

In this article we’ll setup Laravel development environment in MX Linux. But why MX Linux? The simple answer is: ‘It works’. If you happen to visit distrowatch.org then you’ll get yet another reason: ‘It tops’ the good ole chart. Believe me I’ve tested and used dozens of Linux distros but MX Linux really shines as … Read more