Commit Graph

84 Commits

Author SHA1 Message Date
rieger::CLOUD
a97eceafbe Welcome to Nextcloud 15
################################################
# Carsten Rieger IT-Services
# https://www.c-rieger.de
# https://github.com/riegercloud
# INSTALL-NEXTCLOUD.SH
# Version 6.8 (AMD64)
# Nextcloud 15
# OpenSSL 1.1.1, TLSv1.3, NGINX 1.15.7
# December, 10th 2018
################################################
# Ubuntu 18.04 LTS AMD64 - Nextcloud 15
################################################
2018-12-10 14:02:41 +01:00
rieger::CLOUD
41b416f13b NGINX 1.15.7
################################################
# Carsten Rieger IT-Services
# https://www.c-rieger.de
# https://github.com/riegercloud
# INSTALL-NEXTCLOUD.SH
# Version 6.7 (AMD64)
# OpenSSL 1.1.1, TLSv1.3, NGINX 1.15.7
# November, 27th 2018
################################################
# Ubuntu 18.04 LTS AMD64 - Nextcloud 14
################################################
2018-11-27 20:02:48 +01:00
rieger::CLOUD
a8e588e895 NGINX 1.15.6
NGINX updated to 1.15.6
2018-11-08 07:33:22 +01:00
rieger::CLOUD
83760ebf78 function phpimagickexception()
Solution for ImagickException in /var/nc_data/nextcloud.log as described here:
https://www.c-rieger.de/spawn-your-nextcloud-server-using-one-shell-script/
2018-10-26 07:05:36 +02:00
rieger::CLOUD
46067a87d7 implementation of the phpimagickexception()
Solution for ImagickException in /var/nc_data/nextcloud.log
2018-10-26 07:04:38 +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
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
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
a88f5310d4 "Feature-Policy"
Make use of "add_header Feature-Policy "geolocation 'self'""
2018-10-08 11:48:54 +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
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
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
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
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
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
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
0bbc75d324 Nextcloud 14
Nextcloud 14 was released
2018-09-06 12:46:22 +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
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
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
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
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
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
rieger::CLOUD
d87c347e3e MariaDB 10.3.8 2018-07-26 12:12:44 +02:00
rieger::CLOUD
055ee27ea4 MariaDB 10.3.8
added a hint regarding the MariaDB root password
2018-07-26 12:09:46 +02:00
rieger::CLOUD
ce14f759b6 MariaDB
added a hint regarding MariaDB pwd
2018-07-26 12:06:06 +02:00
rieger::CLOUD
8bb081ce9e Changes to MariaDB 10.3.8
Based on AMD 64
2018-07-26 11:09:31 +02:00
rieger::CLOUD
f18cc7fd31 AMD64 2018-07-26 10:53:03 +02:00
rieger::CLOUD
6b8d9f247f ARM64 2018-07-26 10:47:53 +02:00
rieger::CLOUD
0d5e663468 Solved Issue 22 - rows 41-51:
Version 3.6
Solved Issue 22 - rows 41-51:
https://github.com/riegercloud/install-nextcloud/issues/22
July, 24th, 2018
2018-07-24 14:37:14 +02:00
rieger::CLOUD
f329ac4ba5 Clean history
rm ~/.bash_history && history -c && history -w
2018-07-24 14:23:01 +02:00
rieger::CLOUD
09b91a7c22 Release Information
# Version 3.6
# Solved Issue 22 - rows 41-51:
# https://github.com/riegercloud/install-nextcloud/issues/22
2018-07-24 14:21:03 +02:00
rieger::CLOUD
78643c21bc Issue #22
https://github.com/riegercloud/install-nextcloud/issues/22
2018-07-24 14:18:01 +02:00
rieger::CLOUD
7757905a52 enhancements for lxd environments
added wget and git to be installed at the beginning of this script
2018-07-11 13:36:15 +02:00