• Home
  • Archive
  • Tools
  • Contact Us

The Customize Windows

Technology Journal

  • Cloud Computing
  • Computer
  • Digital Photography
  • Windows 7
  • Archive
  • Cloud Computing
  • Virtualization
  • Computer and Internet
  • Digital Photography
  • Android
  • Sysadmin
  • Electronics
  • Big Data
  • Virtualization
  • Downloads
  • Web Development
  • Apple
  • Android
Advertisement
You are here: Home » How to Install Flextype on Apache : Modern, Flat-File, PHP Powered CMS

By Abhishek Ghosh November 25, 2018 7:56 am Updated on November 25, 2018

How to Install Flextype on Apache : Modern, Flat-File, PHP Powered CMS

Advertisement

Flextype CMS is a Flat-File CMS i.e. needs no database. It is written in PHP. Earlier we listed some flat-file CMS. In that list, on 20th you’ll find Monstra CMS. That Monstra CMS now has been Flextype CMS. Octopress is not easy to easy to handle by many – it is actually static site generator. WordPress is perfect for running blogs like our this site. But involving MySQL is really serious matter and only practical when there is hourly human monitoring, definite return of investment. Small business sites, personal sites, portfolio sites are easy to maintain with a flat-file CMS. Many of the flat-file CMS are paid and cost makes them out of question to consider. PHP makes Flextype dynamic and easy to many developers, freelancers, web developers. Flextype has official resources on the following webpages:

Vim
1
2
http://flextype.org/
https://github.com/flextype/flextype

At present, they have 45 plugins and 1 official theme.

How to Install Flextype on Apache

 

How to Install Flextype on Ubuntu Server (Apache Webserver)

 

On a blank server, one needs to follow our two guides :

Advertisement

---

  1. How To Install Apache2 on Ubuntu 18.04 With Let’s Encrypt, HTTP/2, HSTS
  2. Install PHP 7.2 on Ubuntu 18.04 LTS Running Apache2

… to proceed and install Flextype (need not to install MySQL server). If you follow the above guides, then next jump to Install Flextype on Ubuntu Server sub-header below. We are mentioning some steps to install Apache, PHP for the sake of completeness of the article:

Vim
1
2
3
4
5
6
7
8
9
10
11
apt update && apt upgrade
## apache2 from ubuntu repository
apt install apache2
sudo systemctl stop apache2.service
sudo systemctl start apache2.service
sudo systemctl enable apache2.service
apt install software-properties-common
sudo add-apt-repository ppa:ondrej/php
apt update && apt upgrade
apt install php7.2 libapache2-mod-php7.2 php7.2-common php7.2-mbstring php7.2-xmlrpc php7.2-soap php7.2-gd php7.2-xml php7.2-cli php7.2-curl php7.2-zip
nano /etc/php/7.2/apache2/php.ini

Find the following lines and make sure to have values like shown :

Vim
1
2
3
4
5
6
file_uploads = On
allow_url_fopen = On
memory_limit = 256M
upload_max_filesize = 100M
max_execution_time = 360
date.timezone = America/Chicago

Restart Apache2 :

Vim
1
systemctl restart apache2.service

Install Flextype on Ubuntu Server

Now, we need to wget the latest version from Flextype’s GitHub repo :

Vim
1
https://github.com/flextype/flextype/releases

Current version is flextype-0.7.0. We can choose between plain Flextype or Flextype with Admin plugin. We need to do the following steps :

Vim
1
2
3
4
5
6
7
8
9
sudo mkdir /var/www/html/flextype
cd /var/www/html/flextype
wget https://github.com/flextype/flextype/releases/download/v0.7.2/flextype-0.7.2-admin-0.2.0.zip
## wget https://github.com/flextype/flextype/releases/download/v0.7.2/flextype-0.7.2.zip
apt install unzip
unzip flextype-0.7.2-admin-0.2.0.zip
ls -al
rm flextype-0.7.2-admin-0.2.0.zip
ls -al

Then run the commands below to set the proper permissions for Flextype to function properly :

Vim
1
2
sudo chown -R www-data:www-data /var/www/html/flextype/
sudo chmod -R 755 /var/www/html/flextype/

The site/ directory needs to be 777 :

Vim
1
chmod -R 0777 site/

In the virtual host directory (/etc/apache2/sites-available/), you need minimum one configuration file like this :

Vim
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<VirtualHost *:80>
     ServerAdmin admin@example.com
     DocumentRoot /var/www/html/flextype/
     ServerName example.com
     ServerAlias www.example.com
 
     <Directory /var/www/html/flextype/>
          Options FollowSymlinks
          AllowOverride All
          Require all granted
     </Directory>
 
     ErrorLog ${APACHE_LOG_DIR}/error.log
     CustomLog ${APACHE_LOG_DIR}/access.log combined
    
     <Directory /var/www/html/flextype/>
            RewriteEngine on
            RewriteBase /
            RewriteCond %{REQUEST_FILENAME} !-f
            RewriteRule ^(.*) index.php [PT,L]
    </Directory>
 
</VirtualHost>

We recommend to follow our earlier mentioned guide to Install Apache2 on Ubuntu 18.04 With Let’s Encrypt to have complete HTTPS setup. Essentially you need to do :

Vim
1
2
3
4
5
apt install python-certbot-apache
sudo add-apt-repository ppa:certbot/certbot
apt update
apt install python-certbot-apache
sudo certbot --apache -m admin@example.com -d example.com -d www.example.com

