Home / How To / How to install Dig CMS with Nginx on Fedora 30

How to install Dig CMS with Nginx on Fedora 30



Grav is a fast, simple and flexible, file-based CMS platform. Grav comes with a powerful package management system that enables easy installation and upgrade of plugins and themes as well as easy updating of the grave itself.

Tomb's underlying architecture is designed to use well-established and best-in-class technology to ensure that the Tomb is easy to use and easy to expand. Some of these key technologies include:

  • Twig Templating: for robust user interface control
  • Markdown: for simple content creation
  • YAML: for easy configuration
  • Parsedown: for quick Markdown and Markdown Extra support [19659004] Symtony- event handler: for plugin management
  • Symfony Console: for CLI interface
  • Gregwar Image Library: for dynamic image manipulation

In this guide, we will review the Dig CMS installation and installation on the Fedora 30 system using NGINX as a web server and optionally you can secure the transport layer using the Acme.sh client and let us encrypt the certificate authority to add SSL support.

Requirements

Tomb is deliberately designed with few requirements. Tombs are built with common text files for your content. No database is needed.

Make sure your system meets the following requirements:

  • Web server (Apache, Nginx, LiteSpeed, Lightly, IIS, etc.) We use NGINX.
  • PHP version 7.1
    .3 or higher

Prerequisites

  • An operating system running Fedora 30.
  • A non-root user with sudo privileges.

Initial steps

Check your Fedora version:

  cat / etc / fedora release 
# [19659024] Configure the time zone:

  time format list time zones 
sudo timedatectl set time zone & # 39; Region / City & # 39;

Update operating system packages (software). This is an important first step because it ensures that you have the latest updates and security fixes for the operating system's standard software package:

  sudo dnf update -y 

Install some important packages necessary for basic administration of the Fedora operating system: [19659020] sudo dnf install -y curl wget vim git unzip socat bash-completion epel-release

Step 1 – Install PHP and the necessary PHP extensions

Install PHP as well as the necessary PHP extensions:

 ] sudo dnf install -y php-clp php-fpm php-php-phl-phc-phc-phc-phc-phc-phc-phc-phc-phc-php-pcp-apcu 

To display PHP compiled in modules, you can run:

  php -m 

ctype
curl
exif
filinfo
. . .
. .

Check the PHP version:

  php - version 

# PHP 7.3.17 (cli) (built: 13 May 2019 18:03:04) (NTS)
# Copyright (c ) 1997-2018 PHP group
# Send Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
# with Send OPcache v7.2.17, Copyright (c) 1999-2018, by Zend Technologies


Source link