How to install the latest version of Nextcloud on Ubuntu Server 22.04

Cloud: Must-read protection.

For those that arent in the know, Nextcloud is a cloud-based suite of tools that consists of things like file and file management, calendar, chat (video and audio), email, contacts and forms. For those interested, Nextcloud could easily end up being a drop-in replacement for the likes of either Google Workspace or Microsoft 365. Ive been using Nextcloud considering that its early days and I am positive that simply about anyone can benefit from this platform.
I want to show you how to set up the newest variation of Nextcloud (v24) on Ubuntu Server 22.04. You can either produce a brand-new directory site home Nextcloud (by typing the name field) or type a. to install it in the web server document root.

Database user: nextcloud.
Database password: the password you developed during the production of the database user in the MySQL console.
Database name: nextcloud.

How to set up the needed dependences.
The installer script does not manage the setup of the dependences, so we have to take care of that. To begin, lets install the full LAMP stack. Log into your Ubuntu Server and release the command:.
sudo apt-get install lamp-server ^ -y.
When that installation finishes, look after the PHP requirements with:.
sudo apt-get install 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.
Next, well protect the database installation with:.
sudo mysql_secure_installation.
Ensure the document root is owned by the Apache group with:.
sudo chown -R www-data. www-data/ var/www/html.
How to produce the database.
Next, we must create a database. Log in to the MySQL console with:.
sudo mysql -u root -p.
Create the database with:.
PRODUCE DATABASE nextcloud;.
Next, create the Nextcloud database user with the command:.
DEVELOP USER nextcloud@localhost IDENTIFIED BY PASSWORD;.
Where PASSWORD is a unique/strong password.
We now require to offer the nextcloud user the essential approvals with the command:.
GRANT ALL PRIVILEGES ON nextcloud. * TO nextcloud@localhost;.
Flush the advantages and exit the console with the 2 commands:.
FLUSH PRIVILEGES;.
exit.
How to download the installer script.
Change into the document root with:.
cd/ var/www/html.
Download the installer with the command:.
wget https://download.nextcloud.com/server/installer/setup-nextcloud.php.
How to run the installer.
Open a web browser and point it to http://SERVER/setup-nextcloud.php, where SERVER is the IP address or domain of the hosting server. You will be greeted by the first window in the installer wizard. Click Next and you must see a window suggesting all reliance checks have passed (Figure A), which enables you to set the file root for the setup.
Figure A.
The Nextcloud 24 dependency check window allows you to set the file root for the installation.
You can either produce a new directory site house Nextcloud (by typing the name field) or type a. to install it in the web server document root. Do one or the other, then click Next and the script will unpack and download everything needed. This will take anywhere from two to 10 minutes depending upon the speed of your network connection and the power of your server.
As soon as Nextcloud has actually been installed, you will be prompted to click Next again, where youll be provided to the database setup window (Figure B).
Figure B.
Configuring the database for Nextcloud.
Initially, produce an admin user and make sure to choose MySQL/MariaDB as the database. You will then complete the database details as such:.

Leave localhost as is and after that click Install. Once the database is looked after, youll be asked if you wish to set up the advised apps (Figure C).
Figure C.
Installing the advised apps for Nextcloud 24.
Click Install Recommended Apps, and when that finishes, youll exist with the Nextcloud primary window (Figure D).
Figure D.
The Nextcloud main window is ready for you to tailor your installation.
You can now even more personalize your setup by setting up more apps or just start working with your new Nextcloud cloud platform. Congratulations on taking your performance to the next level.
Sign up for TechRepublics How To Make Tech Work on YouTube for all the most current tech recommendations for business pros from Jack Wallen.

Image: Ar_TH/ Adobe Stock
For those that arent in the understand, Nextcloud is a cloud-based suite of tools that includes things like document and file management, calendar, chat (video and audio), email, forms and contacts. In truth, for those interested, Nextcloud could easily end up being a drop-in replacement for the similarity either Google Workspace or Microsoft 365. Ive been using Nextcloud since its early days and I am positive that just about anybody can take advantage of this platform.
I wish to reveal you how to install the latest version of Nextcloud (v24) on Ubuntu Server 22.04. This time around, nevertheless, Im going to use their installer script. Although this script doesnt remove away some of the manual setup steps, it does make it slightly easier.
With that stated, lets get to the setup.
SEE: Hiring Kit: Cloud Engineer (TechRepublic Premium).
What youll require.
Youll only need two things to make this work: A running circumstances of Ubuntu Server 22.04 and a user with sudo benefits. Thats it– lets make like Kate Bush and do some cloudbusting.

Jack Wallen takes a somewhat easier route for the installation of the most recent version of the Nextcloud cloud platform.

Share:

Leave a Comment