Make sure that the following modules are activated :

Vim
1
2
3
sudo a2enmod rewrite
sudo a2enmod proxy proxy_fcgi rewrite
sudo systemctl restart apache2.service

Flextype itself has no installation. Just visit the IP or domain name to view the site. Update site configuration by editing file /site/config/site.yaml :

/site/config/site.yaml
Vim
1
2
3
4
5
title: "Site title here"
description: "Site description here"
author:
  email: "admin@thecustomizewindows.com"
  name: "Abhishek Ghosh"

To install plugin, just unzip them to /site/plugins/. To install theme, unzip them to /site/themes/. Then go to /site/config/system.yaml and update the key theme: with the intended theme name, like :

/site/config/system.yaml
Vim
1
theme: theme-name

You’ll get more help on official documentation :

Vim
1
http://flextype.org/documentation

Tagged With apache webserver themes , flextype cms , flextype start with php -S , install flextype

This Article Has Been Shared 963 Times!

Facebook Twitter Pinterest

Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, Surgeon, Author and Blogger. You can keep touch with him on Twitter - @AbhishekCTRL.

Here’s what we’ve got for you which might like :

Articles Related to How to Install Flextype on Apache : Modern, Flat-File, PHP Powered CMS

  • Cheap Cloud & Virtual Servers For Running Apache Big Data Tools

    Here Are Some Points For Selecting Correct Servers For Running Apache Big Data Tools. Of Course We Are Talking About So Called Low End Box.

  • How To Install TICK Stack on Ubuntu, CentOS For System Metrics Monitoring

    TICK Stands For Telegraf, InfluxDB, Chronograf, Kapacitor. Here is How To Install TICK Stack on Ubuntu, CentOS For System Metrics Monitoring.

  • How To Install Apache2 on Ubuntu 18.04 With Let’s Encrypt, HTTP/2, HSTS

    Here is Detailed Guide on How To Install Apache2 on Ubuntu 18.04 With Let’s Encrypt, HTTP/2, HSTS With Commands and Configurations For Most Secured Setup.

  • How To Install APC on PHP 7.2 (Ubuntu LAMP Server)

    APC is an Important Part For WordPress Like Web Software to Speed Up. Here is How To Install, Configure APC on PHP 7.2 on Ubuntu LAMP Server.

  • Analysis of Jenkins for DevOps : Part I

    This is Part I of Series Analysis of Jenkins for DevOps. Jenkins is a software system developed for maintaining collaboration, quality management, agility.

Additionally, performing a search on this website can help you. Also, we have YouTube Videos.

Take The Conversation Further ...

We'd love to know your thoughts on this article.
Meet the Author over on Twitter to join the conversation right now!

If you want to Advertise on our Article or want a Sponsored Article, you are invited to Contact us.

Contact Us

Subscribe To Our Free Newsletter

Get new posts by email:

Please Confirm the Subscription When Approval Email Will Arrive in Your Email Inbox as Second Step.

Search this website…

 

Popular Articles

Our Homepage is best place to find popular articles!

Here Are Some Good to Read Articles :

  • Cloud Computing Service Models
  • What is Cloud Computing?
  • Cloud Computing and Social Networks in Mobile Space
  • ARM Processor Architecture
  • What Camera Mode to Choose
  • Indispensable MySQL queries for custom fields in WordPress
  • Windows 7 Speech Recognition Scripting Related Tutorials

Social Networks

  • Pinterest (24.3K Followers)
  • Twitter (5.8k Followers)
  • Facebook (5.7k Followers)
  • LinkedIn (3.7k Followers)
  • YouTube (1.3k Followers)
  • GitHub (Repository)
  • GitHub (Gists)
Looking to publish sponsored article on our website?

Contact us

Recent Posts

  • What Online Casinos Have No Deposit Bonus in Australia March 30, 2023
  • Four Foolproof Tips To Never Run Out Of Blog Ideas For Your Website March 28, 2023
  • The Interactive Entertainment Serving as a Tech Proving Ground March 28, 2023
  • Is it Good to Run Apache Web server and MySQL Database on Separate Cloud Servers? March 27, 2023
  • Advantages of Cloud Server Over Dedicated Server for Hosting WordPress March 26, 2023

About This Article

Cite this article as: Abhishek Ghosh, "How to Install Flextype on Apache : Modern, Flat-File, PHP Powered CMS," in The Customize Windows, November 25, 2018, March 31, 2023, https://thecustomizewindows.com/2018/11/how-to-install-flextype-on-apache-modern-flat-file-php-powered-cms/.

Source:The Customize Windows, JiMA.in

PC users can consult Corrine Chorney for Security.

Want to know more about us? Read Notability and Mentions & Our Setup.

Copyright © 2023 - The Customize Windows | dESIGNed by The Customize Windows

Copyright  · Privacy Policy  · Advertising Policy  · Terms of Service  · Refund Policy

We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept”, you consent to the use of ALL the cookies.
Do not sell my personal information.
Cookie SettingsAccept
Manage consent

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
CookieDurationDescription
cookielawinfo-checkbox-analytics11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-functional11 monthsThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-necessary11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-others11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-performance11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
viewed_cookie_policy11 monthsThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
Functional
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Performance
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Analytics
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Advertisement
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
Others
Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.
SAVE & ACCEPT