How to Install InlineCMS with LAMP Stack on AlmaLinux 9

At the time of reviewing this guide, the InlineCMS installation/files do not download anymore, and the website isn't available either. The guide listed below may not work.

The general idea behind InlineCMS is to allow web designers to create fully-functional content-managed websites using only HTML and CSS. Everyone who creates websites knows, that drawing a design and turning it into an HTML template is only half the battle. Next, you have to integrate your design with CMS. And this can be a tricky task, especially for people who don't too familiar with PHP code. InlineCMS simplifies this task as much, as possible. In this article, we are going to learn how to install InlineCMS on AlmaLinux 9. So, let’s get started.

Try this wiki on our VPS. Starting at just $5/month with 24x7 In-house customer support.

Pre-requisites :

  • A system with AlmaLinux 9 installed and running.

  • root access to the system.

  • LAMP Stack installed and running, for this, you can refer to one of our guides on installing the LAMP Stack (Apache, MariaDB, and PHP).

Once you're all set, we'll proceed with InlineCMS installation and configuration.

Create Database

Let us begin with creating a Database and a user. We will then grant the required privileges to the user so it can interact with the Database.

mysql -u root



GRANT ALL PRIVILEGES ON crowncloud.* TO 'crowncloud'@'localhost';



The above commands will give complete access to the user crowncloud. Replace YOUR-PASSWORD-HERE with a safe and secure password.

Configuring Apache vHost

Create a new folder named InlineCMS under the public folder.

mkdir -p /var/www/html/inlinecms

Create a new apache configuration file for the domain with the following command:

vi /etc/httpd/conf.d/

Add the following codes:

<VirtualHost *:80>

DocumentRoot /var/www/html/inlinecms

<Directory /var/www/html/inlinecms/>
    Options -Indexes +FollowSymLinks
    AllowOverride All

ErrorLog /var/log/httpd/
CustomLog /var/log/httpd/ combined


Change with Your Domain Name.

Now, press the Esc key, type in :wq! and press the Enter key to save and exit the file.

Now, restart & check the apache with the following commands:

systemctl restart httpd

systemctl status httpd

Enable Firewall:

firewall-cmd --permanent --add-service=http

firewall-cmd --permanent --add-service=https

firewall-cmd --reload

Install Let's Encrypt SSL Certificate

Next, we will install the Let's Encrypt SSL cert so we can have the domain running on HTTPS.
You can refer to the following link for instructions on how to. Install Let's Encrypt.

Download InlineCMS

Download InlineCMS from official website : Click here.

cd /var/www/html/inlinecms




cd theme




Setting up File Permissions

Let's make the folders readable.

chmod -R 755 /var/www/html/inlinecms

chmod -R 755 /var/www/html/inlinecms/data

chmod -R 755 /var/www/html/inlinecms/upload

chown -R apache:apache  /var/www/html/inlinecms/

chcon -R -t httpd_sys_content_rw_t /var/www/html/inlinecms/

chcon -R -t httpd_sys_content_rw_t /var/www/html/inlinecms/data

chcon -R -t httpd_sys_content_rw_t /var/www/html/inlinecms/upload

Restart Apache

Restart apache to avoid getting error messages.

systemctl restart httpd

Configuring InlineCMS

Now open the domain name from your browser, this will redirect you to configuring the final parts of the InlineCMS installation.

Replace the with the actual IP or domain configured on the server.

Input the Database details which was configured earlier. Follow the below steps:

Now you have successfully installed InlineCMS with LAMP Stack on AlmaLinux 9.