How to install Nextcloud Hub II with Nextcloud Office – TechRepublic

Nextcloud Hub II is here, and it's a big improvement over previous iterations. Jack Wallen walks you through the process of installing this new release on Ubuntu Server.

Image: Jack Wallen

Nextcloud 23 brings a major overhaul to the platform and introduces Nextcloud Office and plenty of other features and fixes to make it an outstanding choice for anyone looking to host a full-fledged cloud service in-house (in your data center, your cloud-hosted provider or even on a server in your home).

The new features include:

This might be one of the more significant updates to come from the Nextcloud developers.

I'll walk you through the process of installing Nextcloud 23 (aka Nextcloud Hub II) on Ubuntu Server 21.10.

SEE: Checklist: How to manage your backups (TechRepublic Premium)

To successfully install Nextcloud 23, you'll need a running instance of Ubuntu Server (preferably either 20.04 or newer) and a user with sudo privileges. That's it; let's make some magic.

The first thing we'll do is install our web and database servers. Log into Ubuntu and run the installation of everything necessary with the command:

Once the above command completes, start and enable the services with the commands:

Next, we'll install the remaining dependencies with the command:

Before we create the database, let's secure the MySQL installation with the command:

Make sure to give the MySQL admin users a strong/unique password and answer y to the remaining questions.

Log in to the MySQL console with the command:

Create a new database with:

Create the Nextcloud database user with the command:

Where PASSWORD is a unique/strong password.

Give the nextcloud user the necessary permissions with the command:

Flush the privileges and exit the console with the two commands:

Download Nextcloud 23 with the command:

Unzip the downloaded package with:

Move the newly created file to the Apache document root with:

Give the newly relocated folder the proper ownership with:

Create a new Apache .conf file with the command:

In that file, paste the following:

Enable the necessary Apache modules:

Enable the new Nextcloud site with:

Change the PHP memory limit:

Restart Apache with:

Open a web browser that has access to the same network that hosts the new Nextcloud server and point it to http://SERVER/nextcloud (Where SERVER is the IP address or domain name of the hosting server). In the resulting page (Figure A), make sure to create a new admin user and the, in the database section, fill it out as such:

Figure A

The Nextcloud 23 web installation is ready to complete the setup.

Since the database is being hosted on the same server, leave the location set to localhost. Leave the box checked for Installed recommended apps and click Finish setup. When the installation completes, you'll be automatically logged into the site as the admin user.

Upon finishing up the installation, I was surprised to find no sign of the Nextcloud Office feature. Creating a new file in the Files application only gives you the option to create a text file. I've reached out to the developers to find out if there is an issue or some other step that must be taken to enable the Nextcloud Office feature (because it is not obvious in either the Apps or the Settings windows).

My contact with Nextcloud informed me the installation should have installed Collabora and the Nextcloud connector by default. The problem is the Collabora download is fairly large, so the max_upload file size limit for PHP must be increased significantly. To make this work, you could always increase that option to 1GB for the installation and then shrink it back down to a more reasonable limit once the installation completes. If you don't want to bother with that, those pieces can be added from the Nextcloud App Market, so make sure to install Collabora Online and Collabora Online Built-in CODE Server from the App store. Once you've installed both of those apps, you should be able to create documents, spreadsheets and presentations in Nextcloud.

Subscribe to TechRepublic's How To Make Tech Work on YouTube for all the latest tech advice for business pros from Jack Wallen.

You don't want to miss our tips, tutorials, and commentary on the Linux OS and open source applications. Delivered Tuesdays

View post:
How to install Nextcloud Hub II with Nextcloud Office - TechRepublic

Related Posts

Comments are closed.