• Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • News
  • Tutorials
  • Forums
  • Tags
  • Users
Tutorial News Comments FAQ Related Articles

How to Install TypeSetter CMS on Linux Mint 20

  • 00:38 cat /etc/os-release
  • 00:54 apt install apache2
  • 01:34 systemctl status apache2
  • 02:19 mysql_secure_installatoin
  • 03:05 apt install php libapache2-mod-mysql php-mysql
  • 04:19 systemctl restart apache2
  • 04:55 wget wgethttps://www.typesettercms.com/Special_gpEasy?cmd=download
  • 05:23 mv Typesetter /var/www/typesetter
  • 08:49 a2dissite 000-default.conf
  • 09:22 a2enmod rewrite
  • 09:33 systemctl restart apache2
{{postValue.id}}

To Install TypeSetter CMS on Linux Mint 20

Introduction:

Typesetter is an open-source Content Management System (CMS), written in PHP that provides a What-you-see-is-what-you-get editing and flat-file storage. It is user-friendly to create web sites with a simple interface. Through this tutorial, will explain about to install Typesetter CMS on Linux Mint 20.Now I am going to check the version of the OS

Check the installed Version of OS

root@linuxhelp:~# cat /etc/os-release 
NAME="Linux Mint"
VERSION="20 (Ulyana)"
ID=linuxmint
ID_LIKE=ubuntu
PRETTY_NAME="Linux Mint 20"
VERSION_ID="20"
HOME_URL="https://www.linuxmint.com/"
SUPPORT_URL="https://forums.ubuntu.com/"
BUG_REPORT_URL="http://linuxmint-troubleshooting-guide.readthedocs.io/en/latest/"
PRIVACY_POLICY_URL="https://www.linuxmint.com/"
VERSION_CODENAME=ulyana
UBUNTU_CODENAME=focal

Before the installation of the Typesetter CMS. Let install the LAMP server. Then install the apache server

root@linuxhelp:~# apt install apache2
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  apache2-bin apache2-data apache2-utils libapr1 libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap
Suggested packages:
  apache2-doc apache2-suexec-pristine | apache2-suexec-custom
.
.
.
Processing triggers for ufw (0.36-6) ...
Processing triggers for systemd (245.4-4ubuntu3) ...
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for libc-bin (2.31-0ubuntu9) ..

Once the apache service is installed now, start the apache2 service by using the following command

root@linuxhelp:~# systemctl start apache2

Once the apache2 service is started now, check the status of the apache2 service by using the following command

root@linuxhelp:~# systemctl status apache2
● apache2.service - The Apache HTTP Server
     Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)
     Active: active (running) since Wed 2020-11-18 18:40:17 IST; 41s ago
       Docs: https://httpd.apache.org/docs/2.4/
   Main PID: 4493 (apache2)
      Tasks: 55 (limit: 2244)
     Memory: 5.7M
     CGroup: /system.slice/apache2.service
             ├─4493 /usr/sbin/apache2 -k start
             ├─4496 /usr/sbin/apache2 -k start
             └─4497 /usr/sbin/apache2 -k start

Nov 18 18:40:17 linuxhelp systemd[1]: Starting The Apache HTTP Server...
Nov 18 18:40:17 linuxhelp apachectl[4492]: AH00558: apache2: Could not reliably determine the server's fully qualified doma>
Nov 18 18:40:17 linuxhelp systemd[1]: Started The Apache HTTP Server.

Now install mariadb server by using the following command

root@linuxhelp:~# apt install mariadb-server
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  galera-3 libconfig-inifiles-perl libdbd-mysql-perl libdbi-perl libhtml-template-perl libterm-readkey-perl
  mariadb-client-10.3 mariadb-client-core-10.3 mariadb-common mariadb-server-10.3 mariadb-server-core-10.3 socat
Suggested packages:
  libmldbm-perl libnet-daemon-perl libsql-statement-perl libipc-sharedcache-perl mailx mariadb-test tinyca
The following NEW packages will be installed:
  galera-3 libconfig-inifiles-perl libdbd-mysql-perl libdbi-perl libhtml-template-perl libterm-readkey-perl
  mariadb-client-10.3 mariadb-client-core-10.3 mariadb-common mariadb-server mariadb-server-10.3 mariadb-server-core-10.3
  socat
0 upgraded, 13 newly installed, 0 to remove and 363 not upgraded.
Need to get 19.3 MB of archives.
After this operation, 164 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:9 http://archive.ubuntu.com/ubuntu focal/universe amd64 mariadb-server-10.3 amd64 1:10.3.22-1ubuntu1 [4,188 kB]        
Get:10 http://archive.ubuntu.com/ubuntu focal/universe amd64 libdbd-mysql-perl amd64 4.050-3 [82.8 kB]                     
Get:11 http://archive.ubuntu.com/ubuntu focal/main amd64 libhtml-template-perl all 2.97-1 [59.0 kB]                        
Get:12 http://archive.ubuntu.com/ubuntu focal/main amd64 libterm-readkey-perl amd64 2.38-1build1 [24.6 kB]                 
.
.
.
Created symlink /etc/systemd/system/multi-user.target.wants/mariadb.service → /lib/systemd/system/mariadb.service.
Setting up mariadb-server (1:10.3.22-1ubuntu1) ...
Processing triggers for systemd (245.4-4ubuntu3) ...
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for doc-base (0.10.9) ...
Processing 1 added doc-base file...

Once the mariadb server is installed. Now, create a credentials of mysql server

root@linuxhelp:~# mysql_secure_installation

NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MariaDB
      SERVERS IN PRODUCTION USE!  PLEASE READ EACH STEP CAREFULLY!

In order to log into MariaDB to secure it, we'll need the current
password for the root user.  If you've just installed MariaDB, and
you haven't set the root password yet, the password will be blank,
so you should just press enter here.

Enter current password for root (enter for none): 
OK, successfully used password, moving on...

Setting the root password ensures that nobody can log into the MariaDB
root user without the proper authorization.

Set root password? [Y/n] 
New password: 
Re-enter new password: 
Password updated successfully!
Reloading privilege tables..
 ... Success!


By default, a MariaDB installation has an anonymous user, allowing anyone
to log into MariaDB without having to have a user account created for
them.  This is intended only for testing, and to make the installation
go a bit smoother.  You should remove them before moving into a
production environment.

Remove anonymous users? [Y/n] y
 ... Success!

Normally, root should only be allowed to connect from 'localhost'.  This
ensures that someone cannot guess at the root password from the network.

Disallow root login remotely? [Y/n] y
 ... Success!

By default, MariaDB comes with a database named 'test' that anyone can
access.  This is also intended only for testing, and should be removed
before moving into a production environment.

Remove test database and access to it? [Y/n] y
 - Dropping test database...
 ... Success!
 - Removing privileges on test database...
 ... Success!

Reloading the privilege tables will ensure that all changes made so far
will take effect immediately.

Reload privilege tables now? [Y/n] y
 ... Success!

Cleaning up...

All done!  If you've completed all of the above steps, your MariaDB
installation should now be secure.

Thanks for using MariaDB!

Now, install PHP and its modules by using the following command

root@linuxhelp:~# apt install php libapache2-mod-php php-mysql
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  libapache2-mod-php7.4 php-common php7.4 php7.4-cli php7.4-common php7.4-json php7.4-mysql php7.4-opcache php7.4-readline
Suggested packages:
  php-pear
The following NEW packages will be installed:
  libapache2-mod-php libapache2-mod-php7.4 php php-common php-mysql php7.4 php7.4-cli php7.4-common php7.4-json
  php7.4-mysql php7.4-opcache php7.4-readline
0 upgraded, 12 newly installed, 0 to remove and 363 not upgraded.
Need to get 4,144 kB of archives.
After this operation, 18.5 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://archive.ubuntu.com/ubuntu focal/main amd64 php-common all 2:75 [11.9 kB]
.
.
.
Setting up php7.4 (7.4.3-4ubuntu2.4) ...
Setting up libapache2-mod-php (2:7.4+75) ...
Setting up php (2:7.4+75) ...
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for php7.4-cli (7.4.3-4ubuntu2.4) ...
Processing triggers for libapache2-mod-php7.4 (7.4.3-4ubuntu2.4) ...

Once the PHP is installed. Now configure the info.php file by using the following command'

root@linuxhelp:~# vi /var/www/html/info.php
<?php
Phpinfo();
?>

Once the PHP configuration is completed now restart the apache2 service by using the following command

root@linuxhelp:~# systemctl restart apache2

Download typesetter package by using the wget command

root@linuxhelp:~# wget https://www.typesettercms.com/Special_gpEasy?cmd=download
--2020-11-18 18:53:37--  https://www.typesettercms.com/Special_gpEasy?cmd=download
Resolving www.typesettercms.com (www.typesettercms.com)... 104.27.148.130, 172.67.193.214, 104.27.149.130, ...
Connecting to www.typesettercms.com (www.typesettercms.com)|104.27.148.130|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 4111711 (3.9M) [application/octet-stream]
Saving to: ‘Special_gpEasy?cmd=download’

Special_gpEasy?cmd=download    100%[====================================================>]   3.92M   946KB/s    in 4.2s    

2020-11-18 18:53:43 (946 KB/s) - ‘Special_gpEasy?cmd=download’ saved [4111711/4111711]

Now extract the download package

