NextCloud 11 installation scripts for Debian/Raspbian, featuring HTTP2, PHP7, secure defaults, easy configuration and more

Hello,

I wanted to share my work with NC in order to help easier adoption.

I share ready to use images for Raspbian as I already advertise in this post

Also, I share the installation and configuration scripts, so people can see what are the steps that I use, or even install easily on their already running server.

There is a number of extras that I use with NC which installation and configuration I also share.

For instance… do you want to have Apache modsecurity web application firewall up and running with your existing NextCloud in 5 minutes?

git clone https://github.com/nachoparker/nextcloud-raspbian-generator.git
./installer.sh modsecurity.sh 192.168.0.130     # assuming server at that IP

https://ownyourbits.com/2017/02/13/nextcloud-ready-raspberry-pi-image/

https://ownyourbits.com/category/nextcloud/

Easy configuration through simple ncurses interface

https://ownyourbits.com/wp-content/uploads/2017/02/nextcloudpi-logo.png

https://ownyourbits.com/wp-content/uploads/2017/02/ncp-1-700x388.jpg

Features:

  • Raspbian 8 Jessie
    
  • Nextcloud 11.0.2
    
  • Apache 2.4.25, with HTTP2 enabled
    
  • PHP 7.0 (double the speed of PHP5!)
    
  • MariaDB 10
    
  • 4.9.13 Linux Kernel ( NEW 03-13-2017 )
    
  • nextcloudpi-config for easy setup
    
  • Automatic redirection to HTTPS
    
  • ACPU PHP cache
    
  • PHP Zend OPcache enabled with file cache
    
  • HSTS
    
  • Cron jobs for Nextcloud
    
  • Sane configuration defaults
    

Extras:

  • Automatic security updates, activated by default. ( NEW 03-21-2017 )
    
  • Let’s Ecrypt for trusted HTTPS certificates.(  NEW 03-16-2017 )
    
  • Fail2Ban protection against brute force attacks. ( NEW 02-24-2017 )
    
  • Dynamic DNS support for no-ip.org ( NEW 03-05-2017 )
    
  • dnsmasq DNS server with DNS cache ( NEW 03-09-2017 )
    
  • ModSecurity Web Application Firewall ( NEW 03-23-2017 )
1 Like