Commit Graph

198 Commits

Author SHA1 Message Date
rieger::CLOUD
af60ed8a50 proxy.conf
changed 
proxy_set_header Early-Data $ssl_early_data;
to
proxy_set_header Early-Data \$ssl_early_data;
2018-10-26 06:55:00 +02:00
rieger::CLOUD
595930cdb6 proxy.conf
proxy_set_header Early-Data $ssl_early_data;
to
proxy_set_header Early-Data \$ssl_early_data;
2018-10-26 06:48:37 +02:00
rieger::CLOUD
76dd097128 ssl improvements
cosmetical changes to /etc/apt/source.list
and
added the "ssl_early_data" directive to be used with OpenSSL.
2018-10-25 20:56:30 +02:00
rieger::CLOUD
df2d654726 SSL improvements
cosmetical changes to /etc/apt/source.list
and
added the "ssl_early_data" directive to be used with OpenSSL.
2018-10-25 20:48:34 +02:00
rieger::CLOUD
b4d18ab4b8 Update install-nextcloud.sh 2018-10-09 12:06:04 +02:00
rieger::CLOUD
41eb603c0c Update install-nextcloud-arm64.sh 2018-10-09 12:05:08 +02:00
rieger::CLOUD
6e450af96c Feature Policy
had a typo in the statement add_header Feature-Policy "geolocation 'self'";
2018-10-09 11:01:53 +02:00
rieger::CLOUD
f7e9adc1f3 Feature-Policy
had a typo in the statement:
add_header Feature-Policy "geolocation 'self'";
2018-10-09 11:00:48 +02:00
rieger::CLOUD
f9ac4b5807 Information were added
######################################################################
# PLEASE SUBSTITUTE username PROPERLY, e.g. nextcloud
# PLEASE SUBSTITUTE Your Name PROPERLY, e.g. Carsten Rieger
# PLEASE SUBSTITUTE your@email.com PROPERLY, e.g. info@nextcloud.com
######################################################################
2018-10-09 09:13:24 +02:00
rieger::CLOUD
a08816f0a9 Feature-Policy
Make use of "add_header Feature-Policy "geolocation 'self'""
2018-10-08 11:49:37 +02:00
rieger::CLOUD
a88f5310d4 "Feature-Policy"
Make use of "add_header Feature-Policy "geolocation 'self'""
2018-10-08 11:48:54 +02:00
rieger::CLOUD
1ca7bcafaa ARM64 only
A fork of the initial install-nextcloud.sh script - espeacilly for OdroidC2 environments based on Ubuntu 18.04.1
2018-10-05 18:02:26 +02:00
rieger::CLOUD
9651494709 ARM64 ONLY
Fork of the initial install-nextcloud.sh for ARM64 environments espeacilly Odroid C2
2018-10-05 18:00:34 +02:00
rieger::CLOUD
765f6f69e5 ARM64 only
v. 1.0
2018-10-05 17:43:38 +02:00
rieger::CLOUD
b34395c63b Delete install-nextcloud-odroidc2.sh 2018-10-05 16:07:24 +02:00
rieger::CLOUD
065a0aad95 OdroidC2-ARM64 2018-10-05 14:33:35 +02:00
rieger::CLOUD
048a20899a AMD64 only 2018-10-05 14:30:49 +02:00
rieger::CLOUD
55c2d7d559 Ready for ARM64
###Nextcloud occ db:... (maintenance/optimization)
/usr/sbin/service nginx stop
clear
echo "---------------------------------"
echo "Issue Nextcloud-DB optimizations!"
echo "---------------------------------"
echo "Press 'y' to issue optimizations."
echo "---------------------------------"
echo ""
sudo -u www-data php /var/www/nextcloud/occ db:add-missing-indices
sudo -u www-data php /var/www/nextcloud/occ db:convert-filecache-bigint
/usr/sbin/service nginx start
2018-10-05 13:10:57 +02:00
rieger::CLOUD
b30c30bf7a Optimizations
Preparred for ARM64 and DB optimization were added
2018-10-05 13:02:08 +02:00
rieger::CLOUD
c52a5555eb Cosmetical changes
DB Jobs
2018-10-05 12:59:58 +02:00
rieger::CLOUD
204aec75b1 Nextcloud DB optimizations
echo " Run DB optimizations twice:"
echo ""
sudo -u www-data php /var/www/nextcloud/occ db:add-missing-indices
sudo -u www-data php /var/www/nextcloud/occ db:add-missing-indices
sudo -u www-data php /var/www/nextcloud/occ db:convert-filecache-bigint
sudo -u www-data php /var/www/nextcloud/occ db:convert-filecache-bigint
/usr/sbin/service nginx start
2018-10-05 12:03:07 +02:00
rieger::CLOUD
7f804b2943 Updated the version series
Version Series
2018-10-05 11:54:53 +02:00
rieger::CLOUD
d9c9d6f0f6 ARM64 compatible
Made the script compatible for both: AMD64 and ARM64 yet
2018-10-05 11:51:24 +02:00
rieger::CLOUD
1f5639e87b initial install script
Updated to NGINX 1.15.5
2018-10-02 20:15:22 +02:00
rieger::CLOUD
3c78e8ea9e install script
Updated to NGINX 1.15.5
2018-10-02 20:13:11 +02:00
rieger::CLOUD
fed4518232 Installscript
Nextcloud 14 latest, NGINX 1.15.4, OpenSSL 1.1.1 using TLS v.13, PHP 7.2.10, MariaDB, Redis
2018-10-02 09:31:37 +02:00
rieger::CLOUD
2b9c6cf8a3 Merge pull request #33 from riegercloud/Nextcloud-TLSv1.3
Nextcloud ready for TLS v1.3
2018-10-02 09:00:48 +02:00
rieger::CLOUD
9deb6f26e0 Rules
NGINX rules file for compilation purposes
2018-10-02 08:58:47 +02:00
rieger::CLOUD
baf7db734f Installscript
Ready for NGINX 1.15.4 using OpenSSL 1.1.1 and TLSv1.3
2018-10-02 08:57:59 +02:00
rieger::CLOUD
79b26930f5 Nextcloud latest using TLS 1.3 and OpenSSL 1.1.1
Nextcloud latest using TLS 1.3 and OpenSSL 1.1.1
2018-10-02 08:54:01 +02:00
rieger::CLOUD
e8aa24c49a NGINX RULES
cosmeticals
2018-10-02 08:40:31 +02:00
rieger::CLOUD
88b4fd30ea Compile NGINX using OpenSSL 1.1.1
The script will compile NGINX from scratch to embed OpenSSL 1.1.1 and enable TLSv.13
2018-10-02 08:17:41 +02:00
rieger::CLOUD
9c89c47dc6 Preparation for NGINX
modifications made to the rules file
2018-10-02 08:15:32 +02:00
rieger::CLOUD
15f1433454 More flexible and beyond that
mariadbinfo
2018-09-21 13:41:11 +02:00
rieger::CLOUD
2ad79d61e5 More flexible and beyond that
wget http://nginx.org/keys/nginx_signing.key && apt-key add nginx_signing.key
apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xF1656F24C74CD1D8
2018-09-21 13:34:05 +02:00
rieger::CLOUD
14982d2d30 /usr/local/src/install-nextcloud/*.sh
Beyond that you will find additional scripts at /usr/local/src/install-nextcloud/

    fail2ban.sh
    optimize.sh
    restart.sh
    ssl-renewal.sh

to optimize and maintain your system easily.
2018-09-20 22:09:19 +02:00
rieger::CLOUD
e205d47e40 Additional scripts were added
/usr/local/src/install-nextcloud/*.sh
2018-09-20 21:53:04 +02:00
rieger::CLOUD
719621ec49 renew your letsencrypt ssl certificates weekly
issue: /usr/local/src/install-nextcloud/ssl-renewal.sh
2018-09-20 21:51:27 +02:00
rieger::CLOUD
d9502ba330 restart all services related to your Nextcloud instance
issue: /usr/local/src/install-nextcloud/restart.sh
2018-09-20 21:50:16 +02:00
rieger::CLOUD
5a88b00c55 Optimize your Nextcloud instance
issue: /usr/local/src/install-nextcloud/optimize.sh
2018-09-20 21:48:46 +02:00
rieger::CLOUD
04dfaffc2d Staus quo: Fail2Ban
issue: /usr/local/src/install-nextcloud/fail2ban.sh
2018-09-20 21:47:00 +02:00
rieger::CLOUD
e0320ea960 Staus quo: Fail2Ban
issue: /usr/local/src/install-nextcloud/fail2ban.sh)
2018-09-20 21:46:19 +02:00
rieger::CLOUD
4264612ccf Staus quo: Fail2Ban (e.g.: /root/fail2ban.sh)
fail2ban-client status nextcloud && fail2ban-client status nginx-http-auth && fail2ban-client status sshd
2018-09-20 21:41:25 +02:00
rieger::CLOUD
4e32a24f4b renew your letsencrypt ssl certificates weekly
letsencrypt renew
2018-09-20 21:33:30 +02:00
rieger::CLOUD
5e5b664f4f Optimize your Nextcloud instance
edis-cli -s /var/run/redis/redis-server.sock <<EOF
FLUSHALL
quit
EOF
sudo -u www-data php /var/www/nextcloud/occ files:scan --all
sudo -u www-data php /var/www/nextcloud/occ files:scan-app-data
2018-09-20 21:27:06 +02:00
rieger::CLOUD
a395e5c429 Restart all services related to your Nextcloud instance
/usr/sbin/service nginx stop
/usr/sbin/service mysql restart
/usr/sbin/service redis-server restart
/usr/sbin/service php7.2-fpm restart
/usr/sbin/service nginx restart
2018-09-20 21:26:24 +02:00
rieger::CLOUD
971557378f crontab -e
5 1 * * * /root/optimize.sh > /dev/null 2>&1
2018-09-20 21:23:36 +02:00
rieger::CLOUD
c9251feded Optimization for your Nextcloud instance
Initial script
2018-09-20 21:22:27 +02:00
rieger::CLOUD
32339aa43e More Flexible
sudo -u www-data php /var/www/nextcloud/occ config:system:set trusted_domains 1 --value=$DYNDNSNAME
sudo -u www-data php /var/www/nextcloud/occ config:system:set overwrite.cli.url --value=https://$DYNDNSNAME
2018-09-20 20:58:10 +02:00
rieger::CLOUD
ac33964f09 More Flexible
new: sudo -u www-data php /var/www/nextcloud/occ config:system:set overwrite.cli.url --value=https://$DYNDNSNAME
old: sudo -u www-data sed -in 's/'$YOURSERVERNAME'/'$DYNDNSNAME'/' /var/www/nextcloud/config/config.php
2018-09-20 20:55:29 +02:00