Sitemagic CMS works wonderful with Apache2 webserver… however, if you want a Nginx fan and want to run it on Nginx the steps below shows you how to run Sitemagic with Nginx HTTP support…
Sitemagic is an open-source, flat-file content management system (CMS) with slick design that allows you create beautiful and captivating websites… It is fully extensible, and it’s super fast even on small servers…… It offers features that may not be available to other PHP based CMS, like WordPress Joomla or Drupal…
For one, it doesn’t need a database server to function… it’s a flat-file CMS… It also provides native markdown WYSIWYG support, SEO friendly, flexible CSS framework and easily installation and management…
This brief tutorial shows students and new users how to install Sitemagic CMS on Ubuntu 16.04 / 17.10 and 18.04 LTS with Nginx and PHP 7.2-FPM support….
For more about Sitemagic, please check out its homepage….
When you’re ready to get Sitemagic working, continue with the steps below:
Step 1: Install Nginx HTTP Server on Ubuntu
Nginx HTTP Server is the second most popular web server in use… so install it, since Sitemagic needs it..
To install Nginx HTTP on Ubuntu server, run the commands below…
sudo apt update
sudo apt install nginx
After installing Nginx, the commands below can be used to stop, start and enable Nginx service to always start up with the server boots.
To test Nginx setup, open your browser and browse to the server hostname or IP address and you should see Nginx default test page as shown below.. When you see that, then Nginx is working as expected..
Step 2: Install PHP 7.2-FPM and Related Modules
PHP 7.2-FPM may not be available in Ubuntu default repositories for some systems…. if you need it, you will have to get it from third-party repositories.
Run the commands below to add the below third party repository to upgrade to PHP 7.2-FPM