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
rieger::CLOUD
f787109d0c
More flexible
...
You will be asked for the database name either.
At least the overwrite url is set by occ command.
2018-09-20 20:51:05 +02:00
rieger::CLOUD
e13862517a
changed nextcloud db
...
change nextcloud database to ncdb database
2018-09-20 20:03:10 +02:00
rieger::CLOUD
52243362cd
PHP Update
...
Updated to PHP 7.2.10
2018-09-20 11:57:40 +02:00
rieger::CLOUD
91eea4af9f
Cosmetical one
...
echo "***********************************************************"
echo "You will be asked to set the MariaDB root password 3 times."
echo ""
echo "Please just confirm the dialogue (ENTER)."
echo ""
echo "You will be asked again to set the root pwd"
echo "while harden your MariaDB Server!"
echo "*********************************************************"
2018-09-20 11:52:17 +02:00
rieger::CLOUD
f2d56e36f7
Updated repos once again
...
mv /etc/apt/sources.list /etc/apt/sources.list.bak && touch /etc/apt/sources.list
cat <<EOF >>/etc/apt/sources.list
deb http://archive.ubuntu.com/ubuntu bionic main multiverse restricted universe
deb http://archive.ubuntu.com/ubuntu bionic-security main multiverse restricted universe
deb http://archive.ubuntu.com/ubuntu bionic-updates main multiverse restricted universe
deb http://nginx.org/packages/mainline/ubuntu/ bionic nginx
deb-src http://nginx.org/packages/mainline/ubuntu/ bionic nginx
deb [arch=amd64] http://ftp.hosteurope.de/mirror/mariadb.org/repo/10.3/ubuntu bionic main
EOF
2018-09-20 11:43:27 +02:00
rieger::CLOUD
20d9096cd3
missed one file
...
touch /etc/apt/sources.list
2018-09-20 11:36:27 +02:00
rieger::CLOUD
15d8c5d4fc
updates to the repositories
...
made different changes to all the repos (/etc/apt/sources.list)
2018-09-20 11:01:01 +02:00
rieger::CLOUD
440c39a88f
Changed two mountpoints
...
# sed -i '$atmpfs /tmp tmpfs defaults,noatime,nosuid,nodev,noexec,mode=1777 0 0' /etc/fstab
# sed -i '$atmpfs /var/tmp tmpfs defaults,noatime,nosuid,nodev,noexec,mode=1777 0 0' /etc/fstab
2018-09-11 10:29:12 +02:00
rieger::CLOUD
700390b72d
no longer maintained
...
failure/broken
2018-09-06 12:49:32 +02:00
rieger::CLOUD
0bbc75d324
Nextcloud 14
...
Nextcloud 14 was released
2018-09-06 12:46:22 +02:00
rieger::CLOUD
ad3e1645ef
Nextcloud 14
...
Nextcloud 14 released today!
2018-09-06 12:44:36 +02:00
rieger::CLOUD
a94467558c
Nextcloud update failed
...
Caused by /var/www/nextcloud.user.ini.bak the update interrupted. The file was moved to /usr/local/src.
2018-08-31 15:38:20 +02:00
rieger::CLOUD
9bfb4e3023
Nextcloud Update failed
...
Caused by /var/www/nextcloud.user.ini.bak the update interrupted. The file was moved to /usr/local/src.
2018-08-31 15:37:50 +02:00
rieger::CLOUD
cebd27c670
Nextcloud 13.0.6
...
Updated
2018-08-31 15:36:14 +02:00
rieger::CLOUD
8f2c670d87
Update failure caused by /var/www/nextcloud.user.ini.bak
...
cp /var/www/nextcloud/.user.ini /usr/local/src/.user.ini.bak
2018-08-31 15:34:32 +02:00
rieger::CLOUD
61757ca163
Update failure using caused by //var/www/nextcloud/.user.ini.bak
...
cp /var/www/nextcloud/.user.ini /usr/local/src/.user.ini.bak
2018-08-31 15:31:59 +02:00
rieger::CLOUD
f905fa218c
.user.ini.bak broke the update
...
cp /var/www/nextcloud/.user.ini /usr/local/src/.user.ini.bak
2018-08-31 15:29:50 +02:00
rieger::CLOUD
02f45aea7a
Update README.md
2018-08-23 12:03:58 +02:00
rieger::CLOUD
92f42146f5
Merge pull request #31 from riegercloud/WiP
...
Alignment to the main guide
2018-08-23 12:03:12 +02:00
rieger::CLOUD
7c2bbba408
Alignment to the main guide
...
Changes to /etc/nginx/nginx.conf and ssl.conf
2018-08-23 12:02:38 +02:00
rieger::CLOUD
b155c61dc0
Merge pull request #30 from riegercloud/WiP
...
Alignment to the main guide
2018-08-23 11:57:43 +02:00
rieger::CLOUD
b387dcc603
Alignment to the main guide
...
Changes to /etc/nginx/nginx.conf and ssl.conf
2018-08-23 11:57:12 +02:00
rieger::CLOUD
669d9fe41b
Missing php7.2-zip on Ubuntu 18.04.1
...
Added a repo: de.archive.ubuntu.com/ubuntu
2018-07-27 18:25:17 +02:00
rieger::CLOUD
a4ce890c2c
Missing php7.2-zip on Ubuntu 18.04.1
...
added a repo: de.archive.ubuntu.com/ubuntu
2018-07-27 18:24:37 +02:00
rieger::CLOUD
ae766c1a8f
Missing php7.2-zip on Ubuntu 18.04.1
...
Added a Repo
2018-07-27 18:19:16 +02:00
rieger::CLOUD
459c7711e0
Missing php7.2-zip on Ubuntu 18.04.1
...
added a Repo for missing libzip4 on Ubuntu 18.04.1
2018-07-27 18:17:31 +02:00
rieger::CLOUD
32a5cc94ed
Ready for Nextcloud 14
2018-07-27 07:16:25 +02:00
rieger::CLOUD
b2f94c8b99
Changes to /etc/nginx/header.conf
...
add_header Referrer-Policy "no-referrer" always;
2018-07-27 07:12:33 +02:00
rieger::CLOUD
af1f11e955
Changes to /etc/nginx/header.conf
...
add_header Referrer-Policy "no-referrer" always;
2018-07-27 07:10:50 +02:00
rieger::CLOUD
622f63b15e
Changes to the /etc/nginx/header.conf
...
add_header Referrer-Policy "no-referrer" always;
2018-07-27 07:08:10 +02:00