-
-
Notifications
You must be signed in to change notification settings - Fork 60
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 #131 from joglomedia/2.x.x
## v2.6.0 ### New Features - Add LEMPer's installation wrapper script ( https://github.com/joglomedia/LEMPer/blob/2.x.x/lemper.sh ) - Generate default LE's certificate for hostname domain on production environment - Intro to new CLI command `lemper-cli site` ### Bugs Fix - Installer not working on Ubuntu ( Issue #126 ) - locale-gen: command not found ( Issue #127 ) - VSFTPD error install: cannot create regular file ( Issue #128 ) - VSFTPD error Server sent passive reply with unroutable address ( Issue #129 ) - Postfix warning: do not list domain dev.localhost.localdomain in BOTH mydestination and virtual_alias_domains ( Issue #130 ) - Nginx Lua module installation error - PHP multiple version installation error ### Enhancements - Much more script enhancements
- Loading branch information
Showing
65 changed files
with
2,781 additions
and
1,222 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
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 |
---|---|---|
|
@@ -25,6 +25,7 @@ jobs: | |
sed -i "s/SERVER_HOSTNAME=\"\"/SERVER_HOSTNAME=\"gh-ci.lemper.cloud\"/g" .env | ||
sed -i "s/SERVER_IP=\"\"/SERVER_IP=\"127.0.0.1\"/g" .env | ||
sed -i "s/AUTO_INSTALL=false/AUTO_INSTALL=true/g" .env | ||
sed -i "s/FORCE_INSTALL=false/FORCE_INSTALL=true/g" .env | ||
sed -i "s/AUTO_REMOVE=false/AUTO_REMOVE=true/g" .env | ||
sed -i "s/FORCE_REMOVE=false/FORCE_REMOVE=true/g" .env | ||
sed -i "s/LEMPER_ADMIN_EMAIL=\"[email protected]\"/LEMPER_ADMIN_EMAIL=\"[email protected]\"/g" .env | ||
|
@@ -57,15 +58,16 @@ jobs: | |
TERM: xterm-256color | ||
run: | | ||
set -ex | ||
shellcheck -s bash -x lemper.sh | ||
shellcheck -s bash -x install.sh | ||
shellcheck -s bash -x remove.sh | ||
shellcheck -s bash -x bin/lemper-*.sh | ||
shellcheck -s bash -x lib/lemper-*.sh | ||
shellcheck -s bash -x scripts/cleanup_server.sh | ||
shellcheck -s bash -x scripts/helper.sh | ||
shellcheck -s bash -x scripts/cleanup_server.sh | ||
shellcheck -s bash -x scripts/secure_server.sh | ||
shellcheck -s bash -x scripts/install_*.sh | ||
shellcheck -s bash -x scripts/remove_*.sh | ||
shellcheck -s bash -x scripts/secure_server.sh | ||
# Simple Unit Tests | ||
- name: Run unit testing | ||
env: | ||
|
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 |
---|---|---|
@@ -1,16 +1,18 @@ | ||
.env | ||
.env~ | ||
.env.bak | ||
.env.save | ||
.travis.yml | ||
install.log | ||
lemper.log | ||
lemper.sh | ||
scripts/install_ffmpeg.sh | ||
scripts/createssl.sh | ||
scripts/mysqltuner.pl | ||
lemper_install.log | ||
LEMPer.wiki | ||
bin/lemper-cli-enc | ||
bin/lemper-cli-enc.sh | ||
bin/lemper-cli-enc.sh.x.c | ||
bin/lemperography.php | ||
LEMPer.wiki | ||
install.log | ||
#lib/lemper-create.sh | ||
#lib/lemper-manage.sh | ||
#lib/lemper-manage.sh | ||
scripts/install_ffmpeg.sh | ||
scripts/createssl.sh | ||
scripts/mysqltuner.pl |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
# +-------------------------------------------------------------------------+ | ||
# | Lemper CLI - Simple LEMP Stack Manager | | ||
# +-------------------------------------------------------------------------+ | ||
# | Copyright (c) 2014-2021 MasEDI.Net (https://masedi.net/lemper) | | ||
# | Copyright (c) 2014-2022 MasEDI.Net (https://masedi.net/lemper) | | ||
# +-------------------------------------------------------------------------+ | ||
# | This source file is subject to the GNU General Public License | | ||
# | that is bundled with this package in the file LICENSE.md. | | ||
|
@@ -15,7 +15,9 @@ | |
# | Authors: Edi Septriyanto <[email protected]> | | ||
# +-------------------------------------------------------------------------+ | ||
|
||
set -e | ||
# Work even if somebody does "bash lemper-cli.sh". | ||
#set -exv -o pipefail # For verbose output. | ||
set -e -o pipefail | ||
|
||
# Version control. | ||
PROG_NAME=$(basename "$0") | ||
|
@@ -201,15 +203,15 @@ function init_lemper_cli() { | |
. "${CLI_PLUGINS_DIR}/lemper-${CMD}" "$@" | ||
exit 0 | ||
else | ||
echo "${PROG_NAME}: '${CMD}' is not ${PROG_NAME} command." | ||
echo "See '${PROG_NAME} --help' for more information." | ||
echo "${PROG_NAME}: '${CMD}' is not ${PROG_NAME} command" | ||
echo "See '${PROG_NAME} --help' for more information" | ||
exit 1 | ||
fi | ||
;; | ||
esac | ||
else | ||
echo "${PROG_NAME}: missing required arguments." | ||
echo "See '${PROG_NAME} --help' for more information." | ||
echo "${PROG_NAME}: missing required arguments" | ||
echo "See '${PROG_NAME} --help' for more information" | ||
exit 1 | ||
fi | ||
} | ||
|
Oops, something went wrong.