Skip to content
Follow
CMS

How to install Concrete CMS with Nginx on Ubuntu 24.04

Richard
Written by
Richard
Jun 5, 2024 Updated Jul 11, 2026 8 min read
Concrete CMS featured image
Concrete CMS featured image

Setup Let’s Encrypt SSL/TLS for Concrete

Set up Let’s Encrypt SSL/TLS for your Concrete CMS site to protect visitor data and ensure a trustworthy connection. This guide explains how to set up HTTPS for your site using Nginx on Ubuntu, making your website safe for everyone.

Keeping your Concrete CMS site secure is important, so let’s set up an SSL/TLS certificate using Let’s Encrypt with Nginx on Ubuntu. This process encrypts the connection between your visitors and your website, making it safe. We’ll guide you through the steps to get HTTPS working.

Please read the post below for additional resources on installing and creating Let’s Encrypt SSL certificates for Nginx.

How to set up Let’s Encrypt SSL certificate for Nginx on Ubuntu Linux

Once you have restarted the Nginx web server, open your browser and browse to the server hostname or IP address defined in the Nginx server block.

💻Code
http://concrete.example.com

A Concrete installation wizard page should appear. Select the installation language and continue to the next page.

Concrete installation wizard select language
Concrete installation wizard select language

Confirm all requirements are met and continue.

Concrete installation wizard requirements
Concrete installation wizard requirements

You will enter your chosen site name, the database name you created earlier, your administrator account name, and the password for that account, then click the "Install Concrete CMS" button. This action completes the Concrete CMS installation process on your Ubuntu 24.04 server.

Concrete installation wizard account and database connection
Concrete installation wizard account and database connection

Your Concrete site should be set up and ready to use.

Concrete CMS installation wizard completion screen
Concrete CMS installation wizard completion screen

That should do it!

Conclusion

You have now successfully set up Concrete CMS on Ubuntu 24.04 using Nginx and MariaDB. This guide covered installing Nginx for performance, setting up MariaDB for data storage, and configuring PHP-FPM, ensuring your Concrete CMS site is ready to go live.

You’ve now successfully set up Concrete CMS on Ubuntu using Nginx and MariaDB. This guide covered installing Nginx for better performance, setting up MariaDB for reliable data storage, and configuring PHP-FPM. Following these steps ensures your Concrete CMS site is ready to go.

    • Installing Nginx as the web server improves performance, security, and efficiency when hosting Concrete CMS.

    • Integration with the MariaDB database server ensures reliable data storage for the Concrete application.

    • PHP-FPM installation allows for seamless execution of the PHP-based Concrete CMS.

    • Securing the Concrete site with Let’s Encrypt SSL/TLS certificates enhances its security and user trust.

Feel free to utilize the comments section for any feedback, suggestions, or further assistance.

Download Concrete files

Download the Concrete CMS files onto your Ubuntu server to continue setting up your website. You can get the latest version directly from the official Concrete website and place them in the correct folder for Nginx to use.

Now it’s time to get the Concrete CMS files onto your Ubuntu server. You can download the latest version directly from the Concrete website. We’ll show you how to download the files to a temporary directory and then move them to the correct folder for Nginx.

To always install the latest version, check the Concrete’s download page. If a new version is available, replace the version number in the link below.

First, navigate to the /tmp/ directory and download Concrete files. After unzipping the file, move the content into the Concrete folder in the Nginx root directory.

Finally, change file permissions. This allows the Nginx web server to interact safely with your Concrete files, creating a secure environment.

Command Prompt
cd /tmp
wget --trust-server-names https://www.concretecms.org/application/files/6517/1693/2287/concrete-cms-9.3.2.zip
unzip concrete-*.zip
sudo cp -rf concrete-cms-9.3.2 /var/www/concrete
sudo chown -R www-data:www-data /var/www/concrete

Once you have completed all the above steps, continue configuring the Nginx web server below to serve the Concrete content.

Run the commands below to create a Nginx server block file for Concrete.

🐧Bash / Shell
sudo nano /etc/nginx/sites-available/concrete.conf

Then, copy and paste the content block below into the Nginx server block.

🐘PHP
server {
    listen 80;
    listen [::]:80;
    root /var/www/concrete;
    index  index.php;
    server_name  concrete.example.com;

    access_log /var/log/nginx/access.log;
    error_log /var/log/nginx/error.log;

    location / {
        try_files $uri $uri/ /index.php?$args;
    }

    location ~ .php$ {
         include snippets/fastcgi-php.conf;
         fastcgi_pass unix:/var/run/php/php8.3-fpm.sock;
         fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
         include fastcgi_params;
    }
}

Save the file.

You can enable the Concrete CMS virtual host and restart the Nginx server by running the commands you see below. This step makes the Nginx web server start using the new configuration file, which Concrete CMS needs to work correctly.

🐧Bash / Shell
sudo ln -s /etc/nginx/sites-available/concrete.conf /etc/nginx/sites-enabled/
sudo systemctl restart nginx.service

