Joomla 4

On this page, we explain step by step how to setup Joomla 4 with CloudPanel.

Installation

In the following example we will setup Joomla under the domain www.domain.com.

Preparation

Before we can start with the installation, we need to create an SSH User, a Database, and a Domain.

When you Add the Domain, make sure to select the Joomla 4 Vhost Template and the right PHP Version.



Installation

To install Joomla do the following steps:

  1. Login via SSH to the server e.g. with john-ssh and go to the users tmp directory:
cd ~/tmp
  1. Download and extract the latest Joomla 4 version.
mkdir ~/tmp/joomla-4 && curl -sL https://downloads.joomla.org/cms/joomla4/4-0-3/Joomla_4-0-3-Stable-Full_Package.tar.gz | tar xfz - -C ~/tmp/joomla-4/
  1. Move files to the htdocs directory of the domain:
cp -R joomla-4/* /home/cloudpanel/htdocs/www.domain.com/
  1. Reset permissions.
cd /home/cloudpanel/htdocs/
clpctl system:permissions:reset www.domain.com 775
  1. Clean up the tmp directory.
rm -rf ~/tmp/*
  1. Open your domain in the browser and go through the installation wizard.
  1. Done! Joomla 4 is now installed.