Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

EngineScript is a super fast WordPress server built on Ubuntu and optimized for Cloudflare and Digital Ocean

License

NotificationsYou must be signed in to change notification settings

EngineScript/EngineScript

Codacy BadgeGPL LicenseUbuntu 24.04Nginx MainlinePHPMariaDB 11.8RedisDigitalOceanCloudflareWordPressWP-CLIACME.shphpMyAdminAWS CLI

A High-Performance WordPress Server Built on Ubuntu and Cloudflare

EngineScript automates the process of building a high-performance LEMP server. We've specifically built EngineScript with WordPress users in mind, so the install process will take you from a bare server all the way to a working WordPress installation with Nginx FastCGI cache enabled in about 30 minutes.

EngineScript Release Stage:Beta

Minimum Requirements

EngineScript is meant to be run as the root user on a fresh VPS. Setup will remove existing Apache, Nginx, PHP, and MySQL installations. Thingswill break if you run this script on a VPS that has already been configured.

  • A Newly Created VPS(Digital Ocean droplet recommended)
  • Ubuntu 24.04 (64-Bit)
  • 2GB RAM
  • Cloudflare(Free or Paid)

Install EngineScript

Step 1 - Initial Install

Run the following command:

bash<(curl -s https://raw.githubusercontent.com/EngineScript/EngineScript/master/setup.sh)

Step 2 - Edit Options File

After the initial setup script has run, you'll need to alter the install options file. Fill this out completely, making sure to change all variables that sayPLACEHOLDER.

Run the following command:

es.config

Step 3 - Main Install Process

Once you've filled out the configuration file with your personal settings, continue with the main installation process.

Run the following command:

es.install

Domain Creation

EngineScript Menu

After EngineScript is fully installed, typees.menu in console to bring up the EngineScript menu. Choose1) Domain Configuration Tools, then select1) Create New Domain or2) Import Domain to get started adding your first site to the server. If you're moving an existing site into EngineScript, the Import Domain function is fairly robust and should help simplify the process quite a bit.

Cloudflare

Before your site is ready to use, you'll need to make sure it has been added to Cloudflare. The scripts that add or import a domain will automatically add or update the DNS records in Cloudflare to point to your server, issue SSL certificates, and apply numerous performance-related settings in Cloudflare.

For your reference, the settings EngineScript automatically applies can be viewed on our wiki at:Cloudflare Settings Guide.

Manual Cloudflare Settings

Although we do our best to automate this process, there are a few settings that we don't or can't currently change via the Cloudflare API. We recommend you enable the following settings manually in Cloudflare:

  1. Speed Tab:Cloudflare Fonts:On
  2. Caching Tab:Crawler Hints:On
  3. Network Tab:HTTP Strict Transport Security (HSTS):On

Brotli and Gzip from Origin

For Cloudflare to support compression from origin, the following features must be disabled:

  • Email Obfuscation
  • Rocket Loader
  • Server Side Excludes (SSE)
  • Mirage
  • HTML Minification (JavaScript and CSS can remain enabled)
  • Automatic HTTPS Rewrites

For more information, seeThis is Brotli from Origin.

WordPress Plugins

Nginx Helper

  1. In WordPress, go to Settings >> Nginx Helper
  2. Check Enable Purge.
  3. Select "nginx Fastcgi cache" for Caching Method
  4. Select "Using a GET request to PURGE/url (Default option)" for Purging Method.
  5. Check all of the boxes under Purging Conditions.
  6. Save Changes.

Other Plugins

EngineScript installs a number of additional plugins when a domain is added to the server. These plugins are purely optional, but may add some valuable functionality to your site. We only enable plugins that are required, so please take a moment to review all of the plugins to see if there is anything else you'd like to enable.

We've also developed a basic plugin that disables some bloat from the default WordPress experience such as TinyMCE emojis, Jetpack advertisements, and some legacy CSS from widgets and classic themes. There could be some edge-case scenarios where this breaks something specific you're using, but these tweaks are pretty safe for most users.


Sponsors

EngineScript development is supported by:

Want to support EngineScript?Sponsor this project.


EngineScript Information Reference

EngineScript Locations

LocationUsage
/etc/mysqlMySQL (MariaDB) config
/etc/nginxNginx config
/etc/phpPHP config
/etc/redisRedis config
/home/EngineScriptEngineScript user directories
/usr/local/bin/enginescriptEngineScript source
/var/lib/mysqlMySQL database
/var/logServer logs
/var/www/admin/enginescriptTools that may be accessed via server IP address or admin.YOURDOMAIN subdomain
/var/www/sites/YOURDOMAIN/htmlRoot directory for your WordPress installation

EngineScript Commands

CommandFunction
es.backupRuns the backup script to backup all domains locally andoptionally in the cloud
es.cacheClear FastCGI Cache, OpCache, and Redis(server-wide)
es.configOpens the configuration file in Nano
es.debugDisplays debug information for EngineScript
es.helpDisplays EngineScript commands and locations
es.imagesLosslessly compress all images in the WordPress /uploads directory(server-wide)
es.infoDisplays server information
es.installRuns the main EngineScript installation script
es.menuEngineScript menu
es.permissionsResets the permissions of all files in the WordPress directory(server-wide)
es.restartRestart Nginx and PHP
es.sitesLists all WordPress sites installed on the server with status information
es.updateUpdate EngineScript
es.variablesOpens the variable file in Nano. This file resets when EngineScript is updated

Admin Control Panel Features

