Nextcloud Installation and Setup | Linux for Business


In this video, I go over Nextcloud installation and setup. This is great when using Linux for your business. It is also in my opinion, the best alternative when you don’t want to use a cloud service like Dropbox, Google Drive, or OneDrive.

Here are all the commands used:
Install Ubuntu18 Server with Nextcloud and ssh

Set Timezone
dpkg-reconfigure tzdata

Check Trusted domains
$ sudo nextcloud.occ config:system:get trusted_domains

Add Trusted domains
$ sudo nextcloud.occ config:system:set trusted_domains 1 –

Change firewall rules
$ sudo ufw allow 80,443/tcp

Do Let’s Encrypt certificate
$ sudo nextcloud.enable-https lets-encrypt
Do Self-Signed certificate
$ sudo nextcloud.enable-https self-signed

Login and Finish setup

Support My Work
– Chris Titus Tech Digital Downloads вћњ
– Product and Service Recommendations вћњ
– My YouTube Gear and Computers вћњ

Other Places to Find Me
– Titus Tech Talk вћњ
– Chris Titus Crypto вћњ
– Twitch вћњ
– Twitter вћњ


About Author


  1. I do host it locally and use Zerotier one to access it to external computer with the help of Zerotier one (it's not that hard but still it need much complex work to be done)

  2. I can't believe it!!!
    Somebody who doesn't waste half the video installing the OS.
    Thanks for treating me like I am intelligent, I'll be back to listen to more of what you have to say.

  3. Just come across your channel and subscribed just what I was looking for. I got the next cloud running ok I can access it on my local network ok. I set up a domain name port forwarded my router and I can access it on my iPhone remotely ok if im away from my house. If im in the house and my phone picks up the wifi the app doesn't work unless I turn off the wifi on my phone. So in effect it connecting remotely. Can I make it work without turning off the wifi on my phone your help would be much appreciated. Thanks in advance

  4. you mentioned using a freenas with nextcloud, Im confused as to how to do that. I like freenas and want to use it but I thought that freenas was its own os and you cant get stuff such as nexcloud and other server stuff on it. Is there a thing like freenas that has zfs triple redundency and all that, but on a server os like ubuntu. Or would you recomend having an nextcloud ubuntu server and a seperate freenas machine

  5. I'd highly recommend Let's Encrypt if you don't understand certificates and want your setup to be accessible through the internet. Just get a domain name and the LE certificate is free.

    Using self signed certificate is going to be much easier to get up and running, but unless you know how SSL certificate works and how to validate certificates and all its pitfalls, you're likely going to be setting it up insecurely. It's easier to get something reasonably secure when you use an LE certificate.

  6. one thing i hate about 90% of these new installers…

    they never have canada 🙁
    so i have to do

    ln -svf /usr/share/zoneinfo/Canada/Eastern /etc/localtime
    timedatectl set-ntp true
    after ever install.

  7. Great!! Exactly what I am planning to do! One question. You mention to use FreeNAS for the actual data storage, right? This setup requires two machines right? Do you recon that this provides enough safety in terms of backups?

  8. I have installed nextcloud using their docker compose file, which was ridiculously easy 😉
    Of course I did not set it up to be accessible from outside. What would be interesting to see (because I have constantly failed on it) an installation of nextcloud and LibreOffice Online.

  9. Before adding the next video about installing SSL certificate, what about making your own DNS without using third parties if possible which is I'm looking for…

Leave A Reply