-
-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #82 from joglomedia/2.0.x
### New Features - Add swap disable/enable feature - Add Lua, NDK, NJS module (experiment) ### Bug Fixes - Installation tries to allocate 0MiB swap file and fails ( Issue #76 ) - PHP failed to load after installation if LEMPER_USERNAME value set to not empty ( Issue #79 ) - Default username not deleted during removal if LEMPER_USERNAME value set to not empty ( Issue #80 ) - Nginx error when ssl enabled ( Issue #81 ) ### Enhancements - Recalculate swap size - Default PHP removal - Environment variables adjustment
- Loading branch information
Showing
17 changed files
with
247 additions
and
113 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,21 +8,7 @@ | |
# Use development for local environment or production for live environment. | ||
ENVIRONMENT="production" | ||
|
||
# Auto install, true for auto installation, | ||
# false for manual or guided installation. | ||
AUTO_INSTALL=true | ||
|
||
# Cleanup existing LEMP / LAMP stack installation. | ||
AUTO_REMOVE=false | ||
FORCE_REMOVE=false | ||
|
||
# Dry run install, true for testing only. | ||
DRYRUN=false | ||
|
||
# Logging for installation process. | ||
LOGGING=true | ||
|
||
# Server hostname must be valid FQDN format, leave it blank for system default. | ||
# In production, server hostname must be valid FQDN format (e.g. hostname.domain.ext). | ||
SERVER_HOSTNAME="" | ||
|
||
# Server IP address, leave it blank for auto detection. | ||
|
@@ -44,6 +30,26 @@ ADMIN_EMAIL="[email protected]" | |
# Example: Asia/Jakarta | ||
TIMEZONE="UTC" | ||
|
||
# Auto install, true for auto installation, | ||
# false for manual or guided installation. | ||
AUTO_INSTALL=true | ||
|
||
# Cleanup existing LEMP / LAMP stack installation. | ||
AUTO_REMOVE=false | ||
FORCE_REMOVE=false | ||
|
||
# Fix broken packages | ||
FIX_BROKEN=false | ||
|
||
# Dry run install, true for testing only. | ||
DRYRUN=false | ||
|
||
# Logging for installation process. | ||
LOGGING=true | ||
|
||
# Allocate memory to work as swap. | ||
ENABLE_SWAP=true | ||
|
||
# Build directorty. | ||
BUILD_DIR="/usr/local/src/lemper" | ||
|
||
|
@@ -66,6 +72,8 @@ HASH_LENGTH=2048 | |
|
||
[nginx] | ||
INSTALL_NGINX=true | ||
|
||
# Available Nginx installer: repo | source | ||
NGINX_INSTALLER="source" | ||
|
||
# Supported Nginx version: stable (lts) | latest (mainline), | ||
|
@@ -111,10 +119,13 @@ GEOLITE2_LICENSE_KEY="" | |
|
||
NGX_HTTP_HEADERS_MORE=true | ||
NGX_HTTP_IMAGE_FILTER=true | ||
NGX_HTTP_MEMCACHED=true | ||
NGX_HTTP_NAXSI=true | ||
NGX_HTTP_LUA=false | ||
NGX_HTTP_MEMCACHED=false | ||
NGX_HTTP_NAXSI=false | ||
NGX_HTTP_NDK=false | ||
NGX_HTTP_NJS=false | ||
NGX_HTTP_PASSENGER=false | ||
NGX_HTTP_REDIS2=true | ||
NGX_HTTP_REDIS2=false | ||
NGX_HTTP_SUBS_FILTER=true | ||
NGX_HTTP_UPSTREAM_FAIR=true | ||
NGX_HTTP_VTS=true | ||
|
@@ -131,36 +142,42 @@ INSTALL_PHP=true | |
# It is highly recommended to install PHP version 7.4 or greater. | ||
PHP_VERSION="7.4" | ||
|
||
[php-loader] | ||
# PHP Loader is a PHP extension (module) that enables PHP | ||
# to load protected and encoded files. | ||
INSTALL_PHP_LOADER=false | ||
|
||
# Available PHP loader: ioncube | sourceguardian | ||
# leave it blank or "none" to skip PHP loader installation. | ||
PHP_LOADER="none" | ||
|
||
[php-imagemagick] | ||
# ImageMagick is a free and open-source software suite for manipulating raster and vector image. | ||
INSTALL_PHP_IMAGEMAGICK=true | ||
|
||
# Available ImageMagick & PHP module installer: repo | source | ||
# leave it blank or "none" to skip PHP ImageMagick installation. | ||
PHP_IMAGEMAGICK_INSTALLER="repo" | ||
|
||
# Available ImageMagick version: 6.9.10-62 | 7.0.10-14 | latest | ||
PHP_IMAGEMAGICK_VERSION="7.0.10-14" | ||
# Available ImageMagick version: 6.9.10-62 | 7.1.0-0 | latest | ||
PHP_IMAGEMAGICK_VERSION="7.1.0-0" | ||
|
||
[php-phalcon] | ||
# Phalcon is a PHP web framework based on the MVC pattern delivered as C-extension. | ||
INSTALL_PHP_PHALCON=false | ||
|
||
# Available Phalcon installer: repo | source | ||
# leave it blank or "none" to skip Phalcon installation. | ||
PHP_PHALCON_INSTALLER="source" | ||
PHP_PHALCON_INSTALLER="repo" | ||
|
||
# Available Phalcon version: 3.4.5 | 4.0.6 | latest | ||
PHP_PHALCON_VERSION="4.1.2" | ||
|
||
# Phalcon zephir transpiler. | ||
PHP_ZEPHIR_INSTALL=false | ||
INSTALL_PHP_ZEPHIR=false | ||
PHP_ZEPHIR_VERSION="0.12.19" | ||
|
||
[php-composer] | ||
INSTALL_PHPCOMPOSER=true | ||
INSTALL_PHP_COMPOSER=true | ||
|
||
[mysql] | ||
INSTALL_MYSQL=true | ||
|
@@ -212,7 +229,7 @@ REDIS_INSTALLER="repo" | |
REDIS_VERSION="stable" | ||
|
||
# Enable pass authentication. | ||
REDIS_REQUIREPASS=false | ||
REDIS_REQUIRE_PASS=false | ||
REDIS_PASSWORD="" | ||
|
||
[dns] | ||
|
@@ -231,15 +248,15 @@ SENDER_DOMAIN="example.com" | |
INSTALL_CERTBOT=true | ||
|
||
[firewall] | ||
INSTALL_FW=true | ||
INSTALL_FW=false | ||
|
||
# Firewall configurator engine | ||
# available engine: ufw | csf | apf | ||
# UFW is default Ubuntu firewall configurator. | ||
FW_ENGINE="ufw" | ||
|
||
[fail2ban] | ||
INSTALL_FAIL2BAN=true | ||
INSTALL_FAIL2BAN=false | ||
|
||
# Available installer: repo | source. | ||
FAIL2BAN_INSTALLER="source" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.