Setup Let’s Encrypt SSL/TLS for Concrete

Set up Let’s Encrypt SSL/TLS for your Concrete CMS site to protect visitor data and ensure a trustworthy connection. This guide explains how to set up HTTPS for your site using Nginx on Ubuntu, making your website safe for everyone.

Keeping your Concrete CMS site secure is important, so let’s set up an SSL/TLS certificate using Let’s Encrypt with Nginx on Ubuntu. This process encrypts the connection between your visitors and your website, making it safe. We’ll guide you through the steps to get HTTPS working.

Please read the post below for additional resources on installing and creating Let’s Encrypt SSL certificates for Nginx.

How to set up Let’s Encrypt SSL certificate for Nginx on Ubuntu Linux

Once you have restarted the Nginx web server, open your browser and browse to the server hostname or IP address defined in the Nginx server block.

💻Code
http://concrete.example.com

A Concrete installation wizard page should appear. Select the installation language and continue to the next page.

Concrete installation wizard select language
Concrete installation wizard select language

Confirm all requirements are met and continue.

Concrete installation wizard requirements
Concrete installation wizard requirements

You will enter your chosen site name, the database name you created earlier, your administrator account name, and the password for that account, then click the "Install Concrete CMS" button. This action completes the Concrete CMS installation process on your Ubuntu 24.04 server.

Concrete installation wizard account and database connection
Concrete installation wizard account and database connection

Your Concrete site should be set up and ready to use.

Concrete CMS installation wizard completion screen
Concrete CMS installation wizard completion screen

That should do it!

Conclusion

You have now successfully set up Concrete CMS on Ubuntu 24.04 using Nginx and MariaDB. This guide covered installing Nginx for performance, setting up MariaDB for data storage, and configuring PHP-FPM, ensuring your Concrete CMS site is ready to go live.

You’ve now successfully set up Concrete CMS on Ubuntu using Nginx and MariaDB. This guide covered installing Nginx for better performance, setting up MariaDB for reliable data storage, and configuring PHP-FPM. Following these steps ensures your Concrete CMS site is ready to go.

    • Installing Nginx as the web server improves performance, security, and efficiency when hosting Concrete CMS.

    • Integration with the MariaDB database server ensures reliable data storage for the Concrete application.

    • PHP-FPM installation allows for seamless execution of the PHP-based Concrete CMS.

    • Securing the Concrete site with Let’s Encrypt SSL/TLS certificates enhances its security and user trust.

Feel free to utilize the comments section for any feedback, suggestions, or further assistance.

Install PHP-FPM on Ubuntu Linux

Install PHP-FPM on Ubuntu Linux to help Concrete CMS run efficiently. PHP-FPM is necessary for Concrete CMS to work, and you can install all the required PHP components with just one simple command in your terminal.

Concrete CMS relies on PHP, so you’ll need PHP-FPM to run it on Ubuntu. This guide will show you how to install the necessary PHP components, including PHP-FPM. Just run the command below in your terminal to install everything you need.

Run the commands below to install PHP-FPM.

🐧Bash / Shell
sudo apt install php-fpm php-intl php-mysql php-curl php-cli php-zip php-xml php-gd php-common php-mbstring php-xmlrpc php-json php-sqlite3 php-soap php-zip

Additional help on installing PHP

How to install PHP on Ubuntu Linux

Download Concrete files

Download the Concrete CMS files onto your Ubuntu server to continue setting up your website. You can get the latest version directly from the official Concrete website and place them in the correct folder for Nginx to use.

Now it’s time to get the Concrete CMS files onto your Ubuntu server. You can download the latest version directly from the Concrete website. We’ll show you how to download the files to a temporary directory and then move them to the correct folder for Nginx.

To always install the latest version, check the Concrete’s download page. If a new version is available, replace the version number in the link below.

First, navigate to the /tmp/ directory and download Concrete files. After unzipping the file, move the content into the Concrete folder in the Nginx root directory.

Finally, change file permissions. This allows the Nginx web server to interact safely with your Concrete files, creating a secure environment.

Command Prompt
cd /tmp
wget --trust-server-names https://www.concretecms.org/application/files/6517/1693/2287/concrete-cms-9.3.2.zip
unzip concrete-*.zip
sudo cp -rf concrete-cms-9.3.2 /var/www/concrete
sudo chown -R www-data:www-data /var/www/concrete

Once you have completed all the above steps, continue configuring the Nginx web server below to serve the Concrete content.

Run the commands below to create a Nginx server block file for Concrete.

🐧Bash / Shell
sudo nano /etc/nginx/sites-available/concrete.conf

Then, copy and paste the content block below into the Nginx server block.

