Atlantic.Net Blog

How to Install Bludit CMS with NGINX on Ubuntu 20.04

Hitesh Jethva
by Atlantic.Net (345 posts) under VPS Hosting
0 Comments

Bludit is a free, open-source, file-based content management system that helps you to host a blogging website within a minute. It is written in PHP and uses flat-files to store posts and pages. You don’t need to install any database system on your system to use Bludit. It is very similar to other content management systems including Drupal, Joomla, and WordPress, and offers a rich set of features including SEO friendliness, WYSIWYG support, a flexible CSS framework, and many more.

In this tutorial, we will explain how to install and configure Bludit CMS on Ubuntu 20.04 server.

Prerequisites

  • A fresh Ubuntu 20.04 VPS on the Atlantic.Net Cloud Platform
  • A root password configured on your server

Step 1 – Create an Atlantic.Net Cloud Server

First, log in to your Atlantic.Net Cloud Server. Create a new server, choosing Ubuntu 20.04 as the operating system with at least 2GB RAM. Connect to your Cloud Server via SSH and log in using the credentials highlighted at the top of the page.

Once you are logged in to your Ubuntu 20.04 server, run the following command to update your base system with the latest available packages.

apt-get update -y

Step 2 – Install LAMP Server

First, you will need to install Nginx, PHP, and other required packages in your system. You can install all of them with the following command:

apt-get install nginx php php-cli php-fpm php-common php-mbstring php-zip php-pgsql php-sqlite3 php-curl php-gd php-mysql php-intl php-json php-opcache php-xml unzip git curl -y

The above command will also install the Apache package in your system, but it is recommended that you remove it from your system. You can remove it using the following command:

apt-get remove apache2 --purge

Next, edit the php.ini file and make some desired changes:

nano /etc/php/7.4/fpm/php.ini

Change the following values:

memory_limit = 512M
upload_max_filesize = 32M
date.timezone = Asia/Kolkata

Save and close the file, then restart the PHP-FPM service to apply the changes:

systemctl restart php7.4-fpm

Step 3 – Install Bludit CMS

First, you will need to download the latest version of Bludit from its official website. You can download it with the following command:

wget https://www.bludit.com/releases/bludit-3-13-1.zip

Once downloaded, unzip the downloaded file with the following command:

unzip bludit-3-13-1.zip

Next, move the extracted directory to the Nginx root directory:

mv bludit-3-13-1 /var/www/html/bludit

Next, change the ownership and provide necessary permissions to the bludit directory:

chown -R www-data:www-data /var/www/html/bludit
chmod -R 775 /var/www/html/bludit

Step 4 – Configure Nginx for Bludit

First, you will need to create an Nginx virtual host configuration file for Bludit. You can create it with the following command:

nano /etc/nginx/sites-available/bludit.conf

Add the following lines:

server {
listen 80;

server_name your-domain.com;
root /var/www/html/bludit;

index index.php;

location ~ \.php$ {
fastcgi_pass unix:/var/run/php/php7.4-fpm.sock;
fastcgi_index index.php;
include fastcgi.conf;
}

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

location ^~ /bl-content/tmp/ { deny all; }
location ^~ /bl-content/pages/ { deny all; }
location ^~ /bl-content/databases/ { deny all; }
}

Save and close the file, then activate the Nginx virtual host with the following command:

ln -s /etc/nginx/sites-available/bludit.conf /etc/nginx/sites-enabled/

Next, verify the Nginx for any syntax errors with the following command:

nginx -t

You should get the following output:

nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
nginx: configuration file /etc/nginx/nginx.conf test is successful

Finally, restart the Nginx service to apply the configuration changes:

systemctl restart nginx

Step 5 – Access Bludit Web Interface

Now, open your web browser and access the Bludit CMS using the URL http://your-domain.com. You should see the following screen:

Select your desired language and click on the Next button. You should see the following screen:

Set your admin password and click on the Install button. You should see the following screen:

Click on the admin panel button. You should see the Bludit login screen:

Provide your admin username, password and click on the Login button. You should see the Bludit dashboard in the following screen:

Conclusion

In the above guide, you learned how to install Bludit CMS on Ubuntu 20.04 server. You can now build your blogging website easily with Bludit dashboard on your VPS Hosting account with Atlantic.Net.

Get A Free To Use Cloud VPS

Free Tier Includes:
G3.2GB Cloud VPS Free to Use for One Year
50 GB of Block Storage Free to Use for One Year
50 GB of Snapshots Free to Use for One Year


Looking for a Hosting Solution?

We Provide Cloud, Dedicated, & Colocation.

  • Seven Global Data Center Locations.
  • Flexible Private, Public, & Hybrid Hosting.
  • 24x7x365 Security, Support, & Monitoring.
Contact Us Now! Med Tech Award FTC
SOC Audit HIPAA Audit HITECH Audit

Recent Posts

How to Install Python 3.10 on Rocky Linux 8
How to Install TaskBoard on Rocky Linux 8
How to Set Up Pritunl VPN Server on Rocky Linux 8
How to Install Teampass Password Manager on Rocky Linux 8
How to Install and Configure RabbitMQ Server on Rocky Linux 8

Get started with 12 months of free cloud VPS hosting

Free Tier includes:
G3.2GB Cloud VPS Server Free to Use for One Year
50 GB of Block Storage Free to Use for One Year
50 GB of Snapshots Free to Use for One Year


New York, NY

100 Delawanna Ave, Suite 1

Clifton, NJ 07014

United States

San Francisco, CA

2820 Northwestern Pkwy,

Santa Clara, CA 95051

United States

Dallas, TX

2323 Bryan Street,

Dallas, Texas 75201

United States

Ashburn, VA

1807 Michael Faraday Ct,

Reston, VA 20190

United States

Orlando, FL

440 W Kennedy Blvd, Suite 3

Orlando, FL 32810

United States

Toronto, Canada

20 Pullman Ct, Scarborough,

Ontario M1X 1E4

Canada

London, UK

14 Liverpool Road, Slough,

Berkshire SL1 4QZ

United Kingdom

Resources