How to Install Ubuntu 22.04 Virtual Machine on KVM
Install a virtual machine with Ubuntu 22.04 on KVM. Get all necessary for installation parameters from the Ubuntu image file. Configure networking.
How to Install KVM on Ubuntu 22.04 Server
Install KVM packages on Ubuntu 22.04 Server. Configure network Interfaces. Install on a VirtualBox virtual machine if you’d like to try it first.
[VirtualBox] Configure an Ubuntu 22.04 / 20.04 Virtual Machine for Web Development (Complete Guide)
Create and configure Ubuntu 22.04 / 20.04 VirtualBox virtual machines, configure networking, install Guest Additions, share folders, optimize performance, etc.
How to Provide SMTP Email Functionality for the Official Docker WordPress Image
Add SMTP mail functionality to the official Docker WordPress image. See 2 examples of adding Postfix to Wordpress in a separate container. Learn how to add Postfix to the same container with a Dockerfile. Learn how to set DNS/rDNS records to increase outbound mail deliverability.
How to Add XDebug to the Official Docker WordPress Image
Use a Dockerfile to add XDebug to the official Docker WordPress image. Do not want to build? Use a pre-made image from a repository on Docker Hub. Also, see how to configure PhpStorm for debugging. And finally, learn how to separate production and development environments using multiple docker-compose files.
How to Get Country By IP Address in PHP on Ubuntu 22.04
We’ll be using the GeoIP2 PHP library from Maxmind. They have 2 versions: free and paid. We’ll be using the free version here. Please notice: The other solution (to get your visitors country from their IP address), would be to use an external service. For example, geoplugin.com. Please see this post for a detailed solution. […]
How to Copy Files and Directories Between Linux Servers
We will use the command scp to copy files and directories between servers. Contents Copy a File Copy a Directory Copy a File Suppose, you have a file /path/to/file.dump.gz on a source server. And you need to copy it to a destination server. 1. On the destination server, go to the directory where the file […]
How to Keep a Bash Script Running After the Putty Terminal Gets Closed
To keep your script running after the Putty terminal gets closed, you need to detach the session in which the script is running. A simple way to detach a session is to use the command screen. Contents 1. Use the Command screen 1.1 How to Install screen? 1.2 How to Use screen? 2. Other Solutions […]
How to Create a Simple Mail Forwarder in 2023
Craete a mail forwarder in a Docker container. Should be a quick and simple solution.
How to Make MySQL 8 Compatible With Older MySQL Versions
Make MySQL 8 compatible with old MySQL versioins. Make passwords compatible, deal with errors. See some examples of setting SQL Modes in MySQL 8.
[WordPress] How to Add Colors to Color Palette in Gutenberg Block Editor in 2023
Shows how to add colors in Gutenberg (WordPress) to the default core color palette (in a theme or a plugin).
11 Settings to Simplify Work In PhpStorm in 2023
PhpStorm has a lot of great settings simplifying the developer’s work. But some very convenient settings are turned off by default. On the other hand, some rarely used ones are turned on by default. You can change some default settings to make your work in PHP faster.