From e2b0ed660e1e01d90e534ad177dd72d069c3f281 Mon Sep 17 00:00:00 2001 From: rnsrk Date: Tue, 28 Sep 2021 14:39:26 +0200 Subject: [PATCH] update README --- README.MD | 4 ++-- install_wisski.bash | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.MD b/README.MD index 3468857..bca4c92 100644 --- a/README.MD +++ b/README.MD @@ -1,4 +1,4 @@ # INSTALL WISSKI SCRIPT -This script installs a LAMP-Stack (Apache2, PHP, latest Mariadb) on your Ubuntu 20.04 machine and everything you need to start an install of the latest Drupal version (composer and drush). You can choose between a local development or production environment and you have the possibility to activate https support. WissKI and all necessary modules/ libraries are downloaded and you have to activate them after your Drupal installation. +This script installs a LAMP-Stack (Apache2, PHP, Mariadb) or complete missing parts on your Ubuntu 20.04 (or higher) and everything you need to start an install of the latest Drupal version (composer and drush). You can choose between a local development or production environment and you have the possibility to activate ssl support (manually or with certbot). WissKI and all necessary modules/ libraries could be downloaded. Just run the Drupal installer after the script has finished and activate required WissKI modules. Please keep in mind that WissKI needs a triple store to work. Just run `sudo ./install_wisski.bash` in your console. - +more information at [WissKI](wisskieu.nasarek.org) \ No newline at end of file diff --git a/install_wisski.bash b/install_wisski.bash index 441f905..42a8b19 100755 --- a/install_wisski.bash +++ b/install_wisski.bash @@ -183,7 +183,7 @@ fi for REQUIREDPKG in "${DEPENDENCIES[@]}" do if [[ "$(dpkg-query -W --showformat='${Status}\n' $REQUIREDPKG)" == "install ok installed" ]]; then - echo -e "${GREEN}${REQUIREDPKG} is installed." + echo -e "${GREEN}${REQUIREDPKG} is installed.${RED}" delete=(${REQUIREDPKG}) for target in "${delete[@]}"; do for i in "${!DEPENDENCIES[@]}"; do @@ -412,9 +412,9 @@ while true; do echo -e "${GREEN}Write config to \"/etc/apache2/sites-available/${WEBSITENAME}\"" echo "${SITECONFIG}" > /etc/apache2/sites-available/${WEBSITENAME}.conf echo -e "${GREEN}Enable site ${WEBSITENAME}${NC}" - a2ensite ${WEBSITENAME} + a2ensite ${WEBSITENAME} &> /dev/null echo -e "${GREEN}Restart apache server${NC}" - systemctl restart apache2 + systemctl restart apache2 &> /dev/null echo "a2dissite ${WEBSITENAME}" >> remove_${WEBSITENAME}_configs.bash echo "rm /etc/apache2/sites-available/${WEBSITENAME}.conf" >> remove_${WEBSITENAME}_configs.bash break;;