Skip to content

Command-line control panel for Nginx Server to manage WordPress sites running on Nginx, PHP, MySQL for CentOS, easy engine centos

License

Notifications You must be signed in to change notification settings

rmrf-run/easyengine

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Super Cool CLI Picture

easyengine centos (ee) is a linux shell-script collection, which makes it easy to manage your wordpress sites running on nginx web-server.

EasyEngine CentOS currently supports:

  • CentOS 6.X

This script will partially work for now

  • script adds EPEL, NGINX, and REMI repos
  • chkconfig for nginx, mysql, and php-fpm
  • secures mysql install
  • installs wordfence, ewww image optimizer, varnish-http-purge, and jetpack plugins (not activated however)
  • user can input admin username, prompted to not use admin or root
  • user can input admin email address

things left to do

  • add iptables rules for 80,443 and potentially ssh
  • visit varnish caching

Quick Start

curl -sL https://raw.githubusercontent.com/mylivingweb/easyengine/master/install.sh | sudo bash         # install easyengine
ee system install                     # install nginx, php-fpm, mysql, only run once
ee site create example.com --wp       # create example.com and install wordpress on it

More Site Creation Commands

Standard WordPress Sites

ee site create example.com --wp                  # install wordpress without any page caching
ee site create example.com --w3tc                # install wordpress with w3-total-cache plugin 
ee site create example.com --wpsc                # install wordpress with wp-super-cache plugin 
ee site create example.com --wpfc                # install wordpress + nginx fastcgi_cache
ee site disable example.com 					 # moves .conf file to directory and reloads nginx
ee site enable example.com						 # moves .conf file from directory to conf.d and reload nginx
ee site delete example.com						 # removes db, db user, and webroot, this is permanent

WordPress Multsite with subdirectory

ee site create example.com --wpsubdir            # install wpmu-subdirectory without any page caching
ee site create example.com --wpsubdir --w3tc     # install wpmu-subdirectory with w3-total-cache plugin 
ee site create example.com --wpsubdir --wpsc     # install wpmu-subdirectory with wp-super-cache plugin 
ee site create example.com --wpsubdir --wpfc     # install wpmu-subdirectory + nginx fastcgi_cache

WordPress Multsite with subdomain

ee site create example.com --wpsubdom            # install wpmu-subdomain without any page caching
ee site create example.com --wpsubdom --w3tc     # install wpmu-subdomain with w3-total-cache plugin 
ee site create example.com --wpsubdom --wpsc     # install wpmu-subdomain with wp-super-cache plugin 
ee site create example.com --wpsubdom --wpfc     # install wpmu-subdomain + nginx fastcgi_cache

Non-WordPress Sites

ee site create example.com --html     # create example.com for static/html sites
ee site create example.com --php      # create example.com with php support
ee site create example.com --mysql    # create example.com with php & mysql support

Cheatsheet - Site creation

Single Site Multisite w/ Subdir Multisite w/ Subdom
NO Cache --wp --wpsubdir --wpsubdom
WP Super Cache --wpsc --wpsubdir --wpsc --wpsubdom --wpsc
W3 Total Cache --w3tc --wpsubdir --w3tc --wpsubdom --w3tc
Nginx cache --wpfc --wpsubdir --wpfc --wpsubdom --wpfc

Useful Links

About

Command-line control panel for Nginx Server to manage WordPress sites running on Nginx, PHP, MySQL for CentOS, easy engine centos

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 100.0%