root@linuxhelp:~# unzip Special_gpEasy?cmd=download
Archive:  Special_gpEasy?cmd=download
   creating: Typesetter/
   creating: Typesetter/addons/
   creating: Typesetter/addons/Example/
  inflating: Typesetter/addons/Example/Admin.php  
  inflating: Typesetter/themes/Bootswatch_Scss/Sandstone/variables.scss  
   creating: Typesetter/themes/Bootswatch_Scss/Journal/
  inflating: Typesetter/themes/Bootswatch_Scss/Journal/style.scss  
  inflating: Typesetter/themes/Bootswatch_Scss/Journal/variables.scss  
  inflating: Typesetter/themes/Bootswatch_Scss/template.php  
   creating: Typesetter/themes/Bootswatch_Scss/Cerulian/
  inflating: Typesetter/themes/Bootswatch_Scss/Cerulian/style.scss  
  inflating: Typesetter/themes/Bootswatch_Scss/Cerulian/variables.scss  
   creating: Typesetter/themes/Bootswatch_Scss/Superhero/
.
.
.
  inflating: Typesetter/include/special/ContactGadget.php  
  inflating: Typesetter/include/special/Galleries.php  
  inflating: Typesetter/include/special/Map.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

**Once the typesetter package is downloaded now move to the typesetter directory to apache directory **

root@linuxhelp:~# mv Typesetter /var/www/typesetter

Now set the ownership and permission of the typesetter directory

root@linuxhelp:~# chown -R www-data.www-data /var/www/typesetter/

Now ser permission

root@linuxhelp:~# chmod -R 755 /var/www/typesetter/

To configure enter type.conf file by using vi command

root@linuxhelp:~# vi /etc/apache2/sites-available/type.conf

<Virtualhost>
	Servername www.linuxhelp1.com
	Documentroot  /var/www/typesetter
<directory /var/www/typesetter>
Allowoverride all
Allow from all
</directory>
</virtualhost>

Now disable the default site of the apache

root@linuxhelp:~# a2dissite 000-default.conf
Site 000-default disabled.
To activate the new configuration, you need to run:
  systemctl reload apache2

Now enable the site of typesetter

root@linuxhelp:~# a2ensite type.conf
Enabling site type.
To activate the new configuration, you need to run:
  systemctl reload apache2

Now enable the rewrite modules of apache2

root@linuxhelp:~# a2enmod rewrite
Enabling module rewrite.
To activate the new configuration, you need to run:
  systemctl restart apache2

Now restart the apache2 service

root@linuxhelp:~# systemctl restart apache2

Switch to the browser and enter ip for check the PHP snap1 Switch to the browser and enter the hostname and enter the Typesetter CMS welcome page snap2 Enter admin credentials of the Typesetter CMS snap3 This the dashboard of Typesetter CMS snap4 The process of installing landing CMS on LinuxMint 20 comes to an end.

Tags:
jacob
Author: 

Comments ( 0 )

No comments available

Add a comment
{{postCtrl.cmtErrMsg}}

Frequently asked questions ( 5 )

Q

How to download the package using wget command?

A

The command is # wget [URL]

Q

What is the path of apache custom virtual host?

A

The path is /etc/apache2/sites-available

Q

What is the command to unzip the file?

A

The command is # unzip (filename)

Q

What is the path to add host entry?

A

The path is /etc/host

Q

What is the command to enable the default sites?

A

The command is # a2enssite (configuration fo]ile name)

Back To Top!
Rank
User
Points

Top Contributers

userNamenaveelansari
135850

Top Contributers

userNameayanbhatti
92510

Top Contributers

userNamehamzaahmed
32150

Top Contributers

1
userNamelinuxhelp
31040

Top Contributers

userNamemuhammadali
24500
Can you help Gibbson ?
How do i run both nginx and apache in same instance on centos

Hi...,

my server is based centos operating system and my webserver is already running on Apache.... i need to run both apache and nginx on same instance ... please help me to implement this concept...

Networking
  • Routing
  • trunk
  • Netmask
  • Packet Capture
  • domain
  • HTTP Proxy
Server Setup
  • NFS
  • KVM
  • Memory
  • Sendmail
  • WebDAV
  • LXC
Shell Commands
  • Cloud commander
  • Command line archive tools
  • last command
  • Shell
  • terminal
  • Throttle
Desktop Application
  • Linux app
  • Pithos
  • Retrospect
  • Scribe
  • TortoiseHg
  • 4Images
Monitoring Tool
  • Monit
  • Apache Server Monitoring
  • EtherApe 
  • Arpwatch Tool
  • Auditd
  • Barman
Web Application
  • Nutch
  • Amazon VPC
  • FarmWarDeployer
  • Rukovoditel
  • Mirror site
  • Chef
Contact Us | Terms of Use| Privacy Policy| Disclaimer
© 2025 LinuxHelp.com All rights reserved. Linux™ is the registered trademark of Linus Torvalds. This site is not affiliated with linus torvalds in any way.