🐘PHP
server {
    listen 80;
    listen [::]:80;
    root /var/www/concrete;
    index  index.php;
    server_name  concrete.example.com;

    access_log /var/log/nginx/access.log;
    error_log /var/log/nginx/error.log;

    location / {
        try_files $uri $uri/ /index.php?$args;
    }

    location ~ .php$ {
         include snippets/fastcgi-php.conf;
         fastcgi_pass unix:/var/run/php/php8.3-fpm.sock;
         fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
         include fastcgi_params;
    }
}

Save the file.

You can enable the Concrete CMS virtual host and restart the Nginx server by running the commands you see below. This step makes the Nginx web server start using the new configuration file, which Concrete CMS needs to work correctly.

🐧Bash / Shell
sudo ln -s /etc/nginx/sites-available/concrete.conf /etc/nginx/sites-enabled/
sudo systemctl restart nginx.service

Setup Let’s Encrypt SSL/TLS for Concrete

Set up Let’s Encrypt SSL/TLS for your Concrete CMS site to protect visitor data and ensure a trustworthy connection. This guide explains how to set up HTTPS for your site using Nginx on Ubuntu, making your website safe for everyone.

Keeping your Concrete CMS site secure is important, so let’s set up an SSL/TLS certificate using Let’s Encrypt with Nginx on Ubuntu. This process encrypts the connection between your visitors and your website, making it safe. We’ll guide you through the steps to get HTTPS working.

Please read the post below for additional resources on installing and creating Let’s Encrypt SSL certificates for Nginx.

How to set up Let’s Encrypt SSL certificate for Nginx on Ubuntu Linux

Once you have restarted the Nginx web server, open your browser and browse to the server hostname or IP address defined in the Nginx server block.

💻Code
http://concrete.example.com

A Concrete installation wizard page should appear. Select the installation language and continue to the next page.

Concrete installation wizard select language
Concrete installation wizard select language

Confirm all requirements are met and continue.

Concrete installation wizard requirements
Concrete installation wizard requirements

You will enter your chosen site name, the database name you created earlier, your administrator account name, and the password for that account, then click the "Install Concrete CMS" button. This action completes the Concrete CMS installation process on your Ubuntu 24.04 server.

Concrete installation wizard account and database connection
Concrete installation wizard account and database connection

Your Concrete site should be set up and ready to use.

Concrete CMS installation wizard completion screen
Concrete CMS installation wizard completion screen

That should do it!

Conclusion

You have now successfully set up Concrete CMS on Ubuntu 24.04 using Nginx and MariaDB. This guide covered installing Nginx for performance, setting up MariaDB for data storage, and configuring PHP-FPM, ensuring your Concrete CMS site is ready to go live.

You’ve now successfully set up Concrete CMS on Ubuntu using Nginx and MariaDB. This guide covered installing Nginx for better performance, setting up MariaDB for reliable data storage, and configuring PHP-FPM. Following these steps ensures your Concrete CMS site is ready to go.

    • Installing Nginx as the web server improves performance, security, and efficiency when hosting Concrete CMS.

    • Integration with the MariaDB database server ensures reliable data storage for the Concrete application.

    • PHP-FPM installation allows for seamless execution of the PHP-based Concrete CMS.

    • Securing the Concrete site with Let’s Encrypt SSL/TLS certificates enhances its security and user trust.

Feel free to utilize the comments section for any feedback, suggestions, or further assistance.

Create a Concrete database

Create a dedicated database for your Concrete CMS after setting up MariaDB. This guide shows you how to create a database named ‘concretedb’ and a user called ‘concretedbuser’ for it, giving your Concrete CMS a secure place for its website data.

After setting up MariaDB, you need to create a specific database for your Concrete CMS installation. We’ll create a database named ‘concretedb’ and a user called ‘concretedbuser’ for it. This step ensures Concrete has a dedicated place to store all its data.

As part of the setup, we will create a concretedb database and a corresponding user account called concretedbuser.

Finally, we’ll grant the concretedbuser full access to the concretedb database.

Perform these database steps using the commands below:

But first, log on to the MariaDB database server:

🐧Bash / Shell
sudo mariadb

Then run the commands below to complete the steps:

💻Code
CREATE DATABASE concretedb CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;
CREATE USER concretedbuser@localhost IDENTIFIED BY 'type_your_password_here';
GRANT ALL ON concretedb.* TO concretedbuser@localhost WITH GRANT OPTION;
FLUSH PRIVILEGES;
exit

Ensure to replace ‘type_your_password_here ‘with your password.

Install PHP-FPM on Ubuntu Linux

Install PHP-FPM on Ubuntu Linux to help Concrete CMS run efficiently. PHP-FPM is necessary for Concrete CMS to work, and you can install all the required PHP components with just one simple command in your terminal.

Concrete CMS relies on PHP, so you’ll need PHP-FPM to run it on Ubuntu. This guide will show you how to install the necessary PHP components, including PHP-FPM. Just run the command below in your terminal to install everything you need.

Run the commands below to install PHP-FPM.

