[ad_1]
Jack Wallen takes a barely simpler route for the set up of the most recent model of the Nextcloud cloud platform.
For those 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, kinds and contacts. In actual fact, for these , Nextcloud may simply grow 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 the way to set up the most recent model of Nextcloud (v24) on Ubuntu Server 22.04. This time round, nevertheless, I’m going to utilize their installer script. Though this script doesn’t strip away a few of the guide set up steps, it does make it barely simpler.
With that stated, 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 person with sudo privileges. That’s it – let’s make like Kate Bush and do some cloudbusting.
How you can set up the mandatory dependencies
The installer script doesn’t deal with the set up of the dependencies, so we’ve to deal with that first. To start, let’s set up the complete LAMP stack. Log into your Ubuntu Server and challenge the command:
sudo apt-get set up lamp-server^ -y
When that set up completes, deal with 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
Be sure the doc root is owned by the Apache group with:
sudo chown -R www-data.www-data /var/www/html
How you can 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 person with the command:
CREATE USER 'nextcloud'@'localhost' IDENTIFIED BY 'PASSWORD';
The place PASSWORD
is a novel/sturdy password.
We now want to offer the nextcloud person the mandatory 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
How you can obtain the installer script
Develop into the doc root with:
cd /var/www/html
Obtain the installer with the command:
wget https://obtain.nextcloud.com/server/installer/setup-nextcloud.php
How you can run the installer
Open an online browser and level it to http://SERVER/setup-nextcloud.php
, the place SERVER
is the IP tackle or area of the internet hosting server. You can be greeted by the primary window within the installer wizard. Click on Subsequent and you need 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
You possibly can both create a brand new listing home Nextcloud (by typing the title subject) or kind a .
to put in it within the internet server doc root. Do one or the opposite, then click on Subsequent and the script will obtain and unpack every thing obligatory. It will take anyplace from two to 10 minutes relying on the pace of your community connection and the ability of your server.
As soon as Nextcloud has been put in, you can be prompted to click on Subsequent once more, the place you’ll be delivered to the database setup window (Determine B).
Determine B
First, create an admin person and ensure to pick MySQL/MariaDB because the database. You’ll then fill out the database data as such:
- Database person:
nextcloud
- Database password: the password you created in the course of the creation of the database person within the MySQL console.
- Database title:
nextcloud
Depart 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 advisable apps (Determine C).
Determine C
Click on Set up Really useful Apps, and when that finishes, you’ll be offered with the Nextcloud essential window (Determine D).
Determine D
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 most recent tech recommendation for enterprise execs from Jack Wallen.
[ad_2]
Supply hyperlink