19th March, 2017 | Tutorials |

How to Install Typesetter CMS on CentOS 7

Want your very own server? Get our 1GB memory, Xeon V4, 25GB SSD VPS for £10.00 / month.

Get a Cloud Server

Typesetter is a free and open source CMS which is written in PHP. Typesetter has many qualities but three of the most valuable qualities which describes typesetter is that it is free, fast and very easy to work with. It is efficient and organized and it is not only quick to process data, but also designed intuitively so users can find features quickly. Typesetter is easy and intuitive for users with little to no experience with web technology and it is used by small or medium companies. Sites you build using Typesetter will benefit from a number of advanced optimization techniques that reduce the amount of bandwidth used and the number of HTTP round-trips. Some of the features of Typesetter are listed below:


Typesetter does not require any special hardware to install on your server but we recommend you to install Typesetter on a fresh and updated CentOS 7 server. You'need to logged in as root user on server to follow this tutorial.

Update the System

Before going through the installation process it is highly recommended that you update your system and upgrade all available packages run below given command it'll do the job for you.

yum -y update

Install Apache Web Server

Once the system is updated, you can install the dependencies required. To install Typesetter you will need to install the Apache web server along with PHP with a few extensions.

Run the following command to install the Apache web server.

yum -y install httpd

Now you can start Apache and enable it to start at boot time, using the following commands:

systemctl start httpd.service systemctl enable httpd.service

You can check the status of Apache web server using the following command:

systemctl status httpd

You should see following output:

[root@Sajid ~]# systemctl status httpd
● httpd.service - The Apache HTTP Server
   Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled)
   Active: active (running) since Wed 2017-02-08 14:46:03 UTC; 22s ago
     Docs: man:httpd(8)
 Main PID: 10743 (httpd)
   Status: "Total requests: 0; Current requests/sec: 0; Current traffic:   0 B/sec"
   CGroup: /system.slice/httpd.service
           ├─10743 /usr/sbin/httpd -DFOREGROUND
           ├─10744 /usr/sbin/httpd -DFOREGROUND
           ├─10745 /usr/sbin/httpd -DFOREGROUND
           ├─10746 /usr/sbin/httpd -DFOREGROUND
           ├─10747 /usr/sbin/httpd -DFOREGROUND
           └─10748 /usr/sbin/httpd -DFOREGROUND

Feb 08 14:46:03 ip-172-31-22-142 systemd[1]: Starting The Apache HTTP Server... Feb 08 14:46:03 ip-172-31-22-142 systemd[1]: Started The Apache HTTP Server.

We will have to install PHP 5.3 or greater. To do so run following commands as shown below.

yum -y install epel-release rpm -Uvh

Now use this command to install PHP 7.1 and required extensions:

yum install mod_php71w php71w-common php71w-mbstring php71w-xmlrpc php71w-gd php71w-xml php71w-intl php71w-cli php71w-mcrypt -y

Next you'll have to edit some PHP settings to fulfill Typesetter requirements in order to do so run this command:

nano /etc/php.ini

Now update following lines as shown below:

memory_limit = 128M         # 128M or Higher according to the memory available
upload_max_filesize = 2M    # 32M or Higher
post_max_size = 8M          # 32M or Higher
;upload_tmp_dir =           # Uncomment and change it to upload_tmp_dir = /tmp

Next you'll have to restart your apache web server to load new components that we just configured and use following command to restart apache web server.

systemctl restart httpd.service

Installing Typesetter

We have now installed all the required dependencies to install Typesetter and now we are ready to download and install Typesetter. So first of all download latest stable release of Typesetter from its official website or you can simply run below given command it'll do the job for you.

wget -O

If in case you don't have wget and unzip package already installed on your server then first install them using yum -y install wget unzip

Next, extract the archive file to the web root directory and set proper ownership permissions using following commands:

unzip -d /var/www/htmlchown -R apache:apache /var/www/html/Typesetter/data

Now you'll have to create a virtual host for Typesetter and we can do so using any text editor here we are using nano text editor you can also install it using yum -y install nano.

Create a virtual host configuration file using this command:

nano /etc/httpd/conf.d/typesetter.conf

Add following content to the configuration file and change server admin, server name with your own ones.

<VirtualHost *:80>
DocumentRoot /var/www/html/Typesetter/
<Directory /var/www/html/Typesetter/>
Options FollowSymLinks
AllowOverride All
Order allow,deny
allow from all
ErrorLog /var/log/httpd/
CustomLog /var/log/httpd/ common

Save the configuration file and restart apache web server to apply changes using the command below:

systemctl restart httpd.service

Next you'll have to modify firewall rules and if in case you don't have firewalld services installed on your server then you can install it using yum -y install firewalld and you can start it using systemctl start firewalld

Next run these below given command to modify the firewalld rules.

firewall-cmd --zone=public --permanent --add-service=http firewall-cmd --reload

Web Access

Open up your favorite your web browser and please visit http://yourserverIP and you'll see a Typesetter installation wizard in checking server section. In the configuration page provide your admin credentials like shown below:

Website Title: Your Site Title
Email Address:
Admin Username: your admin name
Admin Password: your admin password
Repeat Password: your admin password

Finally click on Install button to finish this installation wizard and click on View your web site link to start your working with Typesetter.

Once the installation process is finished we recommend you to delete install.php file for security reasons. So run below given command it'll do the job for you.

rm /var/www/html/Typesetter/include/install/install.php

Page Editing

Page editing in Typesetter uses true WYSIWYG, that means the colors, sizing and positioning of the elements on your page will be the same while you're editing as when visitors view your site. There are some basic steps given below you'll need to follow these steps to edit a page.

Basic editing steps:

Creating Pages

Once you've installed Typesetter CMS now you can create your own pages and to do so you need to follow these three below given steps:


In this tutorial you've learned how to install Typesetter CMS on your centos 7 server. You've also learned how to creating pages and editing pages, so now we hope you enough knowledge to work with Typesetter CMS.

Want your very own server? Get our 1GB memory, Xeon V4, 25GB SSD VPS for £10.00 / month.

Get a Cloud Server