Skip to content

Powerful server setup script for nginx with PHP7, MariaDB and Google's NginX Pagespeed Module

License

Notifications You must be signed in to change notification settings

actuallymentor/Setup-Script-Nginx-Pagespeed-PHP7-Mariadb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Setup script for LEMP with MariaDB, PHP7 and nginx Pagespeed module

What this script does:

  • Add nginx repository
  • Install dependencies
  • Download nginx source
  • Download Google's mod_pagespeed for nginx
  • Configure nginx to compile with mod_pagespeed
  • Make and install Nginx
  • Download init scripts (credit JasonGiedymin)
  • Add global nginx config
  • Add default server config
  • Install MariaDB (MySQL dropin)
  • Install PHP7-FPM
  • Configure auto security updates
  • Restart NginX

You still need to:

  • Run mysql_secure_installation
  • Enable caching in /etc/nginx/conf/fastcgicache.conf ( change set skip cache to 0 )

Components

Nginx

Faster than Apache webserver.

Mod_pagespeed

A module made by google that automatically optimizes your code for fast delivery.

MariaDB

Faster than MySQL database server, but works the same.

PHP7-FPM

New php version.

About

Powerful server setup script for nginx with PHP7, MariaDB and Google's NginX Pagespeed Module

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages