This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# I generally run this one command at a time, script format is for syntax highlights | |
# Tested personally with macOS Big Sur on Intel mac, use at your own risk, zero warranty | |
# Requires delegate dataset, refer to tm.json zone config. Uses base-64-lts, 21.4.0 | |
# | |
# References: | |
# Respect to Brian Bennett @ Joyent | |
# https://datasets.at - zone generation | |
# https://illumos.topicbox.com/groups/discuss/T97ac7717dd31b5b5-Mb58fec102ab950b3bbc54843 - smb support thread | |
# https://wiki.smartos.org/configuring-smb-in-smartos/ - smb guide for SmartOS |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
These scripts install nextcloud on Apache in a SmartOS Zone. | |
Replace the necessary values in nc.sql, httpd.conf, and smartos.json (look for [your... ]) | |
Use the json below to create the nextcloud zone: vmadm validate create -f smartos.json && vmadm create -f smartos.json | |
Place the install.sh, nc.sql, httpd.conf, and php.ini file into the nextcloud zone | |
This script assumes mysql is installed on another server/zone and the root user can login from this zone. You can modify the script | |
to install mysql server if needed. | |
Run ./install.sh | |