diff --git a/examples/authelia/setup-linux.sh b/examples/authelia/setup-linux.sh index e7d7a3230..c76f228c8 100755 --- a/examples/authelia/setup-linux.sh +++ b/examples/authelia/setup-linux.sh @@ -6,7 +6,7 @@ if [ $(id -u) -ne 0 ] ; then fi curl https://github.com/authelia/authelia/releases/download/v4.36.2/authelia-v4.36.2-linux-amd64.tar.gz -Lo /tmp/authelia.tar.gz -tar -xvzf /tmp/authelia.tar.gz -C /tmp +tar -xzf /tmp/authelia.tar.gz -C /tmp mv /tmp/authelia-linux-amd64 /usr/bin/authelia mv /tmp/authelia.service /etc/systemd/system mkdir /etc/authelia @@ -16,4 +16,4 @@ sed -i "s@redis:@@g" /etc/authelia/configuration.yml sed -i "s@host: redis@@g" /etc/authelia/configuration.yml sed -i "s@port: 6379@@g" /etc/authelia/configuration.yml systemctl daemon-reload -systemctl start authelia \ No newline at end of file +systemctl start authelia diff --git a/examples/drupal/setup-linux.sh b/examples/drupal/setup-linux.sh index 2a53aeed6..4d9a23265 100755 --- a/examples/drupal/setup-linux.sh +++ b/examples/drupal/setup-linux.sh @@ -14,10 +14,10 @@ else exit 1 fi curl https://releases.mattermost.com/7.2.0/mattermost-7.2.0-linux-amd64.tar.gz -Lo /tmp/mattermost.tar.gz -tar -xvzf /tmp/mattermost.tar.gz -C /tmp +tar -xzf /tmp/mattermost.tar.gz -C /tmp cd /tmp/drupal-* cp -r * /opt/bunkerweb/www chown -R $user:nginx /opt/bunkerweb/www find /opt/bunkerweb/www -type f -exec chmod 0640 {} \; find /opt/bunkerweb/www -type d -exec chmod 0750 {} \; -cp -r bw-data/configs/* /opt/bunkerweb/configs \ No newline at end of file +cp -r bw-data/configs/* /opt/bunkerweb/configs diff --git a/examples/joomla/setup-linux.sh b/examples/joomla/setup-linux.sh index 16473e4b6..dbb108f6e 100755 --- a/examples/joomla/setup-linux.sh +++ b/examples/joomla/setup-linux.sh @@ -14,7 +14,7 @@ else exit 1 fi curl https://downloads.joomla.org/fr/cms/joomla4/4-1-5/Joomla_4-1-5-Stable-Full_Package.zip?format=zip -Lo /tmp/joomla.zip -unzip /tmp/joomla.zip -d /opt/bunkerweb/www +unzip -qq /tmp/joomla.zip -d /opt/bunkerweb/www chown -R $user:nginx /opt/bunkerweb/www find /opt/bunkerweb/www -type f -exec chmod 0640 {} \; -find /opt/bunkerweb/www -type d -exec chmod 0750 {} \; \ No newline at end of file +find /opt/bunkerweb/www -type d -exec chmod 0750 {} \; diff --git a/examples/moodle/setup-linux.sh b/examples/moodle/setup-linux.sh index 14888876c..5bfa4ee53 100755 --- a/examples/moodle/setup-linux.sh +++ b/examples/moodle/setup-linux.sh @@ -14,8 +14,8 @@ else exit 1 fi curl https://download.moodle.org/download.php/direct/stable400/moodle-4.0.2.tgz -Lo /tmp/moodle.tgz -tar -xvzf /tmp/moodle.tgz -C /tmp +tar -xzf /tmp/moodle.tgz -C /tmp cp -r /tmp/moodle/* /opt/bunkerweb/www chown -R $user:nginx /opt/bunkerweb/www find /opt/bunkerweb/www -type f -exec chmod 0640 {} \; -find /opt/bunkerweb/www -type d -exec chmod 0750 {} \; \ No newline at end of file +find /opt/bunkerweb/www -type d -exec chmod 0750 {} \; diff --git a/examples/moodle/variables.env b/examples/moodle/variables.env new file mode 100644 index 000000000..3aa98bee9 --- /dev/null +++ b/examples/moodle/variables.env @@ -0,0 +1,12 @@ +HTTP_PORT=80 +HTTPS_PORT=443 +DNS_RESOLVERS=8.8.8.8 8.8.4.4 +# Replace with your domain +SERVER_NAME=www.example.com +DISABLE_DEFAULT_SERVER=yes +AUTO_LETS_ENCRYPT=yes +USE_CLIENT_CACHE=yes +USE_GZIP=yes +MAX_CLIENT_SIZE=50m +LOCAL_PHP=/run/php/php-fpm.sock +LOCAL_PHP_PATH=/opt/bunkerweb/www diff --git a/examples/nextcloud/setup-linux.sh b/examples/nextcloud/setup-linux.sh index 0b827c438..dd303180a 100755 --- a/examples/nextcloud/setup-linux.sh +++ b/examples/nextcloud/setup-linux.sh @@ -14,9 +14,9 @@ else exit 1 fi curl https://download.nextcloud.com/server/releases/latest.zip -Lo /tmp/nextcloud.zip -unzip /tmp/nextcloud.zip -d /tmp +unzip -qq /tmp/nextcloud.zip -d /tmp cp -r /tmp/nextcloud/* /opt/bunkerweb/www chown -R $user:nginx /opt/bunkerweb/www find /opt/bunkerweb/www -type f -exec chmod 0640 {} \; find /opt/bunkerweb/www -type d -exec chmod 0750 {} \; -cp -r bw-data/configs/* /opt/bunkerweb/configs \ No newline at end of file +cp -r bw-data/configs/* /opt/bunkerweb/configs diff --git a/examples/wordpress/setup-linux.sh b/examples/wordpress/setup-linux.sh index 62fdcc25a..bed2e85da 100755 --- a/examples/wordpress/setup-linux.sh +++ b/examples/wordpress/setup-linux.sh @@ -14,8 +14,8 @@ else exit 1 fi curl https://wordpress.org/latest.zip -Lo /tmp/wordpress.zip -unzip /tmp/wordpress.zip -d /tmp +unzip -qq /tmp/wordpress.zip -d /tmp cp -r /tmp/wordpress/* /opt/bunkerweb/www chown -R $user:nginx /opt/bunkerweb/www find /opt/bunkerweb/www -type f -exec chmod 0640 {} \; -find /opt/bunkerweb/www -type d -exec chmod 0750 {} \; \ No newline at end of file +find /opt/bunkerweb/www -type d -exec chmod 0750 {} \;