Commit 424ef694 authored by w4t's avatar w4t

wtserver 0.05

parent ff1a9d74
...@@ -147,7 +147,7 @@ AskQuestions() { ...@@ -147,7 +147,7 @@ AskQuestions() {
while [ "x$CFG_PHP_VERSION" == "x" ]; do while [ "x$CFG_PHP_VERSION" == "x" ]; do
CFG_PHP_VERSION=$(whiptail --title "Choose PHP Version(s)" --backtitle "$WT_BACKTITLE" --nocancel --separate-output --checklist \ CFG_PHP_VERSION=$(whiptail --title "Choose PHP Version(s)" --backtitle "$WT_BACKTITLE" --nocancel --separate-output --checklist \
"Choose PHP Version do you want to install" $WT_HEIGHT $WT_WIDTH 12 \ "Choose PHP Version do you want to install" $WT_HEIGHT $WT_WIDTH 13 \
"php5.5" "Latest Available from 5.5" OFF \ "php5.5" "Latest Available from 5.5" OFF \
"php5.6" "Latest Available from 5.6" OFF \ "php5.6" "Latest Available from 5.6" OFF \
"php7.0" "Latest Available from 7.0" OFF \ "php7.0" "Latest Available from 7.0" OFF \
......
...@@ -36,7 +36,7 @@ InstallBasics() { ...@@ -36,7 +36,7 @@ InstallBasics() {
echo -e "[${green}OK${NC}]" echo -e "[${green}OK${NC}]"
fi fi
echo -n "Installing basic packages (OpenSSH server, NTP, binutils, Rootkit detection (rkhunter) etc.)... " echo -n "Installing basic packages (OpenSSH server, NTP, binutils, Rootkit detection (rkhunter) etc)... "
apt_install patch ssh openssh-server nano vim-nox ntp debconf-utils binutils sudo git lsb-release e2fsprogs curl rkhunter unzip wget htop nano zip apt_install patch ssh openssh-server nano vim-nox ntp debconf-utils binutils sudo git lsb-release e2fsprogs curl rkhunter unzip wget htop nano zip
if [ $? -eq 0 ]; then if [ $? -eq 0 ]; then
echo -e "[${green}DONE${NC}]" echo -e "[${green}DONE${NC}]"
......
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
# Install and configure Apache2, Nginx, PHP + modules, and security # Install and configure Apache2, Nginx, PHP + modules, and security
#-------------------------------------------------------------------- #--------------------------------------------------------------------
InstallWebServer() { InstallWebServer() {
echo -n -e "$IDENTATION_LVL_0 ${BWhite}Installing Web server...${NC}\n"
if [ "$CFG_WEBSERVER" == "apache" ]; then if [ "$CFG_WEBSERVER" == "apache" ]; then
CFG_NGINX=n CFG_NGINX=n
CFG_APACHE=y CFG_APACHE=y
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment