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

cwp wp panel 736x469 - 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 736x491 - 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 736x196 - 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...

image 41 692x491 - cPanel information disclosure via env.cgi file

cPanel information disclosure via env.cgi file

CGI Environment Variables are used to display information when debugging applications or to pass that information to another script. If you search google for “env.cgi” you will find thousands of files that disclose sensitive information...

image 16 - DadaMail Error: SQL Server Connection

DadaMail Error: SQL Server Connection

After installing DadaMail via Softaculous auto-installer on cPanel the application is not accessible: DadaMail application error log file can be found at as discussed here grep errors.txt cgi-bin/APPLICATION_FOLDER/DADA/Config.pm Inside that error...

postgre db backup script 736x491 - Postgres DB backup script

Postgres DB backup script

To export a postgres database We use the pg_dump command: pg_dump -U postgres -v DATABASE -f FILENAME.sql And to import it back we use psql: psql -U postgres -W -d "FILENAME.sql" < FILENAME.sql Now that we know these commands We can easily create...