🐧Bash / Shell
sudo apt install php-fpm php-intl php-mysql php-curl php-cli php-zip php-xml php-gd php-common php-mbstring php-xmlrpc php-json php-sqlite3 php-soap php-zip

Additional help on installing PHP

How to install PHP on Ubuntu Linux

Download Concrete files

Download the Concrete CMS files onto your Ubuntu server to continue setting up your website. You can get the latest version directly from the official Concrete website and place them in the correct folder for Nginx to use.

Now it’s time to get the Concrete CMS files onto your Ubuntu server. You can download the latest version directly from the Concrete website. We’ll show you how to download the files to a temporary directory and then move them to the correct folder for Nginx.

To always install the latest version, check the Concrete’s download page. If a new version is available, replace the version number in the link below.

First, navigate to the /tmp/ directory and download Concrete files. After unzipping the file, move the content into the Concrete folder in the Nginx root directory.

Finally, change file permissions. This allows the Nginx web server to interact safely with your Concrete files, creating a secure environment.

Command Prompt
cd /tmp
wget --trust-server-names https://www.concretecms.org/application/files/6517/1693/2287/concrete-cms-9.3.2.zip
unzip concrete-*.zip
sudo cp -rf concrete-cms-9.3.2 /var/www/concrete
sudo chown -R www-data:www-data /var/www/concrete

Once you have completed all the above steps, continue configuring the Nginx web server below to serve the Concrete content.

Run the commands below to create a Nginx server block file for Concrete.

🐧Bash / Shell
sudo nano /etc/nginx/sites-available/concrete.conf

Then, copy and paste the content block below into the Nginx server block.

🐘PHP
server {
    listen 80;
    listen [::]:80;
    root /var/www/concrete;
    index  index.php;
    server_name  concrete.example.com;

    access_log /var/log/nginx/access.log;
    error_log /var/log/nginx/error.log;

    location / {
        try_files $uri $uri/ /index.php?$args;
    }

    location ~ .php$ {
         include snippets/fastcgi-php.conf;
         fastcgi_pass unix:/var/run/php/php8.3-fpm.sock;
         fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
         include fastcgi_params;
    }
}

Save the file.

You can enable the Concrete CMS virtual host and restart the Nginx server by running the commands you see below. This step makes the Nginx web server start using the new configuration file, which Concrete CMS needs to work correctly.

🐧Bash / Shell
sudo ln -s /etc/nginx/sites-available/concrete.conf /etc/nginx/sites-enabled/
sudo systemctl restart nginx.service

Setup Let’s Encrypt SSL/TLS for Concrete

Set up Let’s Encrypt SSL/TLS for your Concrete CMS site to protect visitor data and ensure a trustworthy connection. This guide explains how to set up HTTPS for your site using Nginx on Ubuntu, making your website safe for everyone.

Keeping your Concrete CMS site secure is important, so let’s set up an SSL/TLS certificate using Let’s Encrypt with Nginx on Ubuntu. This process encrypts the connection between your visitors and your website, making it safe. We’ll guide you through the steps to get HTTPS working.

Please read the post below for additional resources on installing and creating Let’s Encrypt SSL certificates for Nginx.

How to set up Let’s Encrypt SSL certificate for Nginx on Ubuntu Linux

Once you have restarted the Nginx web server, open your browser and browse to the server hostname or IP address defined in the Nginx server block.

💻Code
http://concrete.example.com

A Concrete installation wizard page should appear. Select the installation language and continue to the next page.

Concrete installation wizard select language
Concrete installation wizard select language

Confirm all requirements are met and continue.

Concrete installation wizard requirements
Concrete installation wizard requirements

You will enter your chosen site name, the database name you created earlier, your administrator account name, and the password for that account, then click the "Install Concrete CMS" button. This action completes the Concrete CMS installation process on your Ubuntu 24.04 server.

Concrete installation wizard account and database connection
Concrete installation wizard account and database connection

Your Concrete site should be set up and ready to use.

Concrete CMS installation wizard completion screen
Concrete CMS installation wizard completion screen

That should do it!

Conclusion

You have now successfully set up Concrete CMS on Ubuntu 24.04 using Nginx and MariaDB. This guide covered installing Nginx for performance, setting up MariaDB for data storage, and configuring PHP-FPM, ensuring your Concrete CMS site is ready to go live.

You’ve now successfully set up Concrete CMS on Ubuntu using Nginx and MariaDB. This guide covered installing Nginx for better performance, setting up MariaDB for reliable data storage, and configuring PHP-FPM. Following these steps ensures your Concrete CMS site is ready to go.

    • Installing Nginx as the web server improves performance, security, and efficiency when hosting Concrete CMS.

    • Integration with the MariaDB database server ensures reliable data storage for the Concrete application.

    • PHP-FPM installation allows for seamless execution of the PHP-based Concrete CMS.

    • Securing the Concrete site with Let’s Encrypt SSL/TLS certificates enhances its security and user trust.

Feel free to utilize the comments section for any feedback, suggestions, or further assistance.

