How to install PHP 7.3 on Ubuntu 20.04

To install PHP 7.3 on Ubuntu 20.04, you’ll need to use a third-party repository since PHP 7.3 is not available in the default Ubuntu repositories. Here are the steps to install PHP 7.3:

  1. Update the package list and install software-properties-common:
sudo apt update
sudo apt install software-properties-common
  1. Add the Ondrej PHP repository, which provides different PHP versions:
sudo add-apt-repository ppa:ondrej/php
  1. Update the package list again after adding the repository:
sudo apt update
  1. Install PHP 7.3 and the necessary modules:
sudo apt install php7.3
sudo apt install php7.3-cli php7.3-fpm php7.3-mysql php7.3-curl php7.3-gd php7.3-mbstring php7.3-xml php7.3-zip
  1. Once the installation is complete, you can check the installed PHP version:
php -v
  1. If you have other PHP versions installed, you can switch between them using the update-alternatives command. For example, to switch to PHP 7.3:
sudo update-alternatives --set php /usr/bin/php7.3
sudo update-alternatives --set phar /usr/bin/phar7.3
sudo update-alternatives --set phar.phar /usr/bin/phar.phar7.3
  1. Restart the PHP-FPM service to apply changes (if you installed php7.3-fpm):
sudo systemctl restart php7.3-fpm

That’s it! You now have PHP 7.3 installed on your Ubuntu 20.04 system.

Step-by-Step Guide: Installing Magento 2 with Docker

How to Set Up a Magento2 Development Environment with Docker on Windows or Mac

Docker is a popular platform that allows you to automate the deployment and management of applications within containers. It provides an efficient way to set up development environments by creating isolated containers with specific configurations. In this article, we will guide you through the process of setting up a development environment using Docker on both Windows and Mac operating systems.

Before we begin, make sure you have Docker installed on your machine. You can download Docker for Windows or Mac from the official Docker website and follow the installation instructions specific to your operating system.

Once Docker is successfully installed, you can proceed with the following steps:

Step 1: Create a Docker container Open your preferred terminal or command prompt and enter the following command:

docker container create -ti --name konnectup -p 80:80 -p 22:22 ubuntu:20.04

This command creates a new Docker container named “konnectup” using the Ubuntu 20.04 image. It also maps host ports 80 and 22 to container ports 80 and 22 respectively, allowing access to web services and SSH.

Step 2: Install Nginx Within the terminal or command prompt, execute the following command to install Nginx:

apt-get install nginx

Nginx is a popular web server and reverse proxy that will be used in our development environment.

Step 3: Install Vim To install the Vim text editor, run the following command:

apt-get install -y vim

Vim is a highly configurable text editor that programmers often use for writing and editing code.

Step 4: Install sudo Enter the command below to install the sudo package:

apt-get install -y sudo

Sudo allows users to execute commands with administrative privileges.

Step 5: Install required packages To install necessary packages and dependencies, run the following command:

sudo apt install lsb-release ca-certificates apt-transport-https software-properties-common -y

This command ensures that the required packages are installed for the subsequent steps.

Step 6: Add PHP repository Execute the following command to add the PHP repository:

sudo add-apt-repository ppa:ondrej/php

This step is necessary to access the latest PHP packages.

Step 7: Install PHP and required extensions Run the following commands to install PHP version 8.2 and its extensions:

sudo apt install php8.2
sudo apt -y install php8.2-fpm
sudo apt -y install php8.2-cli
<... continue installing the remaining PHP extensions as listed in the provided commands ...>

These commands install PHP 8.2 and a comprehensive list of PHP extensions required for most web development projects.

Step 8: Install MariaDB To install the MariaDB database server and client, enter the following command:

apt install mariadb-server mariadb-client -y

MariaDB is a popular open-source relational database management system.

Step 9: Enable MariaDB service To enable the MariaDB service to start automatically on system boot, run the command:

systemctl enable mariadb.service

Enabling the service ensures that MariaDB starts whenever the system boots up.

Step 10: Install Git Execute the following command to install Git:

apt -y install git

Git is a widely used version control system for tracking changes in source code during software development.

Step 11: Install SSH To install the SSH package, run the command:

apt -y install ssh

SSH (Secure Shell) allows secure remote access to the Docker container.

Step 12: Install Elasticsearch Please refer to the link provided for detailed instructions on how to install and configure Elasticsearch on Ubuntu 22.04: Link to Elasticsearch Installation Guide

Step 13: Install Composer Follow the link provided for a quickstart guide on installing Composer 2 on Ubuntu 20.04: Link to Composer Installation Guide

By following these steps, you will have successfully set up a development environment using Docker on your Windows or Mac machine. You can now start developing and testing your applications within the isolated and easily manageable containers provided by Docker. Happy coding!

Installing Composer on Ubuntu 20.04: Quickstart Guide

Introduction: In this guide, we will provide a step-by-step process for installing Composer on an Ubuntu 20.04 server. Composer is a dependency management tool for PHP development, allowing developers to easily manage and install packages required for their projects.

Prerequisites: To follow this guide, you will need access to an Ubuntu 20.04 server with sudo user privileges. Ensure that you have a terminal or SSH connection to the server.

Step 1 — Install Dependencies: Begin by updating the package manager cache and installing the necessary dependencies, including php-cli. Run the following commands:

sudo apt update
sudo apt install php-cli unzip

Step 2 — Download and Install Composer: Navigate to your home directory and retrieve the Composer installer using the curl command:

cd ~
curl -sS -o /tmp/composer-setup.php

Next, verify the integrity of the downloaded installer by comparing its SHA-384 hash with the latest installer’s hash found on the Composer Public Keys / Signatures page. Retrieve the latest signature and store it in a shell variable using curl:

HASH=`curl -sS`

Execute the following PHP code to ensure that the installation script is safe to run:

php -r "if (hash_file('SHA384', '/tmp/composer-setup.php') === '$HASH') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('/tmp/composer-setup.php'); } echo PHP_EOL;"

If the output states “Installer verified,” proceed with the installation. The following command will download and install Composer as a system-wide command named “composer,” located in the directory /usr/local/bin:

sudo php /tmp/composer-setup.php --install-dir=/usr/local/bin --filename=composer

Upon successful installation, you will see output similar to the following:

All settings correct for using Composer

Composer (version X.X.X) successfully installed to: /usr/local/bin/composer
Use it: php /usr/local/bin/composer

Step 3 — Test the Installation: To confirm that Composer is installed correctly, run the following command:


You should see output displaying the Composer logo, version number, and a list of available commands. This confirms that Composer is installed and accessible system-wide.

Conclusion: By following these steps, you have successfully installed Composer on your Ubuntu 20.04 server. Composer provides powerful dependency management capabilities, enabling you to easily manage packages for your PHP projects.

What is Composer and why is it useful for PHP development?

What are the system requirements for installing Composer on Ubuntu 20.04?

How can I check if Composer is already installed on my Ubuntu 20.04 system?

What are the steps to install Composer on Ubuntu 20.04 using the command-line interface?

Are there any alternative methods to install Composer on Ubuntu 20.04?

How can I verify the installation of Composer on Ubuntu 20.04?

How can I update Composer to the latest version on Ubuntu 20.04?

What are some common troubleshooting steps if I encounter issues during the Composer installation on Ubuntu 20.04?

How can I uninstall Composer from my Ubuntu 20.04 system?

Are there any recommended best practices for using Composer in PHP projects?

How to Install MariaDB on Ubuntu: A Step-by-Step Guide

Title: How to Install MariaDB on Ubuntu: A Comprehensive Guide for Professionals

Introduction: This comprehensive guide provides step-by-step instructions on installing MariaDB on a Vultr Ubuntu cloud server. Suitable for professionals, this guide is applicable to Ubuntu 16.04 through Ubuntu 20.10 LTS versions. MariaDB, a robust and feature-rich relational database management system, serves as a drop-in replacement for MySQL.

  1. Deploying Ubuntu Server Before proceeding with the installation, deploy a new instance of the Ubuntu Vultr cloud server. Follow the best practices guides listed below to ensure a secure and optimized setup:
  • Create a sudo user
  • Update the Ubuntu server
  • Switch to the sudo user for the remaining steps
  1. Installing MariaDB To install MariaDB and set it up as a replacement for MySQL, execute the following commands in the terminal:
$ sudo apt install mariadb-server mariadb-client -y

