How To Install Typesetter CMS 5.1 On Centos 7.6
Installation of TypeSetter CMS 5.1 On Centos 7.6
• Typesetter CMS is an open source Content Management System which is written in php.
• It is very easy to use and manage the websites.
• It is faster than Wordpress CMS.
Requirements
• Apache 2.2+
• PHP 5.3+
• No Database is needed
Check the version of Centos 7.6
[root@linuxhelp ~]# lsb_release -d
Description: CentOS Linux release 7.6.1810 (Core)
LAMP Stack Installation Procedure
Use the following command to install Apahce package into the system
[root@linuxhelp ~]# yum install httpd -y
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: centos.myfahim.com
* extras: centos.myfahim.com
* updates: centos.myfahim.com
base | 3.6 kB 00:00:00
Resolving Dependencies
--> Running transaction check
.
.
.
.
Installed:
httpd.x86_64 0:2.4.6-88.el7.centos
Dependency Installed:
apr.x86_64 0:1.4.8-3.el7_4.1 apr-util.x86_64 0:1.5.2-6.el7 httpd-tools.x86_64 0:2.4.6-88.el7.centos
Complete!
Start and enable the Apache service
[root@linuxhelp ~]# systemctl enable httpd
Created symlink from /etc/systemd/system/multi-user.target.wants/httpd.service to /usr/lib/systemd/system/httpd.service.
[root@linuxhelp ~]# systemctl start httpd
Check the status of Apache service
[root@linuxhelp ~]# 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 2019-04-03 13:48:13 IST; 10s ago
Thus we have successfully installed,enabled,started and checked the status of Apache server.
Installation with using third party repository as follows
Install the epel-release repository
[root@linuxhelp ~]# yum install epel-release -y yum-utils
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: centos.myfahim.com
* extras: centos.myfahim.com
* updates: centos.myfahim.com
Package yum-utils-1.1.31-50.el7.noarch already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package epel-release.noarch 0:7-11 will be installed
--> Finished Dependency Resolution
.
.
.
.
Downloading packages:
epel-release-7-11.noarch.rpm | 15 kB 00:00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : epel-release-7-11.noarch 1/1
Verifying : epel-release-7-11.noarch 1/1
Installed:
epel-release.noarch 0:7-11
Download and install the webtatic repository
[root@linuxhelp ~]# wget https://mirror.webtatic.com/yum/el7/webtatic-release.rpm
--2019-04-03 13:52:19-- https://mirror.webtatic.com/yum/el7/webtatic-release.rpm
Resolving mirror.webtatic.com (mirror.webtatic.com)... 46.101.64.32
Connecting to mirror.webtatic.com (mirror.webtatic.com)|46.101.64.32|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 13152 (13K) [application/x-redhat-package-manager]
Saving to: ‘webtatic-release.rpm’
100%[===================================================================================================>] 13,152 --.-K/s in 0s
2019-04-03 13:52:19 (240 MB/s) - ‘webtatic-release.rpm’ saved [13152/13152]
List out the files inside the current directory
[root@linuxhelp ~]# ll
total 24
-rw-------. 1 root root 2097 Dec 9 2017 anaconda-ks.cfg
drwxr-xr-x. 2 root root 6 Dec 12 2017 Desktop
drwxr-xr-x. 2 root root 6 Dec 12 2017 Documents
drwxr-xr-x. 2 root root 6 Dec 12 2017 Downloads
-rw-r--r--. 1 root root 2128 Dec 12 2017 initial-setup-ks.cfg
drwxr-xr-x. 2 root root 6 Dec 12 2017 Music
drwxr-xr-x. 2 root root 6 Dec 12 2017 Pictures
drwxr-xr-x. 2 root root 6 Dec 12 2017 Public
drwxr-xr-x. 2 root root 6 Dec 12 2017 Templates
drwxr-xr-x. 2 root root 6 Dec 12 2017 Videos
-rw-r--r-- 1 root root 13152 Oct 9 2014 webtatic-release.rpm
Install the RPM package as shown as below
[root@linuxhelp ~]# rpm -Uvh webtatic-release.rpm
warning: webtatic-release.rpm: Header V4 RSA/SHA1 Signature, key ID 62e74ca5: NOKEY
Preparing... ################################# [100%]
Updating / installing...
1:webtatic-release-7-3 ################################# [100%]
Download and install the remi-release repository
[root@linuxhelp ~]# wget http://rpms.remirepo.net/enterprise/remi-release-7.rpm
--2019-04-03 13:53:01-- http://rpms.remirepo.net/enterprise/remi-release-7.rpm
Resolving rpms.remirepo.net (rpms.remirepo.net)... 195.154.241.117, 2001:bc8:33a1:100::1
Connecting to rpms.remirepo.net (rpms.remirepo.net)|195.154.241.117|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 16004 (16K) [application/x-rpm]
Saving to: ‘remi-release-7.rpm’
100%[===================================================================================================>] 16,004 --.-K/s in 0s
2019-04-03 13:53:02 (84.9 MB/s) - ‘remi-release-7.rpm’ saved [16004/16004]
List out the files inside the current directory
[root@linuxhelp ~]# ll
total 40
-rw-------. 1 root root 2097 Dec 9 2017 anaconda-ks.cfg
drwxr-xr-x. 2 root root 6 Dec 12 2017 Desktop
drwxr-xr-x. 2 root root 6 Dec 12 2017 Documents
drwxr-xr-x. 2 root root 6 Dec 12 2017 Downloads
-rw-r--r--. 1 root root 2128 Dec 12 2017 initial-setup-ks.cfg
drwxr-xr-x. 2 root root 6 Dec 12 2017 Music
drwxr-xr-x. 2 root root 6 Dec 12 2017 Pictures
drwxr-xr-x. 2 root root 6 Dec 12 2017 Public
-rw-r--r-- 1 root root 16004 Mar 8 13:10 remi-release-7.rpm
drwxr-xr-x. 2 root root 6 Dec 12 2017 Templates
drwxr-xr-x. 2 root root 6 Dec 12 2017 Videos
-rw-r--r-- 1 root root 13152 Oct 9 2014 webtatic-release.rpm
Install the RPM package as shown as below
[root@linuxhelp ~]# rpm -Uvh remi-release-7.rpm
warning: remi-release-7.rpm: Header V4 DSA/SHA1 Signature, key ID 00f97f56: NOKEY
Preparing... ################################# [100%]
Updating / installing...
1:remi-release-7.6-2.el7.remi ################################# [100%]
Enable the remi repo with php 7.2 version
[root@linuxhelp ~]# yum-config-manager --enable remi-php72
Loaded plugins: fastestmirror, langpacks
============================================================= repo: remi-php72 ==============================================================
[remi-php72]
async = True
bandwidth = 0
base_persistdir = /var/lib/yum/repos/x86_64/7
baseurl =
cache = 0
cachedir = /var/cache/yum/x86_64/7/remi-php72
check_config_file_age = True
compare_providers_priority = 80
.
.
.
.
timeout = 30.0
ui_id = remi-php72
ui_repoid_vars = releasever,
basearch
username =
Install the PHP modules using the following command as given below
[root@linuxhelp ~]# yum install php php-gd php-pdo php-mysql php-simplexml php-imap php-mbstring php-mcrypt php-pecl-zip -y
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: centos.myfahim.com
* epel: ftp.jaist.ac.jp
* extras: centos.myfahim.com
* remi-php72: mirror.xeonbd.com
* remi-safe: mirror.xeonbd.com
* updates: centos.myfahim.com
* webtatic: uk.repo.webtatic.com
remi-php72 | 3.0 kB 00:00:00
remi-php72/primary_db | 220 kB 00:00:03
Package php-mysql is obsoleted by php-mysqlnd, trying to install php-mysqlnd-7.2.16-1.el7.remi.x86_64 instead
Package php-mcrypt is obsoleted by php-pecl-mcrypt, trying to install php-pecl-mcrypt-1.0.2-2.el7.remi.7.2.x86_64 instead
Resolving Dependencies
.
.
.
.
.
Installed:
php.x86_64 0:7.2.16-1.el7.remi php-gd.x86_64 0:7.2.16-1.el7.remi php-imap.x86_64 0:7.2.16-1.el7.remi
php-mbstring.x86_64 0:7.2.16-1.el7.remi php-mysqlnd.x86_64 0:7.2.16-1.el7.remi php-pdo.x86_64 0:7.2.16-1.el7.remi
php-pecl-mcrypt.x86_64 0:1.0.2-2.el7.remi.7.2 php-pecl-zip.x86_64 0:1.15.4-1.el7.remi.7.2 php-xml.x86_64 0:7.2.16-1.el7.remi
Dependency Installed:
gd-last.x86_64 0:2.2.5-8.el7.remi libargon2.x86_64 0:20161029-2.el7 libc-client.x86_64 0:2007f-16.el7
libmcrypt.x86_64 0:2.5.8-13.el7 libwebp7.x86_64 0:1.0.2-1.el7.remi libzip5.x86_64 0:1.5.2-1.el7.remi
php-cli.x86_64 0:7.2.16-1.el7.remi php-common.x86_64 0:7.2.16-1.el7.remi php-json.x86_64 0:7.2.16-1.el7.remi
Complete!
Check the version of php
[root@linuxhelp ~]# php -v
PHP 7.2.16 (cli) (built: Mar 5 2019 14:45:10) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
Check the modules of php
[root@linuxhelp ~]# php -m
[PHP Modules]
bz2
calendar
Core
ctype
curl
date
dom
exif
fileinfo
.
.
.
.
.
xml
xmlreader
xmlwriter
xsl
zip
zlib
check the zip file in the downloads director after the successful download from the website
[root@linuxhelp ~]# cd Downloads/
[root@linuxhelp Downloads]# ll
total 4016
-rw-r--r-- 1 root root 4111711 Apr 3 14:07 Typesetter-5.1.zip
Navigate the unzip file as follow
[root@linuxhelp Downloads]# mv Typesetter-5.1.zip /var/www/
[root@linuxhelp Downloads]# cd /var/www
[root@linuxhelp www]# ll
total 4016
drwxr-xr-x 2 root root 6 Nov 5 07:17 cgi-bin
drwxr-xr-x 2 root root 6 Nov 5 07:17 html
-rw-r--r-- 1 root root 4111711 Apr 3 14:07 Typesetter-5.1.zip
Rename the zip file
[root@linuxhelp www]# mv Typesetter-5.1.zip typesetter
[root@linuxhelp www]# ll
total 4016
drwxr-xr-x 2 root root 6 Nov 5 07:17 cgi-bin
drwxr-xr-x 2 root root 6 Nov 5 07:17 html
-rw-r--r-- 1 root root 4111711 Apr 3 14:07 typesetter
Extract the zip file using unzip
[root@linuxhelp www]# unzip typesetter
Archive: typesetter
creating: Typesetter/
creating: Typesetter/addons/
creating: Typesetter/addons/Example/
inflating: Typesetter/addons/Example/Admin.php
inflating: Typesetter/addons/Example/Gadget.php
inflating: Typesetter/addons/Example/Special_Admin.php
inflating: Typesetter/addons/Example/Install_Check.php
.
.
.
.
inflating: Typesetter/include/special/Missing.php
inflating: Typesetter/index.php
creating: Typesetter/data/
inflating: Typesetter/data/example_htaccess
inflating: Typesetter/gpl.txt
inflating: Typesetter/Addon.ini
List out the files
root@linuxhelp www]# ll
total 4016
drwxr-xr-x 2 root root 6 Nov 5 07:17 cgi-bin
drwxr-xr-x 2 root root 6 Nov 5 07:17 html
-rw-r--r-- 1 root root 4111711 Apr 3 14:07 typesetter
drwxr-xr-x 6 root root 221 Aug 13 2017 Typesetter
Assign writable and ownership permissions to the typesetter CMS
[root@linuxhelp www]# chmod -R 775 Typesetter/
[root@linuxhelp www]# chown -R apache. Typesetter/
Add Ip and Domain name in the /etc/hosts file
[root@linuxhelp www]# echo "192.168.7.229 www.linuxhelp1.com " > /etc/hosts
Create a customised configuration file for typesetter CMS
[root@linuxhelp www]# vim /etc/httpd/conf.d/typesetter.conf
<virtualhost *:80>
servername www.linuxhelp1.com
documentroot /var/www/Typesetter/
<Directory /var/www/Typesetter/>
allowoverride all
allow from all
</Directory>
</virtualhost>
Test the configuration of Apache
[root@linuxhelp www]# httpd -t
Syntax OK
Restart the Apache service
[root@linuxhelp www]# systemctl restart httpd
Open the browser and enter the servername that you have set inside the customised configuration file for typesetter CMS.
With this, the method to Install Typesetter CMS 5.1 On Centos 7.6 comes to an end.
Supports faster creation of Websites
Has numerous Plugins and Themes to browse and download
Enables creation of Dynamic Galleries
Supports Multiple Languages
LAMP Setup
- Apache
- MariaDB
- PHP 7+ and it modules php-cli php-common php-gd php-mbstring php-mcrypt php-mysqlnd php-xml
wget https://github.com/Typesetter/Typesetter/archive/v5.1.zip