{"id":2598,"date":"2019-09-05T05:10:00","date_gmt":"2019-09-05T05:10:00","guid":{"rendered":"http:\/\/www.incredigeek.com\/home\/?p=2598"},"modified":"2019-09-05T05:22:11","modified_gmt":"2019-09-05T05:22:11","slug":"install-nextcloud-on-ubuntu-19-04","status":"publish","type":"post","link":"https:\/\/www.incredigeek.com\/home\/install-nextcloud-on-ubuntu-19-04\/","title":{"rendered":"Install NextCloud on Ubuntu 19.04"},"content":{"rendered":"\n<p> Install with snap  <\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo snap install nextcloud <\/pre>\n\n\n\n<p>Set user and password for NextCloud<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo nextcloud.manual-install nextcloudadmin password<\/pre>\n\n\n\n<p>Allow https access for firewall<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo ufw allow 80,443\/tcp<\/pre>\n\n\n\n<p>For the following steps to work, you&#8217;ll need an A record setup on your domain name server to point a domain to your Next Cloud servers public ip address.  Change www.example.com in the following steps to the domain name you&#8217;ve setup.<\/p>\n\n\n\n<p>View trusted domains<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo nextcloud.occ config:system:get trusted_domains<\/pre>\n\n\n\n<p>Setup new trusted domain.  Change www.example.com with your domain.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo nextcloud.occ config:system:set trusted_domains 1 --value=www.example.com<\/pre>\n\n\n\n<p>Run through Lets Encrypt to setup a SSL certificate.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo nextcloud.enable-https lets-encrypt<\/pre>\n\n\n\n<p>Should be able to access NextCloud from a web browser www.example.com<\/p>\n\n\n\n<p>Extra info <br><a href=\"https:\/\/www.digitalocean.com\/community\/tutorials\/how-to-install-and-configure-nextcloud-on-ubuntu-18-04\">https:\/\/www.digitalocean.com\/community\/tutorials\/how-to-install-and-configure-nextcloud-on-ubuntu-18-04<\/a><\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Install with snap sudo snap install nextcloud Set user and password for NextCloud sudo nextcloud.manual-install nextcloudadmin password Allow https access for firewall sudo ufw allow 80,443\/tcp For the following steps to work, you&#8217;ll need an A record setup on your &hellip; <a href=\"https:\/\/www.incredigeek.com\/home\/install-nextcloud-on-ubuntu-19-04\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[28],"tags":[697,700,49],"class_list":["post-2598","post","type-post","status-publish","format-standard","hentry","category-ubuntu","tag-19-04","tag-nextcloud","tag-ubuntu-2"],"_links":{"self":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/2598","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/comments?post=2598"}],"version-history":[{"count":2,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/2598\/revisions"}],"predecessor-version":[{"id":2600,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/2598\/revisions\/2600"}],"wp:attachment":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/media?parent=2598"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/categories?post=2598"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/tags?post=2598"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}