{"id":7386,"date":"2018-12-03T17:04:09","date_gmt":"2018-12-03T14:04:09","guid":{"rendered":"https:\/\/www.howtoforge.com\/how-to-install-typesetter-cms-on-ubuntu-1804\/"},"modified":"2018-12-03T17:04:09","modified_gmt":"2018-12-03T14:04:09","slug":"how-to-install-typesetter-cms-on-ubuntu-18-04-lts","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/how-to-install-typesetter-cms-on-ubuntu-18-04-lts\/","title":{"rendered":"How to Install Typesetter CMS on Ubuntu 18.04 LTS"},"content":{"rendered":"<div id=\"\">\n<p>Typesetter is a free, open source and PHP-based CMS intended for use by small-medium volume websites. Typesetter allows you to create feature rich and flexible websites using an easy to use true WYSIWYG editor. It uses flat file storage so there is no need of a database to store the data. It is simple, lightweight, fast and intuitive for users with little to no experience with web technology.<\/p>\n<p>In this tutorial, we will learn how to install Typesetter CMS on Ubuntu 18.04 server.<\/p>\n<h2 id=\"requirements\">Requirements<\/h2>\n<ul>\n<li>A server running Ubuntu 18.04.<\/li>\n<li>A static IP address 172.20.10.8 is set up to your server.<\/li>\n<li>A non-root user with sudo privileges.<\/li>\n<\/ul>\n<h2 id=\"getting-started\">Getting Started<\/h2>\n<p>Before starting, you will need to update your system with the latest version. You can do this by running the following command:<\/p>\n<pre class=\"command\"><code spellcheck=\"false\">sudo apt-get update -y<br\/>sudo apt-get upgrade -y<\/code><\/pre>\n<p>Once your system is updated, restart the system to apply the changes.<\/p>\n<h2 id=\"install-apache-and-php\">Install Apache and PHP<\/h2>\n<p>First, you will need to install Apache web server, PHP and other PHP modules to your system. You can install all of them by running the following command:<\/p>\n<pre class=\"command\"><code spellcheck=\"false\">sudo apt-get install apache2 php7.2 libapache2-mod-php7.2 php7.2-common php7.2-mbstring php7.2-xmlrpc php7.2-soap php7.2-mysql php7.2-gd php7.2-xml php7.2-cli php7.2-zip unzip wget -y<\/code><\/pre>\n<p>Once the installation is completed, modify php.ini file:<\/p>\n<pre class=\"command\"><code spellcheck=\"false\">sudo nano \/etc\/php\/7.2\/apache2\/php.ini<\/code><\/pre>\n<p>Make the following changes:<\/p>\n<pre>memory_limit = 256M&#13;\nupload_max_filesize = 150M&#13;\nmax_execution_time = 360&#13;\ndate.timezone = Asia\/Kolakata&#13;\n<\/pre>\n<p>Save and close the file.<\/p>\n<h2 id=\"install-typesetter\">Install Typesetter<\/h2>\n<p>Next, download the latest version of the Typesetter from their official website with the following command:<\/p>\n<pre class=\"command\"><code spellcheck=\"false\">wget -O typesettercms.zip https:\/\/www.typesettercms.com\/Special_gpEasy?cmd=download<\/code><\/pre>\n<p>Once the download is completed, unzip the downloaded file with the following command:<\/p>\n<pre class=\"command\"><code spellcheck=\"false\">unzip typesettercms.zip<\/code><\/pre>\n<p>Next, copy extracted directory to the Apache root directory and give necessary permissions with the following command:<\/p>\n<pre class=\"command\"><code spellcheck=\"false\">sudo cp -r Typesetter \/var\/www\/html\/typesetter<br\/>sudo chown -R www-data:www-data \/var\/www\/html\/typesetter\/<br\/>sudo chmod -R 777 \/var\/www\/html\/typesetter\/<\/code><\/pre>\n<p>Next, you will need to create an Apache virtual host file for Typesetter. You can do this with the following command:<\/p>\n<pre class=\"command\"><code spellcheck=\"false\">sudo nano \/etc\/apache2\/sites-available\/typesetter.conf<\/code><\/pre>\n<p>add the following lines:<\/p>\n<pre>&lt;VirtualHost *:80&gt;&#13; ServerAdmin <a href=\"https:\/\/www.howtoforge.com\/cdn-cgi\/l\/email-protection\" class=\"__cf_email__\" data-cfemail=\"3f5e5b5256517f5a475e524f535a115c5052\" target=\"_blank\" rel=\"noopener\">[email\u00a0protected]<\/a>&#13; DocumentRoot \/var\/www\/html\/typesetter&#13; ServerName example.com&#13; ServerAlias www.example.com&#13;\n&#13; &lt;Directory \/var\/www\/html\/typesetter\/&gt;&#13; Options FollowSymlinks&#13; AllowOverride All&#13; Require all granted&#13; &lt;\/Directory&gt;&#13;\n&#13; ErrorLog ${APACHE_LOG_DIR}\/error.log&#13; CustomLog ${APACHE_LOG_DIR}\/access.log combined&#13;\n&#13;\n&lt;\/VirtualHost&gt;&#13;\n<\/pre>\n<p>Replace example.com with your own domain name. Save and close the file. Then, enable virtual host and Apache rewrite module with the following command:<\/p>\n<pre class=\"command\"><code spellcheck=\"false\">sudo a2ensite typesetter.conf<br\/>sudo a2enmod rewrite<\/code><\/pre>\n<p>Finally, restart Apache service to apply all the changes:<\/p>\n<pre class=\"command\"><code spellcheck=\"false\">sudo systemctl restart apache2<\/code><\/pre>\n<h2 id=\"access-typesetter\">Access Typesetter<\/h2>\n<p>Open your web browser and type the URL http:\/\/example.com. You will be redirected to the following page:<\/p>\n<p><a class=\"fancybox\" id=\"img-page1\" href=\"https:\/\/www.howtoforge.com\/images\/how_to_install_typesetter_cms_on_ubuntu_1804\/big\/page1.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/12\/how-to-install-typesetter-cms-on-ubuntu-18-04-lts.png\" alt=\"Typesetter CMS setup wizard\" width=\"550\" height=\"302\" title=\"\"><\/a><\/p>\n<p>Provide your Site name, username, password and email address. Then, click on the <strong>Install<\/strong> button. Once the installation has been completed. You should see the following page:<\/p>\n<p><a class=\"fancybox\" id=\"img-page2\" href=\"https:\/\/www.howtoforge.com\/images\/how_to_install_typesetter_cms_on_ubuntu_1804\/big\/page2.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/12\/how-to-install-typesetter-cms-on-ubuntu-18-04-lts-1.png\" alt=\"Installing the CMS\" width=\"550\" height=\"265\" title=\"\"><\/a><\/p>\n<p>Now, click on the <strong>View your website<\/strong>. You will be redirected to the Typesetter dashboard as shown below:<\/p>\n<p><a class=\"fancybox\" id=\"img-page3\" href=\"https:\/\/www.howtoforge.com\/images\/how_to_install_typesetter_cms_on_ubuntu_1804\/big\/page3.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/12\/how-to-install-typesetter-cms-on-ubuntu-18-04-lts-2.png\" alt=\"Typesetter CMS installed- Login to Dashboard\" width=\"550\" height=\"278\" title=\"\"><\/a><\/p>\n<h2 id=\"links\">Links<\/h2>\n<\/p><\/div>\n<div id=\"\">\n<img decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/12\/how-to-install-typesetter-cms-on-ubuntu-18-04-lts.jpg\" alt=\"Hitesh Jethva\" title=\"\"> <\/p>\n<p><strong>About Hitesh Jethva<\/strong><\/p>\n<p>Over 8 years of experience as a Linux system administrator. My skills include a depth knowledge of Redhat\/Centos, Ubuntu Nginx and Apache, Mysql, Subversion, Linux, Ubuntu, web hosting, web server, Squid proxy, NFS, FTP, DNS, Samba, LDAP, OpenVPN, Haproxy, Amazon web services, WHMCS, OpenStack Cloud, Postfix Mail Server, Security etc.<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Typesetter is a free, open source and PHP-based CMS intended for use by small-medium volume websites. Typesetter allows you to create feature rich and flexible websites using an easy to use true WYSIWYG editor. It uses flat file storage so there is no need of a database to store the data. It is simple, lightweight, [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[36],"tags":[],"class_list":["post-7386","post","type-post","status-publish","format-standard","hentry","category-36"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/7386","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/comments?post=7386"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/7386\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=7386"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=7386"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=7386"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}