imagemagick for bulk image editing

Install imagemagick on ubuntu Display image with imagemagick Get image file info Crop image from top Take image width*height+right+top. The following command will crop the image from the top by 140px. Bulk Image crop with imagemagick by file type All the .jpg images will be cropped by 140px from the top. Convert images from png […]

How to Create & Delete File with Command Line on Windows

This post covers how to create and delete files with command line also called cmd on Windows OS. I am using Windows 10 but these commands should work on Windows 7, windows 8 and windows 11 too. Create an empty file with desired filename and file extension Echo with command line in a file echo […]

PHP APCu and Redis Cache for WordPress

I will show you how to install and configure APCu and Redis memory caching on linux server —– Commands to Install and configure APCu and Redis ———- Step 1: Install APCu and Redis.           sudo apt install php-apcu redis-server php-redis           sudo service apache2 restart Step 2: Edit the configuration file.           sudo nano /etc/redis/redis.conf – Ctrl+w to […]

Install wp cli on Linux – Ubuntu & Linuxmint

Let’s quickly install wp cli on Debian based Linux distro called Linuxmint. I assume that you have already installed WordPress with PHP, MySQL and web-server (apache2 or other). PHP, Apache2, and MySQL Version This is how you check versoins of apache2, php, and mysql installed on my Linuxmint desktop. WordPress for wp-cli I have installed […]

How to Install Drupal 9 on Ubuntu, Debian, or LinuxMint

Recently, I upgraded my Ubuntu to 20.04 on my Dell laptop, after upgrade, I had to reinstall PHP 7.4, Apache2.4, MySQL 8 and WordPress and Drupal 9 locally on my Ubuntu Laptop. So, thought of creating this post to help others too, with this quick handy guide and my straight forward approach. There are two […]