Script to automate installation of Nextcloud on: FreeBSD12+, Truenas CORE 12 + (in a base jail), HardenedBSD13
- Clone repository or download release to your machine and extract
cd
to folder as root- Open install.sh with your favourite editor
- Change the values of variables as required to suite your environment
- Save the file
- Run
pre_install.sh
as root to create a boot environment before installing, then reboot (or restart jai) before moving on - Run
install.sh
as root - Please be patient while the script runs
- Done
- 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
- HTTP/2
- SSL Enabled, TLS1.3 only
- HSTS Enabled
- PHP Memory Caching APCu
- Antivirus for Files
- Calendar
- Contacts
- Deck
- Notes
- Nextcloud Talk
- Tasks
- External storage support (including
samba
andftp
) - OnlyOffice is disabled by default.
install_docserver.sh
will install the Community Document Server plugin on Nextcloud (FreeBSD only) and configure Onlyoffice accordingly.