This problem is caused by the way Gatsby.js works, generates static files, and optimizes photos, which easily exceeds the defined Listen limit for the number of files that the Linux OS monitors per directory.
Namely, the Linux OS uses Listen inotify to monitor file changes in directories. Therefore,...
Download Google Fonts from:
github.com
Create a .fonts directory in home using the terminal and the command:
mkdir ~/.fonts Unzip the contents of the downloaded file (approx. 350MB) into the newly created .fonts directory with the command:
cd ~/.fonts; unzip ~/Downloads/master.zip Regenerate the...
SWAP is virtual memory outside of installed physical memory (RAM).
Check the system to see if SWAP information already exists:
free -h sudo swapon --show Check free space on the partition:
df -h Create a SWAP file:
sudo fallocate -l 1G /swapfile sudo chmod 600 /swapfile SWAP file permission check:...
Can I set symbolic link permissions under Linux / UNIX? How can I change symbolic link permissions?
No, you can not. If you try to execute the chmod command on a symbolic link, it will return with an error. Changing ‘filename’ permissions: Operation not allowed. This is quite logical...
How can I create a new MySQL user and assign permissions in the AWS RDS cloud service from the Linux command line?
MySQL is a free open-source database. Many sites on the Internet use MySQL along with Python, Perl, PHP, and other server-side programming languages. AWS offers a managed MySQL service...
What is mod_rewrite? The mod_rewrite module uses a rule-based overwriting mechanism and a regular PCRE parser to rearrange the requested URLs upon request. By default, mod_rewrite maps the URL to the file system path. However, it can also be used to redirect one URL to another URL or to invoke an...
See the name of the database used by WP. You can find the database name in the wp-config.php file or you can use the command
grep DB_NAME wp-config.php We are interested in this line
define( 'DB_NAME', 'wpdatabase' ); Once we find out the name of the database we need to connect to it...
Set up an Ubuntu / Debian Linux server and connect to it via an SSH root user or run the command
sudo su which will switch you to the root user so that they can execute command
apt update && sudo apt upgrade -y Odoo uses PostgreSQL so we need to install it
apt install postgresql -y To be...
What is phpMyAdmin? phpMyAdmin is a free software tool written in PHP, designed to manage MySQL over the Internet. phpMyAdmin supports a wide range of operations on MySQL and MariaDB databases. Frequently used operations (managing databases, tables, columns, relationships, indexes, users,...
What is LAMP? LAMP is an archetypal model of a set of web services, named as an abbreviation of the names of its original four open components: the Linux operating system, the Apache HTTP server, the MySQL relational database management system (RDBMS), and the PHP programming language.
LAMP is the...
You have set the CDN and you have a problem with the fonts, here is the solution.
Apache Add this block to the .htaccess file and the htaccess.conf file at the very beginning
<FilesMatch ".(eot|otf|ttf|woff|woff2)"> Header set Access-Control-Allow-Origin "*" </FilesMatch>...
If you are running your own Linux-driven VPS, you are probably using MySQL for your databases. This article is a small reminder of the various commands for managing MySQL databases using mysqldump, mysql, and mysqlimport commands in Linux.
How to back up MySQL database? To back up a MySQL database...