Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ## After to install Nextcloud
- These are some of the things you probably should do after get installed Nextcloud.
- ----------------------------------
- ### Enable Redis caching
- Using your local terminal connect with VPS:
- ```
- ssh ubuntu@nextcloud.mydomain.com
- ```
- Edit Nextcloud config file:
- ```
- sudo nano /var/www/html/config/config.php
- ```
- And add this:
- ```
- 'memcache.distributed' => '\\OC\\Memcache\\Redis',
- 'memcache.locking' => '\\OC\\Memcache\\Redis',
- 'redis' => [
- 'host' => 'localhost',
- 'port' => 6379,
- ],
- ```
- Save & exit with CTRL+X.
- Restart server with:
- ```
- sudo service apache2 restart
- ```
- ----------------------------------
- ### Basic & required/recommended settings as administrator
- Log in as **administrator** on Nextcloud, using browser.
- And set these questions:
- **Apps > install some usual ones**:
- - AppOrder, Mind Map, QOwnNotesAPI, News, Talk
- - Calendar, Contacts, Deck, Markdown editor
- - Social sharing via email, Social sharing via Facebook
- **Settings > Basic settings > Email server (SMTP)**
- - SMTP, encrypt: None, From: info@mydomain.com
- - Auth: login, required (check)
- - server: mail.mydomain.com:587
- - cred: info@mydomain.com | ****
- _Obviously: replace with the SMTP settings of one email of yours_
- **Settings > Basic settings > Background jobs**
- - check the third option: [] **CRON**
- - you need to do this on terminal:
- ```
- sudo chmod +x /var/www/html/cron.php
- echo "*/15 * * * * php -f /var/www/html/cron.php" >> cron.tmp
- sudo crontab -u www-data cron.tmp
- rm cron.tmp
- ```
- - to check the last executions of CRON, run this on SHELL:
- ```
- grep CRON /var/log/syslog
- ```
- **Settings > Sharing**
- - check _Enforce password protection_ around
- - uncheck all on "Federated Cloud Sharing" (if you do not use it)
- - on _Share by email_ uncheck _Send password by email_
- and check _Enforce password protection_
- **Settings > Security > Password policy**
- - Set "Minimal length" to 4 (to be able to share files protected with an only 4 digits, which is more friendly to third people don't using our Nextcloud)
- - uncheck "Forbid common passwords" (for the same question above, to let us to use _simple_ passwords like a 4 numeric digits, instead to force to us to use symbols, upper/lower case letters, bla bla bla, when sharing files)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement