Linux

Linux is a family of open-source Unix-like operating systems based on the Linux kernel. Some of the most popular Linux distributions include Debian, Fedora, and Ubuntu.

www.linux.org

MobaXterm Personal 20.3 ByCOPcuqOk - Postfix Configuration settings to prevent incoming SPAM

Postfix Configuration settings to prevent incoming SPAM

In this post, I’ll share the configuration file I use for Postfix installations and highlight some of the directives I use to combat incoming SPAM. If you want to use it, go ahead. nano /etc/postfix/main.cf nano /etc/postfix/main.cf...

image 82 - Flush nscd DNS cache

Flush nscd DNS cache

name service cache daemon (nscd) cache is persistent by default on CentOS 7, to flush it, you need to run: nscd -i hosts -i stands for invalidate. You can also check if nscd‘s cache is persistent by running nscd -g...

image 79 - Change MySQL data directory in PHPMyAdmin

Change MySQL data directory in PHPMyAdmin

In a recent article, I discussed many methods for removing the large ibdata file, one of which involves transferring the MySQL data directory to a different partition. However, if you do so, you must also inform PHPMyAdmin of the location of the...

image 31 - Whitelist Dynamic IP in CSF and cPanel

Whitelist Dynamic IP in CSF and cPanel

In this guide I will use cPanel’s Dynamic DNS feature to create a subdomain, then add that subdomain to CSF to automatically whitelist each IP that calls the URL. #1 Create Dynamic DNS In cPanel go to Dynamic DNS and create a new subdomain...

image 120 - Max retries has been reached, 503!

Max retries has been reached, 503!

503 Service Unavailable error on a shop hosted on shared cPanel server, apache error log: tail /usr/local/apache/logs/error_log 2022-04-29 11:04:21.728438 [T0] [31.32.33.34:49768-H3:3D8F707E6843B0DF-0#APVH_XXXXXX.com:443] Max retries has been...

image 34 - MySQL: 6 ways to move data from huge ibdata file to .ibd files

MySQL: 6 ways to move data from huge ibdata file to .ibd files

ibdata file is used to store all tables of databases that use the innoDB engine, so if you delete it, you will lose all data. To keep each database files in a separate file add innodb_file_per_table in your my.cnf file under [mysqld] section. Here...

cwp wp panel - How to Install WordPress in Control Web Panel (CWP)

How to Install WordPress in Control Web Panel (CWP)

In this guide, I will be setting up CWP on a small VPS, then install WordPress. This process consists of: Installing CWPSetting up CSFChange Default package limitsSet a custom PHP versionCreate a new accountCreate MySQL database and userInstall...

image 75 - Increase file size and number of uploads limits in PHP

Increase file size and number of uploads limits in PHP

Here I will cover two approaches to increase file size and number of uploads limits in PHP: using the .htaccess fileusing the php.ini Why you should use .htaccess file As always, I recommend utilizing the. htaccess file because the directives will...

image 18 - logrotate usage with examples

logrotate usage with examples

For logrotate we create a configuration file inside /etc/logrotate.d/ directory and check if there is a logrotate file in /etc/cron.hourly/ – if not copy it from cron.daily Apache EXAMPLE 1: logrotate file that will only rotate a single file...

image 17 - Exclude ai1wm-backup folder from Softaculous backups

Exclude ai1wm-backup folder from Softaculous backups

For WordPress websites that use both Softaculous backups and AllInOne Migration plugin backups, Softaculous backups include the .wpress files created by the ai1wm plugin and therefore this will significantly increase the size of Softaculous...