Install the MariaDB database server on Ubuntu

Install the MariaDB database server on Ubuntu for your Concrete CMS. MariaDB is a reliable database that stores all your website’s information and is straightforward to set up using a few commands in your terminal.

MariaDB database server installation on Ubuntu 24.04 is simple for Concrete CMS. Open your terminal and use the following commands to install the MariaDB database server, which Concrete CMS uses to store its data.

To install and use the MariaDB database server, use the instructions below.

Open the Ubuntu terminal and run the commands below to install the MariaDB database server.

🐧Bash / Shell
sudo apt update
sudo apt install mariadb-server

After installing MariaDB, use the commands below to stop, start, and enable it to launch automatically when your server boots.

🐧Bash / Shell
sudo systemctl stop mariadb
sudo systemctl start mariadb
sudo systemctl enable mariadb

MariaDB database server installation validation requires running specific commands. You can test if the MariaDB database server installed successfully by executing the commands, which confirms its operational readiness on your Ubuntu 24.04 system.

🐧Bash / Shell
sudo mariadb

Once you run the commands above, it will log you onto the MariaDB console and display a message similar to the one below.

💻Code
Welcome to the MariaDB monitor.  Commands end with ; or g.
Your MariaDB connection id is 32
Server version: 10.11.2-MariaDB-1 Ubuntu 23.04

Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.

Type 'help;' or 'h' for help. Type 'c' to clear the current input statement.

MariaDB [(none)]>

The message tells you that the server is installed successfully.

Additional help on installing MariaDB.

    • MariaDB without password prompt

Create a Concrete database

Create a dedicated database for your Concrete CMS after setting up MariaDB. This guide shows you how to create a database named ‘concretedb’ and a user called ‘concretedbuser’ for it, giving your Concrete CMS a secure place for its website data.

After setting up MariaDB, you need to create a specific database for your Concrete CMS installation. We’ll create a database named ‘concretedb’ and a user called ‘concretedbuser’ for it. This step ensures Concrete has a dedicated place to store all its data.

As part of the setup, we will create a concretedb database and a corresponding user account called concretedbuser.

Finally, we’ll grant the concretedbuser full access to the concretedb database.

Perform these database steps using the commands below:

But first, log on to the MariaDB database server:

🐧Bash / Shell
sudo mariadb

Then run the commands below to complete the steps:

💻Code
CREATE DATABASE concretedb CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;
CREATE USER concretedbuser@localhost IDENTIFIED BY 'type_your_password_here';
GRANT ALL ON concretedb.* TO concretedbuser@localhost WITH GRANT OPTION;
FLUSH PRIVILEGES;
exit

Ensure to replace ‘type_your_password_here ‘with your password.

Install PHP-FPM on Ubuntu Linux

Install PHP-FPM on Ubuntu Linux to help Concrete CMS run efficiently. PHP-FPM is necessary for Concrete CMS to work, and you can install all the required PHP components with just one simple command in your terminal.

Concrete CMS relies on PHP, so you’ll need PHP-FPM to run it on Ubuntu. This guide will show you how to install the necessary PHP components, including PHP-FPM. Just run the command below in your terminal to install everything you need.

Run the commands below to install PHP-FPM.

🐧Bash / Shell
sudo apt install php-fpm php-intl php-mysql php-curl php-cli php-zip php-xml php-gd php-common php-mbstring php-xmlrpc php-json php-sqlite3 php-soap php-zip

Additional help on installing PHP

How to install PHP on Ubuntu Linux

Download Concrete files

Download the Concrete CMS files onto your Ubuntu server to continue setting up your website. You can get the latest version directly from the official Concrete website and place them in the correct folder for Nginx to use.

Now it’s time to get the Concrete CMS files onto your Ubuntu server. You can download the latest version directly from the Concrete website. We’ll show you how to download the files to a temporary directory and then move them to the correct folder for Nginx.

To always install the latest version, check the Concrete’s download page. If a new version is available, replace the version number in the link below.

First, navigate to the /tmp/ directory and download Concrete files. After unzipping the file, move the content into the Concrete folder in the Nginx root directory.

Finally, change file permissions. This allows the Nginx web server to interact safely with your Concrete files, creating a secure environment.

Command Prompt
cd /tmp
wget --trust-server-names https://www.concretecms.org/application/files/6517/1693/2287/concrete-cms-9.3.2.zip
unzip concrete-*.zip
sudo cp -rf concrete-cms-9.3.2 /var/www/concrete
sudo chown -R www-data:www-data /var/www/concrete

Once you have completed all the above steps, continue configuring the Nginx web server below to serve the Concrete content.

Run the commands below to create a Nginx server block file for Concrete.

🐧Bash / Shell
sudo nano /etc/nginx/sites-available/concrete.conf

Then, copy and paste the content block below into the Nginx server block.

