#### Based off Ubuntu 16.04.4 LTS linode {#basedoffubuntu16044ltslinode}
1. Create a Linode instance running Ubuntu 16.04.4 LTS by following the
guide [here](https://www.linode.com/docs/getting-started/).
2. If you have domain go ahead and set that up for this new instance
following the instructions
[here](https://www.linode.com/docs/networking/dns/dns-manager-overview/).
(I highly recommend this step for public use)\
We will be downloading Nextcloud using snap so run the following:
```{=html}
<!-- -->
```
sudo snap install nextcloud
snap changed nextcloud
4. Once we verify that your setup ran without a problem we are going to
set up an admin account by running:
`sudo nextcloud.manual-install <username> <password>`
5. You should then see another verification that Nextcloud was
installed successfully. If you didn't add a domain in step 2 then
skip this step. Add your custom domain to the trusted list by
typing:
```{=html}
<!-- -->
```
sudo nextcloud.occ config:system:set trusted_domains 1 --value=<domain-name>
sudo nextcloud.occ config:system:get trusted_domains
6. Upon verification that your domain has been added, restart your
server by running:
`sudo snap restart nextcloud`
I want to add SSL? {#iwanttoaddssl}
------------------
Ah glad you mentioned it let's set that up too shall we? Run the
following:
sudo nextcloud.enable-https lets-encrypt
y
<email-address>
<domain-name>
Once you get a confirmation you are done! To logon either put in the
ip-address of your server or your domain. Welcome to the world of
Nextcloud, enjoy and be great!
First published on
[Medium](https://medium.com/@keheira/creating-a-nextcloud-server-on-linode-821002f83c35)