mirror of
https://github.com/joglomedia/LEMPer.git
synced 2026-04-13 00:18:31 +00:00
minor update
This commit is contained in:
@@ -81,7 +81,7 @@ run apt-get update -y
|
||||
# Install pre-requirements
|
||||
#python-software-properties
|
||||
run apt-get install -y software-properties-common build-essential git unzip cron curl gnupg2 ca-certificates \
|
||||
lsb-release rsync libgd-dev libgeoip-dev libxslt1-dev libssl-dev libxml2-dev openssl snmp spawn-fcgi fcgiwrap geoip-database
|
||||
lsb-release rsync libgd-dev libgeoip-dev libxslt1-dev libssl-dev libxml2-dev openssl
|
||||
|
||||
status "Adding repositories completed..."
|
||||
|
||||
|
||||
@@ -88,11 +88,25 @@ function header_msg() {
|
||||
clear
|
||||
cat <<- _EOF_
|
||||
#========================================================================#
|
||||
# LEMPer v1.6.0 for Ubuntu Server , Written by ESLabs.ID #
|
||||
# LEMPer v1.0.0 for Ubuntu Server , Written by ESLabs.ID #
|
||||
#========================================================================#
|
||||
# A small tool to install Nginx + MariaDB (MySQL) + PHP on Linux #
|
||||
# #
|
||||
# For more information please visit https://ngxtools.eslabs.id #
|
||||
# For more information please visit https://eslabs.id/lemper #
|
||||
#========================================================================#
|
||||
_EOF_
|
||||
}
|
||||
|
||||
function footer_msg() {
|
||||
echo -e "\n"
|
||||
cat <<- _EOF_
|
||||
#==========================================================================#
|
||||
# Thank's for installing LNMP stack using LEMPer Installer #
|
||||
# Found any bugs / errors / suggestions? please let me know #
|
||||
# If this script useful, don't forget to buy me a coffee or milk :D #
|
||||
# My PayPal is always open for donation, here https://paypal.me/masedi #
|
||||
# #
|
||||
# (c) 2014-2019 - ESLabs.ID - https://eslabs.id/lemper ;) #
|
||||
#==========================================================================#
|
||||
_EOF_
|
||||
}
|
||||
|
||||
@@ -35,7 +35,8 @@ function install_php() {
|
||||
php${PHPv}-bcmath php${PHPv}-curl php${PHPv}-gd php${PHPv}-intl php${PHPv}-json php${PHPv}-mbstring \
|
||||
php${PHPv}-imap php${PHPv}-pspell php${PHPv}-recode php${PHPv}-snmp php${PHPv}-sqlite3 php${PHPv}-tidy \
|
||||
php${PHPv}-readline php${PHPv}-xml php${PHPv}-xmlrpc php${PHPv}-xsl php${PHPv}-gmp php${PHPv}-opcache \
|
||||
php${PHPv}-soap php${PHPv}-zip php${PHPv}-ldap php${PHPv}-dev php-geoip php-pear pkg-php-tools php-phalcon
|
||||
php${PHPv}-soap php${PHPv}-zip php${PHPv}-ldap php${PHPv}-dev php-geoip php-pear pkg-php-tools php-phalcon \
|
||||
snmp spawn-fcgi fcgiwrap geoip-database
|
||||
|
||||
# Install php mcrypt?
|
||||
echo -en "\nDo you want to install PHP Mcrypt for encryption/decryption? [Y/n]: "
|
||||
@@ -85,7 +86,8 @@ function remove_php() {
|
||||
php${PHPv}-bcmath php${PHPv}-curl php${PHPv}-gd php${PHPv}-intl php${PHPv}-json php${PHPv}-mbstring \
|
||||
php${PHPv}-imap php${PHPv}-pspell php${PHPv}-recode php${PHPv}-snmp php${PHPv}-sqlite3 php${PHPv}-tidy \
|
||||
php${PHPv}-readline php${PHPv}-xml php${PHPv}-xmlrpc php${PHPv}-xsl php${PHPv}-gmp php${PHPv}-opcache \
|
||||
php${PHPv}-soap php${PHPv}-zip php${PHPv}-ldap php${PHPv}-dev php-geoip php-pear pkg-php-tools php-phalcon
|
||||
php${PHPv}-soap php${PHPv}-zip php${PHPv}-ldap php${PHPv}-dev php-geoip php-pear pkg-php-tools php-phalcon \
|
||||
snmp spawn-fcgi fcgiwrap geoip-database
|
||||
|
||||
isMcrypt=$(/usr/bin/php${PHPv} -m | grep mcrypt)
|
||||
if [[ "_$isMcrypt" == "_mcrypt" ]]; then
|
||||
|
||||
Reference in New Issue
Block a user