🐘PHP
server {
    listen 80;
    listen [::]:80;
    root /var/www/concrete;
    index  index.php;
    server_name  concrete.example.com;

    access_log /var/log/nginx/access.log;
    error_log /var/log/nginx/error.log;

    location / {
        try_files $uri $uri/ /index.php?$args;
    }

    location ~ .php$ {
         include snippets/fastcgi-php.conf;
         fastcgi_pass unix:/var/run/php/php8.3-fpm.sock;
         fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
         include fastcgi_params;
    }
}

Save the file.

You can enable the Concrete CMS virtual host and restart the Nginx server by running the commands you see below. This step makes the Nginx web server start using the new configuration file, which Concrete CMS needs to work correctly.

🐧Bash / Shell
sudo ln -s /etc/nginx/sites-available/concrete.conf /etc/nginx/sites-enabled/
sudo systemctl restart nginx.service

Setup Let’s Encrypt SSL/TLS for Concrete

Set up Let’s Encrypt SSL/TLS for your Concrete CMS site to protect visitor data and ensure a trustworthy connection. This guide explains how to set up HTTPS for your site using Nginx on Ubuntu, making your website safe for everyone.

Keeping your Concrete CMS site secure is important, so let’s set up an SSL/TLS certificate using Let’s Encrypt with Nginx on Ubuntu. This process encrypts the connection between your visitors and your website, making it safe. We’ll guide you through the steps to get HTTPS working.

Please read the post below for additional resources on installing and creating Let’s Encrypt SSL certificates for Nginx.

How to set up Let’s Encrypt SSL certificate for Nginx on Ubuntu Linux

Once you have restarted the Nginx web server, open your browser and browse to the server hostname or IP address defined in the Nginx server block.

💻Code
http://concrete.example.com

A Concrete installation wizard page should appear. Select the installation language and continue to the next page.

Concrete installation wizard select language
Concrete installation wizard select language

Confirm all requirements are met and continue.

Concrete installation wizard requirements
Concrete installation wizard requirements

You will enter your chosen site name, the database name you created earlier, your administrator account name, and the password for that account, then click the "Install Concrete CMS" button. This action completes the Concrete CMS installation process on your Ubuntu 24.04 server.

Concrete installation wizard account and database connection
Concrete installation wizard account and database connection

Your Concrete site should be set up and ready to use.

Concrete CMS installation wizard completion screen
Concrete CMS installation wizard completion screen

That should do it!

Conclusion

You have now successfully set up Concrete CMS on Ubuntu 24.04 using Nginx and MariaDB. This guide covered installing Nginx for performance, setting up MariaDB for data storage, and configuring PHP-FPM, ensuring your Concrete CMS site is ready to go live.

You’ve now successfully set up Concrete CMS on Ubuntu using Nginx and MariaDB. This guide covered installing Nginx for better performance, setting up MariaDB for reliable data storage, and configuring PHP-FPM. Following these steps ensures your Concrete CMS site is ready to go.

    • Installing Nginx as the web server improves performance, security, and efficiency when hosting Concrete CMS.

    • Integration with the MariaDB database server ensures reliable data storage for the Concrete application.

    • PHP-FPM installation allows for seamless execution of the PHP-based Concrete CMS.

    • Securing the Concrete site with Let’s Encrypt SSL/TLS certificates enhances its security and user trust.

Feel free to utilize the comments section for any feedback, suggestions, or further assistance.

This guide explains how to install Concrete CMS with Nginx on Ubuntu 24.04, configuring a web server stack optimized for speed and performance.

Concrete CMS is a powerful open-source content management system (CMS). It uses PHP and a MySQL database to power your website. Pairing it with Nginx on Ubuntu 24.04 unlocks significant performance gains.

Nginx's ability to handle many simultaneous user requests and its efficient caching make this combination ideal for you, delivering your Concrete CMS content faster than ever.

You will learn how to set up Nginx specifically to serve your Concrete CMS installation, resulting in a robust and high-performing web hosting environment for your site.

⚡ Quick Answer

Install Nginx and MariaDB servers, then create a Concrete CMS database. Configure PHP-FPM and Nginx to serve your Concrete CMS files.

Install Nginx HTTP server on Ubuntu

Install Nginx HTTP server on Ubuntu 24.04 to host your Concrete CMS site. Nginx is a fast and efficient web server that is easy to set up using simple terminal commands, making it ready to serve your website quickly.

Nginx is a fast web server that works well for Concrete CMS on Ubuntu 24.04. Install it easily from your terminal. Run these commands to get Nginx set up and ready to serve your website.

To do that, open the Ubuntu terminal and run the commands below to install the Nginx web server.

🐧Bash / Shell
sudo apt update
sudo apt install nginx

Once Nginx is installed, the commands below can start, stop, and enable the Nginx web server to start automatically when your server boots up.

🐧Bash / Shell
sudo systemctl stop nginx
sudo systemctl start nginx
sudo systemctl enable nginx

You can test the Nginx web server by opening your web browser and browsing to the server’s localhost or IP address.