Enable MariaDB to start automatically during system boot with the following command:

$ sudo systemctl enable mariadb.service

To secure the MariaDB installation, run the MySQL Secure Installation script:

$ sudo mysql_secure_installation

During the script execution, respond to the security questions as follows:

  • For the initial root password, press ENTER as there is no password set.
  • When prompted, set a new password for the root account and confirm it.
  • Press ENTER to remove the anonymous user.
  • Disallow remote root logins by pressing ENTER.
  • Press ENTER to remove the test database.
  • Reload the privilege tables by pressing ENTER.
  1. Testing the Installation Ensure the installation was successful by connecting to the MariaDB server as the root user:
$ mysql -u root -p -h localhost

Within the MariaDB client, create a test user and a test database:

> CREATE USER 'test_user'@'localhost' IDENTIFIED BY 'test_pass';
> CREATE DATABASE test_database;

Grant the test user all privileges on the test database:

> GRANT ALL PRIVILEGES ON test_database.* TO 'test_user'@'localhost';

Exit the MariaDB client:

> quit

Conclusion: Congratulations! You have successfully installed MariaDB on a Vultr Ubuntu cloud server. For further information and advanced usage, refer to the official MariaDB documentation.

For more details, visit: Link to official MariaDB documentation

How to Install MariaDB on Ubuntu?

Follow up above steps.

“Unlocking E-commerce Potential: Simplified Guide to Downloading Magento for Your Online Store” Magento Download

 Magento Download: Empowering Your E-commerce Journey


In the rapidly evolving world of e-commerce, selecting the right platform for your online store is crucial. With its robust features and flexibility, Magento has emerged as a popular choice among businesses of all sizes. In this article, we will guide you through the process of downloading Magento, enabling you to harness the power of this leading e-commerce platform and kickstart your online business.

Step 1: Access the Official Magento Website

To begin the download process, visit the official Magento website at The website provides comprehensive information about the platform, its features, and various editions available. Take a moment to explore the different options to ensure you select the edition that aligns with your business requirements.

Step 2: Choose the Edition

Magento offers two primary editions: Magento Open Source (formerly known as Community Edition) and Magento Commerce (previously known as Enterprise Edition). The Open Source edition is free to download and provides a solid foundation for small to medium-sized businesses. On the other hand, the Commerce edition offers advanced features, dedicated support, and additional functionality suitable for larger enterprises. Carefully evaluate your business needs and choose the edition that suits your goals.

Step 3: Create a Magento Account

Before proceeding with the download, you will need to create a Magento account. Simply click on the “Sign In” or “Create Account” button on the website and provide the necessary information. Having an account will enable you to access the download files and receive important updates and notifications from Magento.

Step 4: Access the Download Page

Once you have created an account and signed in, navigate to the download page. Here, you will find the available editions of Magento. Select the desired edition (Open Source or Commerce) and choose the version that corresponds to your project requirements. It is recommended to download the latest stable release to benefit from bug fixes, security patches, and new features.

Step 5: Download Magento

After selecting the appropriate edition and version, click on the download button. The download process will commence, and the Magento installation package will be saved to your computer. The file will typically be in a compressed format (e.g., .zip or .tar.gz), so you may need to extract the files using suitable extraction software.

Step 6: Prepare for Installation

Before proceeding with the installation, ensure that your server meets the system requirements specified by Magento. This includes having a compatible web server (such as Apache or Nginx), PHP version, database (such as MySQL or MariaDB), and other necessary components. Refer to the Magento documentation for detailed system requirements and recommendations.

Step 7: Installation

With the Magento files extracted and your server ready, you can now begin the installation process. Follow the detailed installation instructions provided by Magento, which typically involve configuring the database, setting up the necessary file permissions, and running the installation wizard. Make sure to carefully follow each step to ensure a smooth and successful installation.


By downloading Magento and setting up your e-commerce platform, you are embarking on an exciting journey to establish and grow your online business. Magento’s extensive features, customization options, and scalability make it a trusted solution for thousands of businesses worldwide. Remember to stay up to date with the latest releases and security patches provided by Magento to ensure the optimal performance and security of your online store. Get ready to unlock your e-commerce potential with Magento and take your business to new heights.

Puneet Kumar Magento Developer