/NextCloudOnFreeBSD

Script to automate installation of NextCloud on FreeBSD

Primary LanguageShellBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

NextCloud on FreeBSD

Script to automate installation of Nextcloud on: FreeBSD12+, Truenas CORE 12 + (in a base jail), HardenedBSD13

Instructions

  1. Clone repository or download release to your machine and extract
  2. cd to folder as root
  3. Open install.sh with your favourite editor
  4. Change the values of variables as required to suite your environment
  5. Save the file
  6. Run pre_install.sh as root to create a boot environment before installing, then reboot (or restart jai) before moving on
  7. Run install.sh as root
  8. Please be patient while the script runs
  9. Done
  10. Optional: run optional/install_docserver.sh if you wish to have the integrated Community Document Server running (FreeBSD only) (Requires OnlyOffice)

Installs the following:

  • Apache 2.4
  • MySQL 8.0
  • PHP 8.0
  • ClamAV
  • Nextcloud 24

Note: Nextcloud 24 does not yet support the integrated Community Document Server, please install v23 if you intend to use the plugin version of the Community Document Server For full list, see requirements.txt


Configuration

  • HTTP/2
  • SSL Enabled, TLS1.3 only
  • HSTS Enabled
  • PHP Memory Caching APCu

NextCloud Apps Installed/Activated

  • Antivirus for Files
  • Calendar
  • Contacts
  • Deck
  • Mail
  • Notes
  • Nextcloud Talk
  • Tasks
  • External storage support (including samba and ftp)
  • OnlyOffice is disabled by default.

Optional Scripts

  • install_docserver.sh will install the Community Document Server plugin on Nextcloud (FreeBSD only) and configure Onlyoffice accordingly.