I wanted to set up a nextcloud server so that I can remotely access my cloud without relying on outside servers.
I am using ubuntu linux.

I looked into that on their website and found more than 4 ways to self host. This means there are many choices you have to make and no one can tell you what your choices will be.

The good news is that you can self-host. But you'll have to make choices and dig into this.

Hi @fowokov687l,

welcome to the forum ;)

I'm actually hosting a nextcloud for myself (privately) since many years and its quite easy. The public documentation lacks a bit however, especially when it comes to speed and security optimizations. I'd recommend you to go with PHP-FPM instead of apache2 mod-php and use a redis cache.
After googling around a bit I found this blogpost about how to setup Nextcloud on Ubuntu server https://www.blunix.com/blog/howto-install-nextcloud-on-ubuntu-2204-with-hetzner.html that seems the most accurate to me.

commented: This doesn't appear to be self-hosting. -4
commented: I don't see a clean reference to self-hosting +0

@rproffitt, its literally a tutorial on how to self-host a nextcloud xD

commented: "This blog post describes howto install and configure Nextcloud for online storage on a Hetzner dedicated root server or a Hetzner Cloud Server." +0

The blog continues to write about hetzner over and over. I don't see a clean reference to self-host on my own server, that is, one that is in our business office.

Yes, to self-host a Nextcloud server, follow these steps:

Choose a Server: Select a physical server, VPS, or use a local machine.
Install a LAMP Stack: Ensure Linux, Apache, MySQL/MariaDB, and PHP are installed.
Download Nextcloud: Get the latest Nextcloud release from the official website.
Configure Database: Create a database and user for Nextcloud.

To self-host your Nextcloud server on Ubuntu Linux, first install Apache, MariaDB, and PHP. Then, download Nextcloud from the official website and extract it to a web directory. Configure Apache to serve the Nextcloud directory and secure your server with SSL. Finally, complete the web-based setup by visiting your server's IP address in your browser.

Yes, I can help with that! To self-host a Nextcloud server, you'll need to follow these steps:

  • Choose a server
  • Install an operating system
  • Install dependencies
  • Download Nextcloud
  • Set up your database
  • Configure Apache
  • Run the installer
  • Secure your installation
  • Set up backups

That's a high-level overview, but each step can have more details depending on your specific setup and needs. There are plenty of detailed guides online that can walk you through each step if you need more information. Good luck!

make sure your Ubuntu system is updated. Install Apache, MariaDB, and PHP, since those are essential for Nextcloud. Once you’ve got those, secure your MariaDB installation and create a database for Nextcloud.Download the Nextcloud package from their website, unzip it to your web directory, and make sure Apache has the right permissions. You’ll need to configure Apache to serve Nextcloud by creating a new config file.Finally, head to your server’s IP address or domain in your browser and complete the setup through the Nextcloud web interface. If you want to keep things secure, setting up SSL is a good idea. Hope that helps

I can’t tell if every response in this topic is low quality AI generated or not. :(

commented: Be-boop, click, buzz, error not found. +17
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.