http://localhost

Nginx default welcome page on Ubuntu 24.04
Nginx default welcome page on Ubuntu 24.04

You see the "Welcome to nginx!" page, which confirms that the Nginx HTTP server successfully installed. This page appears because Nginx serves this default page when no other website configuration is active, indicating the web server is running and ready for your Concrete CMS installation.

Additional help on installing Nginx on Ubuntu is in the link below.

How to install Nginx on Ubuntu

Install the MariaDB database server on Ubuntu

Install the MariaDB database server on Ubuntu for your Concrete CMS. MariaDB is a reliable database that stores all your website’s information and is straightforward to set up using a few commands in your terminal.

MariaDB database server installation on Ubuntu 24.04 is simple for Concrete CMS. Open your terminal and use the following commands to install the MariaDB database server, which Concrete CMS uses to store its data.

To install and use the MariaDB database server, use the instructions below.

Open the Ubuntu terminal and run the commands below to install the MariaDB database server.

🐧Bash / Shell
sudo apt update
sudo apt install mariadb-server

After installing MariaDB, use the commands below to stop, start, and enable it to launch automatically when your server boots.

🐧Bash / Shell
sudo systemctl stop mariadb
sudo systemctl start mariadb
sudo systemctl enable mariadb

MariaDB database server installation validation requires running specific commands. You can test if the MariaDB database server installed successfully by executing the commands, which confirms its operational readiness on your Ubuntu 24.04 system.

🐧Bash / Shell
sudo mariadb

Once you run the commands above, it will log you onto the MariaDB console and display a message similar to the one below.

💻Code
Welcome to the MariaDB monitor.  Commands end with ; or g.
Your MariaDB connection id is 32
Server version: 10.11.2-MariaDB-1 Ubuntu 23.04

Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.

Type 'help;' or 'h' for help. Type 'c' to clear the current input statement.

MariaDB [(none)]>

The message tells you that the server is installed successfully.

Additional help on installing MariaDB.

    • MariaDB without password prompt

Create a Concrete database

Create a dedicated database for your Concrete CMS after setting up MariaDB. This guide shows you how to create a database named ‘concretedb’ and a user called ‘concretedbuser’ for it, giving your Concrete CMS a secure place for its website data.

After setting up MariaDB, you need to create a specific database for your Concrete CMS installation. We’ll create a database named ‘concretedb’ and a user called ‘concretedbuser’ for it. This step ensures Concrete has a dedicated place to store all its data.

As part of the setup, we will create a concretedb database and a corresponding user account called concretedbuser.

Finally, we’ll grant the concretedbuser full access to the concretedb database.

Perform these database steps using the commands below:

But first, log on to the MariaDB database server:

🐧Bash / Shell
sudo mariadb

Then run the commands below to complete the steps:

💻Code
CREATE DATABASE concretedb CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;
CREATE USER concretedbuser@localhost IDENTIFIED BY 'type_your_password_here';
GRANT ALL ON concretedb.* TO concretedbuser@localhost WITH GRANT OPTION;
FLUSH PRIVILEGES;
exit

Ensure to replace ‘type_your_password_here ‘with your password.

Install PHP-FPM on Ubuntu Linux

Install PHP-FPM on Ubuntu Linux to help Concrete CMS run efficiently. PHP-FPM is necessary for Concrete CMS to work, and you can install all the required PHP components with just one simple command in your terminal.

Concrete CMS relies on PHP, so you’ll need PHP-FPM to run it on Ubuntu. This guide will show you how to install the necessary PHP components, including PHP-FPM. Just run the command below in your terminal to install everything you need.

Run the commands below to install PHP-FPM.

🐧Bash / Shell
sudo apt install php-fpm php-intl php-mysql php-curl php-cli php-zip php-xml php-gd php-common php-mbstring php-xmlrpc php-json php-sqlite3 php-soap php-zip

Additional help on installing PHP

How to install PHP on Ubuntu Linux

Download Concrete files

Download the Concrete CMS files onto your Ubuntu server to continue setting up your website. You can get the latest version directly from the official Concrete website and place them in the correct folder for Nginx to use.

Now it’s time to get the Concrete CMS files onto your Ubuntu server. You can download the latest version directly from the Concrete website. We’ll show you how to download the files to a temporary directory and then move them to the correct folder for Nginx.

To always install the latest version, check the Concrete’s download page. If a new version is available, replace the version number in the link below.

First, navigate to the /tmp/ directory and download Concrete files. After unzipping the file, move the content into the Concrete folder in the Nginx root directory.

Finally, change file permissions. This allows the Nginx web server to interact safely with your Concrete files, creating a secure environment.

Command Prompt
cd /tmp
wget --trust-server-names https://www.concretecms.org/application/files/6517/1693/2287/concrete-cms-9.3.2.zip
unzip concrete-*.zip
sudo cp -rf concrete-cms-9.3.2 /var/www/concrete
sudo chown -R www-data:www-data /var/www/concrete

Once you have completed all the above steps, continue configuring the Nginx web server below to serve the Concrete content.

Run the commands below to create a Nginx server block file for Concrete.

🐧Bash / Shell
sudo nano /etc/nginx/sites-available/concrete.conf

Then, copy and paste the content block below into the Nginx server block.

🐘PHP
server {
    listen 80;
    listen [::]:80;
    root /var/www/concrete;
    index  index.php;
    server_name  concrete.example.com;

    access_log /var/log/nginx/access.log;
    error_log /var/log/nginx/error.log;

    location / {
        try_files $uri $uri/ /index.php?$args;
    }

    location ~ .php$ {
         include snippets/fastcgi-php.conf;
         fastcgi_pass unix:/var/run/php/php8.3-fpm.sock;
         fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
         include fastcgi_params;
    }
}

Save the file.

You can enable the Concrete CMS virtual host and restart the Nginx server by running the commands you see below. This step makes the Nginx web server start using the new configuration file, which Concrete CMS needs to work correctly.

🐧Bash / Shell
sudo ln -s /etc/nginx/sites-available/concrete.conf /etc/nginx/sites-enabled/
sudo systemctl restart nginx.service

Setup Let’s Encrypt SSL/TLS for Concrete

Set up Let’s Encrypt SSL/TLS for your Concrete CMS site to protect visitor data and ensure a trustworthy connection. This guide explains how to set up HTTPS for your site using Nginx on Ubuntu, making your website safe for everyone.

Keeping your Concrete CMS site secure is important, so let’s set up an SSL/TLS certificate using Let’s Encrypt with Nginx on Ubuntu. This process encrypts the connection between your visitors and your website, making it safe. We’ll guide you through the steps to get HTTPS working.

Please read the post below for additional resources on installing and creating Let’s Encrypt SSL certificates for Nginx.

How to set up Let’s Encrypt SSL certificate for Nginx on Ubuntu Linux

Once you have restarted the Nginx web server, open your browser and browse to the server hostname or IP address defined in the Nginx server block.

💻Code
http://concrete.example.com

A Concrete installation wizard page should appear. Select the installation language and continue to the next page.

Concrete installation wizard select language
Concrete installation wizard select language

Confirm all requirements are met and continue.

Concrete installation wizard requirements
Concrete installation wizard requirements

You will enter your chosen site name, the database name you created earlier, your administrator account name, and the password for that account, then click the "Install Concrete CMS" button. This action completes the Concrete CMS installation process on your Ubuntu 24.04 server.

Concrete installation wizard account and database connection
Concrete installation wizard account and database connection

Your Concrete site should be set up and ready to use.

Concrete CMS installation wizard completion screen
Concrete CMS installation wizard completion screen

That should do it!

Conclusion

You have now successfully set up Concrete CMS on Ubuntu 24.04 using Nginx and MariaDB. This guide covered installing Nginx for performance, setting up MariaDB for data storage, and configuring PHP-FPM, ensuring your Concrete CMS site is ready to go live.

You’ve now successfully set up Concrete CMS on Ubuntu using Nginx and MariaDB. This guide covered installing Nginx for better performance, setting up MariaDB for reliable data storage, and configuring PHP-FPM. Following these steps ensures your Concrete CMS site is ready to go.

    • Installing Nginx as the web server improves performance, security, and efficiency when hosting Concrete CMS.

    • Integration with the MariaDB database server ensures reliable data storage for the Concrete application.

    • PHP-FPM installation allows for seamless execution of the PHP-based Concrete CMS.

    • Securing the Concrete site with Let’s Encrypt SSL/TLS certificates enhances its security and user trust.

Feel free to utilize the comments section for any feedback, suggestions, or further assistance.

Was this guide helpful?

Was this helpful?
Richard

About the Author

Richard

Tech Writer, IT Professional

Richard, a writer for Geek Rewind, is a tech enthusiast who loves breaking down complex IT topics into simple, easy-to-understand ideas. With years of hands-on experience in system administration and enterprise IT operations, he’s developed a knack for offering practical tips and solutions. Richard aims to make technology more accessible and actionable. He's deeply committed to the Geek Rewind community, always ready to answer questions and engage in discussions.

📚 Related Tutorials

How to Install Nginx on Ubuntu Linux
Ubuntu Linux How to Install Nginx on Ubuntu Linux
Install MySQL and MariaDB on Ubuntu: A Step-by-Step Guide
Ubuntu Linux Install MySQL and MariaDB on Ubuntu: A Step-by-Step Guide
How to Install PHP on Ubuntu Linux
Ubuntu Linux How to Install PHP on Ubuntu Linux
How to Install FossBilling with Nginx on Ubuntu Linux
CMS How to Install FossBilling with Nginx on Ubuntu Linux

No comments yet — be the first to share your thoughts!

Leave a Comment

Your email address will not be published. Required fields are marked *