rightuu.blogg.se

Enable webtatic php fpm
Enable webtatic php fpm







  1. #Enable webtatic php fpm install
  2. #Enable webtatic php fpm update
  3. #Enable webtatic php fpm driver
  4. #Enable webtatic php fpm software
  5. #Enable webtatic php fpm code

#Enable webtatic php fpm install

Install the latest mainline Nginx packages: sudo yum install -y nginx nginx-module-geoip nginx-module-image-filter nginx-module-njs nginx-module-perl nginx-module-xslt To set up the yum repository for CentOS, create the file named /etc//nginx_mainline.repo with the following contents: In order to check a signature it is necessary to download Nginx signing key and import it to the rpm program’s keyring: wget In this tutorial, we selected Nginx.ĭownload and install latest mainline release of Nginx from the official Nginx repository. For ECC/ECDSA: /etc/letsencrypt/_ecc directory.Ĭraft CMS can work fine with many popular web server softwares.Sudo /etc/letsencrypt/acme.sh -issue -standalone -home /etc/letsencrypt -d -keylength ec-256Īfter running the above commands, your certificates and keys will be in: Sudo /etc/letsencrypt/acme.sh -issue -standalone -home /etc/letsencrypt -d -keylength 2048 Obtain RSA and ECC/ECDSA certificates for your domain/hostname: acme.sh -install -home /etc/letsencrypt ~Ĭheck Acme.sh version: /etc/letsencrypt/acme.sh -version

#Enable webtatic php fpm software

Acme.sh is a pure unix shell software for obtaining TLS certificates from Let's Encrypt with zero dependencies.ĭownload and install Acme.sh: sudo mkdir /etc/letsencrypt In order to obtain TLS certificate from Let's Encrypt we will use Acme.sh client. Securing your website with HTTPS is not necessary, but it is a good practice to secure your site traffic. Step 3 - Install acme.sh client and obtain Let's Encrypt certificate ( optional) Replace dbname, username and password with your own names. Mariadb> GRANT ALL ON dbname.* TO 'username' IDENTIFIED BY 'password' Remove test database and access to it? YĬonnect to MariaDB shell as the root user: sudo mysql -u root -pĬreate an empty MariaDB database and user for Craft CMS and remember the credentials: mariadb> CREATE DATABASE dbname Re-enter new password: your_secure_password Run mysql_secure installation script to improve MariaDB security and set the password for MariaDB root user: sudo mysql_secure_installationĪnswer each of the questions: New password: your_secure_password Start and enable MariaDB service: sudo systemctl start rvice # mysql Ver 15.1 Distrib 5.5.60-MariaDB, for Linux (x86_64) using readline 5.1 Install MariaDB database server: sudo yum install -y mariadb-server In this tutorial, we will use MariaDB as database server. Step 2- Install MariaDB and create a databaseĬraft CMS supports MySQL/MariaDB and PostgreSQL databases. We can move on to the next step, which is the database installation and setup. Run sudo vim /etc/php.ini and set memory_limit to at least 256MB: memory_limit = 256M Start and enable PHP-FPM service: sudo systemctl start rvice # Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies Install PHP, as well as the necessary PHP extensions: sudo yum install -y php72w php72w-cli php72w-fpm php72w-common php72w-curl php72w-gd php72w-pecl-imagick php72w-json php72w-mbstring php72w-mysql php72w-pgsql php72w-zip php72w-intl php72w-xml php72w-pdo

enable webtatic php fpm

Setup the Webtatic YUM repo: sudo rpm -Uvh Step 1 - Install PHP and required PHP extensions

enable webtatic php fpm

Install some essential packages that are necessary for basic administration of CentOS operating system: sudo yum install -y curl wget vim git unzip socat

#Enable webtatic php fpm update

This is an important first step because it ensures you have the latest updates and security fixes for your operating system's default software packages: sudo yum update -y

enable webtatic php fpm

Update your operating system packages (software). Sudo timedatectl set-timezone 'Region/City' Set up the timezone: timedatectl list-timezones

  • At least 256MB of memory allocated to PHPĬheck your CentOS version: cat /etc/centos-release.
  • MySQL 5.5+ with InnoDB, MariaDB 5.5+, or PostgreSQL 9.5+.
  • #Enable webtatic php fpm driver

    PHP version 7.0 or greater with the following PHP extensions: (ctype, cURL, GD or ImageMagick, iconv, JSON, Multibyte String, OpenSSL, PCRE, PDO MySQL Driver or PDO PostgreSQL Driver, PDO, Reflection, SPL, Zip, Intl, DOM).This tutorial will walk you through the Craft CMS installation procedure on a fresh CentOS system using Nginx as the web server and we will secure the website with a Let's encrypt SSL certificate.

    #Enable webtatic php fpm code

    It's secure and scalable CMS with big plugin ecosystem and the Craft source code is hosted on GitHub. Craft allows you to easily create and manage great-looking content, and to design and build exactly what you need. Craft is an open source CMS written in PHP.









    Enable webtatic php fpm