{"id":716,"date":"2025-05-18T10:49:07","date_gmt":"2025-05-18T09:49:07","guid":{"rendered":"https:\/\/broadlypointless.com\/?p=716"},"modified":"2025-05-18T10:49:07","modified_gmt":"2025-05-18T09:49:07","slug":"install-nextcloud-on-ubuntu-vm-on-proxmox-with-tailscale","status":"publish","type":"post","link":"https:\/\/broadlypointless.com\/?p=716","title":{"rendered":"Install Nextcloud on Ubuntu VM on Proxmox with Tailscale"},"content":{"rendered":"\n<p>I&#8217;m so sick of doing this over and over every few months when something messes up, this is just here for reference to stop me going insane.<\/p>\n\n\n\n<p>sudo apt update &amp;&amp; sudo apt upgrade -y<br>sudo apt install apache2 mariadb-server libapache2-mod-php php-gd php-json php-mysql php-curl php-mbstring php-intl php-imagick php-xml php-zip unzip -y<br>sudo service apache2 restart<br>cd \/var\/www\/html<br>sudo wget https:\/\/download.nextcloud.com\/server\/releases\/latest.zip<br>sudo unzip latest.zip<br>sudo chmod 750 nextcloud -R<br>sudo chown www-data:www-data nextcloud -R<\/p>\n\n\n\n<p>sudo mysql<br>CREATE USER &#8216;nextcloud&#8217; IDENTIFIED BY &#8216;password&#8217;;<br>CREATE DATABASE nextcloud;<br>GRANT ALL PRIVILEGES ON nextcloud.* TO &#8216;nextcloud&#8217;@localhost IDENTIFIED BY &#8216;password&#8217;;<br>FLUSH PRIVILEGES;<br>quit;<\/p>\n\n\n\n<p>curl -fsSL https:\/\/tailscale.com\/install.sh | sh<br>sudo tailscale up<\/p>\n\n\n\n<p>sudo reboot now<\/p>\n\n\n\n<p>sudo -i<br>sudo nano \/var\/www\/html\/nextcloud\/config\/config.php<br>ADD TAILSCALE IP<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;m so sick of doing this over and over every few months when something messes up, this is just here for reference to stop me going insane. sudo apt update &amp;&amp; sudo apt upgrade -ysudo apt install apache2 mariadb-server libapache2-mod-php php-gd php-json php-mysql php-curl php-mbstring php-intl php-imagick php-xml php-zip unzip -ysudo service apache2 restartcd \/var\/www\/htmlsudo [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[],"class_list":["post-716","post","type-post","status-publish","format-standard","hentry","category-tech"],"_links":{"self":[{"href":"https:\/\/broadlypointless.com\/index.php?rest_route=\/wp\/v2\/posts\/716","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/broadlypointless.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/broadlypointless.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/broadlypointless.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/broadlypointless.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=716"}],"version-history":[{"count":1,"href":"https:\/\/broadlypointless.com\/index.php?rest_route=\/wp\/v2\/posts\/716\/revisions"}],"predecessor-version":[{"id":717,"href":"https:\/\/broadlypointless.com\/index.php?rest_route=\/wp\/v2\/posts\/716\/revisions\/717"}],"wp:attachment":[{"href":"https:\/\/broadlypointless.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=716"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/broadlypointless.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=716"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/broadlypointless.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=716"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}