Install a virtual machine with Ubuntu 22.04 on KVM. Get all necessary for installation parameters from the Ubuntu image file. Configure networking.
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.
Create and configure Ubuntu 22.04 / 20.04 VirtualBox virtual machines, configure networking, install Guest Additions, share folders, optimize performance, etc.
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.
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.
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. […]
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 […]
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 […]
Craete a mail forwarder in a Docker container. Should be a quick and simple solution.
Make MySQL 8 compatible with old MySQL versioins. Make passwords compatible, deal with errors. See some examples of setting SQL Modes in MySQL 8.
Shows how to add colors in Gutenberg (WordPress) to the default core color palette (in a theme or a plugin).
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.