Business inquiries

[email protected]

Sales department

@bithosting_sales

Technical support

@bithosting_tech

📁 How to Install Joomla on VPS: Step-by-Step Guide

Joomla is a powerful and flexible open-source CMS, perfect for corporate websites, portals, and e-commerce. In this guide, you’ll learn how to manually install Joomla on a VPS with Ubuntu using the LAMP or LEMP stack.

📦 Step 1. Prepare the Server

Update your VPS to the latest version:

sudo apt update && sudo apt upgrade -y
  

⚙️ Step 2. Install LAMP or LEMP Stack

For LAMP (Apache):

sudo apt install apache2 mysql-server php php-mysql libapache2-mod-php php-cli php-curl php-xml php-mbstring unzip -y
  

For LEMP (Nginx):

sudo apt install nginx mysql-server php-fpm php-mysql php-cli php-curl php-xml php-mbstring unzip -y
  

📂 Step 3. Create a Database

sudo mysql -u root -p

CREATE DATABASE joomla;
CREATE USER 'joomlauser'@'localhost' IDENTIFIED BY 'securepass';
GRANT ALL PRIVILEGES ON joomla.* TO 'joomlauser'@'localhost';
FLUSH PRIVILEGES;
EXIT;
  

📥 Step 4. Download and Extract Joomla

cd /var/www/
wget https://downloads.joomla.org/cms/joomla4/latest/Joomla_4-Stable-Full_Package.zip
unzip Joomla_4-*.zip -d joomla
chown -R www-data:www-data joomla
chmod -R 755 joomla
  

🌐 Step 5. Configure Virtual Host

Apache:

sudo nano /etc/apache2/sites-available/joomla.conf
  

  ServerName yourdomain.com
  DocumentRoot /var/www/joomla
  
    AllowOverride All
  

  
sudo a2ensite joomla
sudo a2enmod rewrite
sudo systemctl restart apache2
  

🧰 Step 6. Install via Browser

Open your server's IP or domain in a browser and follow the Joomla installer:

📍 Tips from Bit.Hosting

← Back to “CMS and Websites” section

If you face any issues installing Joomla — contact Bit.Hosting support. We’ll help you get everything set up! ✨

BIT.HOSTING

Your path to perfection

Maximum Performance

Stable servers and modern hardware ensure fast and reliable operation of your services.

Ultimate Configuration Flexibility

Support for various OS and control panels lets you tailor your hosting environment to your exact needs.

Affordable Server Prices

We offer some of the most competitive and accessible prices on the market.

24/7 Customer Support

Our experts are here to assist you anytime — with advice, solutions, or technical help around the clock.