Last active
July 4, 2023 06:30
-
-
Save nicola88/f5cfb1b9a1319a58925fd573e76b8821 to your computer and use it in GitHub Desktop.
Nextcloud on AWS
This file contains hidden or 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
| # Install Nextcloud stack | |
| sudo snap install nextcloud | |
| # Create administrator account | |
| sudo nextcloud.manual-install <admin_username> <admin_password> | |
| # Configure trusted domains (only localhost by default) | |
| sudo nextcloud.occ config:system:get trusted_domains | |
| sudo nextcloud.occ config:system:set trusted_domains 1 --value=<dns-domain> | |
| # Set 512M as PHP memory limit | |
| sudo snap get nextcloud php.memory-limit # Should be 512M | |
| sudo snap set nextcloud php.memory-limit=512M | |
| # Set background jobs interval (e.g. checking for new emails, update RSS feeds, ...) | |
| sudo snap set nextcloud nextcloud.cron-interval=10m # Default: 15m |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment