Tuesday, June 30, 2026
HomeCloud ComputingThe right way to set up the newest model of Nextcloud on...

The right way to set up the newest model of Nextcloud on Ubuntu Server 22.04

[ad_1]

Jack Wallen takes a barely simpler route for the set up of the newest model of the Nextcloud cloud platform.

cloud computing technology concept transfer database to cloud. There is a prominent large cloud icon in the center and a small white icon on the connected polygons with a dark blue background.
Picture: Ar_TH/Adobe Inventory

For people who aren’t within the know, Nextcloud is a cloud-based suite of instruments that features issues like doc and file administration, calendar, chat (video and audio), e mail, varieties and contacts. In truth, for these , Nextcloud may simply turn out to be a drop-in alternative for the likes of both Google Workspace or Microsoft 365. I’ve been utilizing Nextcloud since its early days and I’m assured that almost anybody can profit from this platform.

I need to present you tips on how to set up the newest model of Nextcloud (v24) on Ubuntu Server 22.04. This time round, nonetheless, I’m going to utilize their installer script. Though this script doesn’t strip away a number of the guide set up steps, it does make it barely simpler.

With that mentioned, let’s get to the set up.

SEE: Hiring Equipment: Cloud Engineer (TechRepublic Premium)

What you’ll want

You’ll solely want two issues to make this work: A operating occasion of Ubuntu Server 22.04 and a consumer with sudo privileges. That’s it – let’s make like Kate Bush and do some cloudbusting.

The right way to set up the required dependencies

The installer script doesn’t deal with the set up of the dependencies, so we now have to care for that first. To start, let’s set up the complete LAMP stack. Log into your Ubuntu Server and difficulty the command:

sudo apt-get set up lamp-server^ -y

When that set up completes, care for the PHP necessities with:

sudo apt-get set up php zip libapache2-mod-php php-gd php-json php-mysql php-curl php-mbstring php-intl php-imagick php-xml php-zip php-mysql php-bcmath php-gmp zip -y

Restart Apache with:

sudo systemctl restart apache2

Subsequent, we’ll safe the database set up with:

sudo mysql_secure_installation

Make sure that the doc root is owned by the Apache group with:

sudo chown -R www-data.www-data /var/www/html

The right way to create the database

Subsequent, we should create a database. Log in to the MySQL console with:

sudo mysql -u root -p

Create the database with:

CREATE DATABASE nextcloud;

Subsequent, create the Nextcloud database consumer with the command:

CREATE USER 'nextcloud'@'localhost' IDENTIFIED BY 'PASSWORD';

The place PASSWORD is a singular/sturdy password.

We now want to provide the nextcloud consumer the required permissions with the command:

GRANT ALL PRIVILEGES ON nextcloud.* TO 'nextcloud'@'localhost';

Flush the privileges and exit the console with the 2 instructions:

FLUSH PRIVILEGES;

exit

The right way to obtain the installer script

Become the doc root with:

cd /var/www/html

Obtain the installer with the command:

wget https://obtain.nextcloud.com/server/installer/setup-nextcloud.php

The right way to run the installer

Open an online browser and level it to http://SERVER/setup-nextcloud.php, the place SERVER is the IP handle or area of the internet hosting server. You may be greeted by the primary window within the installer wizard. Click on Subsequent and it’s best to see a window indicating all dependency checks have handed (Determine A), which lets you set the doc root for the set up.

Determine A

The Nextcloud 24 dependency examine window means that you can set the doc root for the set up.

You’ll be able to both create a brand new listing home Nextcloud (by typing the identify subject) or kind a . to put in it within the net server doc root. Do one or the opposite, then click on Subsequent and the script will obtain and unpack every little thing crucial. It will take wherever from two to 10 minutes relying on the pace of your community connection and the facility of your server.

As soon as Nextcloud has been put in, you may be prompted to click on Subsequent once more, the place you’ll be delivered to the database setup window (Determine B).

Determine B

Configuring the database for Nextcloud.

First, create an admin consumer and ensure to pick out MySQL/MariaDB because the database. You’ll then fill out the database data as such:

  • Database consumer: nextcloud
  • Database password: the password you created through the creation of the database consumer within the MySQL console.
  • Database identify: nextcloud

Go away localhost as is after which click on Set up. As soon as the database is taken care of, you’ll be requested if you wish to set up the really useful apps (Determine C).

Determine C

Putting in the really useful apps for Nextcloud 24.

Click on Set up Really helpful Apps, and when that finishes, you’ll be introduced with the Nextcloud foremost window (Determine D).

Determine D

The Nextcloud foremost window is prepared so that you can customise your set up.

Now you can additional customise your set up by putting in extra apps or just begin working along with your new Nextcloud cloud platform. Congratulations on taking your productiveness to the subsequent stage.

Subscribe to TechRepublic’s How To Make Tech Work on YouTube for all the newest tech recommendation for enterprise execs from Jack Wallen.

[ad_2]

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments