How to Install Typesetter CMS with Apache on Rocky Linux 8

Typesetter CMS is an Open-source CMS written in PHP focused on ease of use with true WYSIWYG editing and flat-file storage. In this article, we are going to learn how to install Typesetter CMS on Rocky Linux 8. So, let’s get started.

Checkout the Typesetter CMS Project Here.

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


  • A system with Rocky Linux 8 installed and running.

  • root access to the system.

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

Install Apache & PHP

Let's begin with installing Apache and PHP. Install using the below codes.

yum install httpd httpd-tools php php-curl php-gd php-mbstring php-zip php-json -y

Enable services

systemctl enable httpd

systemctl start 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 Let's Encrypt SSL cert so we can have the domain running on HTTPS.
You can refer the following link for instructions on how to Install Let's Encrypt.

Download Typesetter CMS

Download Typesetter CMS from official website : Click here.

cd /var/www/html/

mkdir typesettercms

cd /var/www/html/typesettercms

wget -O


mv Typesetter typesettercms


cd /var/www/html/typesettercms/typesettercms

Setting up File Permissions

Let's make the folders readable.

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

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

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

Configuring Apache vHost

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/typesettercms/typesettercms

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

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


Change with Your Domain Name.

Now, press the Esc key, and type :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

Configuring Typesetter CMS

Now open the URL from your browser, this will redirect you to configuring the final parts of the Typesetter CMS installation.

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

Now you have successfully installed Typesetter CMS with Apache on Rocky Linux 8.