EngineScript includes a comprehensive web-based admin control panel accessible athttps://admin.yourdomain.com. The control panel provides:

Server Monitoring

  • Real-time server statistics (CPU, RAM, disk usage)
  • Service status monitoring (Nginx, PHP, MariaDB, Redis)
  • System activity and security event logging

Uptime Monitoring

EngineScript integrates withUptime Robot to monitor your WordPress websites for uptime and performance:

  • Real-time uptime status for all monitored websites
  • Response time monitoring and alerts
  • Uptime percentage tracking with historical data
  • Automatic status reporting in the admin dashboard

Setup Uptime Robot Integration:

  1. Create a free account atUptimeRobot.com

  2. Generate an API key in Settings > API Settings (Main API Key)

  3. Configure the API key on your server:

    sudo nano /etc/enginescript/uptimerobot.conf
  4. Add your API key:

    api_key=your_main_api_key_here
  5. Set proper permissions:

    sudo chmod 600 /etc/enginescript/uptimerobot.conf

Once configured, your uptime monitoring data will automatically appear in the admin control panel.

File Management

  • Tiny File Manager integration for secure web-based file management
  • Direct access to WordPress files and directories
  • Safe file editing and management interface

Tools & Utilities

  • Quick access to common server management tasks
  • One-click service restarts and cache clearing
  • Server information and diagnostics

Software EngineScript Utilizes

SoftwareVersionSource
Certificate Management
ACME.shhttps://get.acme.sh
Web Server
NGINX MAINLINE1.29.3https://nginx.org/en/download.html
NGINX CACHE PURGE2.5.4https://github.com/nginx-modules/ngx_cache_purge
NGINX HEADERS MORE0.39https://github.com/openresty/headers-more-nginx-module
NGINX PATCH: Dynamic TLS RecordsLatesthttps://github.com/nginx-modules/ngx_http_tls_dyn_size
OPENSSL3.5.4https://www.openssl.org/source/
PCRE210.47https://github.com/PCRE2Project/pcre2/releases
ZLIB-Cloudflarehttps://github.com/cloudflare/zlib
Script Processing
PHP8.4https://launchpad.net/~ondrej/+archive/ubuntu/php
MySQL Database
MARIADB11.8.3https://mariadb.org/download/
Database Management
ADMINER
PHPMYADMIN5.2.3https://www.phpmyadmin.net/downloads/
Admin Control Panel
Chart.js4.5.1https://github.com/chartjs/Chart.js
Font Awesome7.1.0https://github.com/FortAwesome/Font-Awesome
TinyFileManager2.6https://github.com/prasathmani/tinyfilemanager
Object Cache
REDIShttps://redis.io/
Content Management System (CMS)
WORDPRESShttps://wordpress.org
WP-CLIhttps://github.com/wp-cli/wp-cli
WP-CLI: doctor-commandhttps://github.com/wp-cli/doctor-command
WP-CLI: WP Launch Checkhttps://github.com/pantheon-systems/wp_launch_check
PLUGIN: App for Cloudflarehttps://wordpress.org/plugins/app-for-cf/
PLUGIN: Action Schedulerhttps://wordpress.org/plugins/action-scheduler/
PLUGIN: EngineScript: Simple Site Exporter1.9.1https://github.com/EngineScript/Simple-WP-Site-Exporter
PLUGIN: EngineScript: Simple WP Optimizer1.8.0https://github.com/EngineScript/Simple-WP-Optimizer
PLUGIN: MariaDB Health Checks(recommended)https://wordpress.org/plugins/mariadb-health-checks/
PLUGIN: Nginx Helper(required)https://wordpress.org/plugins/nginx-helper/
PLUGIN: Performance Labhttps://wordpress.org/plugins/performance-lab/
PLUGIN: PHP Compatibility Checkerhttps://wordpress.org/plugins/php-compatibility-checker/
PLUGIN: Redis Object Cache(recommended)https://wordpress.org/plugins/redis-cache/
PLUGIN: The SEO Framework(recommended)https://wordpress.org/plugins/autodescription/
PLUGIN: Theme Checkhttps://wordpress.org/plugins/theme-check/
PLUGIN: WP Crontrolhttps://wordpress.org/plugins/wp-crontrol/
PLUGIN: WP Mail SMTPhttps://wordpress.org/plugins/wp-mail-smtp/
PLUGIN: WP OPcache(recommended)https://wordpress.org/plugins/flush-opcache/
Security
MALDETECThttps://www.rfxn.com/projects/linux-malware-detect/
PHP-MALWARE-FINDERhttps://github.com/nbs-system/php-malware-finder
UNCOMPLICATED FIREWALL (UFW)Bundled with Ubuntu
WORDFENCE CLIhttps://github.com/wordfence/wordfence-cli/releases
WPSCANhttps://wpscan.com/
Development Tools
PNGOUT20200115http://www.jonof.id.au/kenutils.html
ZIMAGEOPTIMIZERhttps://github.com/zevilz/zImageOptimizer
Backup Software
LOCAL BACKUPSBash Scripts
AMAZON AWS CLIhttps://aws.amazon.com/cli/
Misc Supplemental Software
LIBURING2.12https://github.com/axboe/liburing
MYSQLTUNERhttps://github.com/major/MySQLTuner-perl
ZLIB1.3.1https://github.com/madler/zlib

Star History

Star History Chart

Releases

No releases published

Contributors5


[8]ページ先頭

©2009-2025 Movatter.jp