Easy methods to set up Nextcloud 16 on Ubuntu 18.04

Nextcloud 16 has sufficient options to get you began. Discover ways to get the most recent model of this highly effective on-premise cloud server.

Image: Jack Wallen

The most recent model of the on-premise Nextcloud cloud server has arrived and presents many new options to encourage you to improve. Machine studying is without doubt one of the foremost novelties. That's proper, Nextcloud builders have packaged the brand new model with a synthetic intelligence that may warn you of suspicious connections and permit sharing suggestions to advocate to individuals and teams with whom a person steadily shares .

Other than machine studying, Nextcloud 16 additionally proclaims Entry Management Lists, Tasks, Discuss 6.zero and a brand new Privateness Middle.

How do you put in this newest model? I’ll information you thru the method on the Ubuntu Server 18.04 platform.

Let's go.

SEE: Server-less computing: a information for IT managers (TechRepublic Premium)

Dependency set up

Begin by putting in the required dependencies. We are going to use Nextcloud with Apache and MySQL. To put in the dependencies, open a terminal window (or connect with your Ubuntu server) and run the next instructions:

sudo apt-get set up apache2 php7.2 bzip2 -y
sudo apt-get set up php-php-php-php-php-php-php-php-php-php-php php-php php-php-mbstring
sudo apt-get installs php-intl php-imagick php-xml php-zip -y
sudo apt-get set up mysql-server php-mysql -y

Database creation

Then we are going to create the database. Earlier than doing this, we have to lock the MySQL set up with the command:

sudo mysql_secure_installation

You’ll be prompted to create a root password. After you have carried out this, reply "y" (for sure) to the remaining questions.
Now that MySQL is safe, let's create a database. To do that, run the next instructions:

sudo mysql -u root -p
CREATE USER & # 39; nextcloud & # 39; @ & # 39; localhost & # 39; IDENTIFIED BY & # 39; PASSWORD & # 39 ;; (The place PASSWORD is a powerful and distinctive password)
Grant all privileges on nextcloud. * TO & # 39; nextcloud & # 39; @ & # 39; localhost & # 39 ;;

Obtain and unzip Nextcloud

We are actually prepared for set up. The very first thing to do is to obtain the official Nextcloud file. Again in your machine, run the next instructions to obtain and unzip the file:

cd / var / www / html
sudo wget https://obtain.nextcloud.com/server/releases/nextcloud-16.zero.zero.tar.bz2 -O nextcloud-16-latest.tar.bz2
tar -xvjf nextcloud-16-latest.tar.bz2

Then give the file the suitable permissions with the command:

sudo chown -R www-data: www-data nextcloud

Configure Apache

It's time to configure the net server. We have to create a brand new Apache .conf file with the command:

sudo nano /and so forth/apache2/sites-available/nextcloud.conf

On this new file, paste the next:

Alias ​​/ nextcloud "/ var / www / html / nextcloud /"

Choices + FollowSymlinks
AllowOverride All

Dav off

SetEnv HOME / var / www / html / nextcloud
SetEnv HTTP_HOME / var / www / html / nextcloud

Save and shut this file. Activate the positioning and Apache modules wanted with the next instructions:

sudo a2ensite nextcloud
sudo a2enmod rewrite the headers env dir mime

Configure the PHP reminiscence restrict with the command:

sudo sed -i '/ ^ memory_limit = / s /=.*/ = 512M / & # 39; /and so forth/php/7.2/apache2/php.ini

Restart Apache with the command:

sudo systemctl restart apache2

End the set up

Now you can level your browser to http: // SERVER_IP / nextcloud (the place SERVER_IP is the IP handle of your internet hosting server) and full the set up. You have to to create an administrator person / password and fill within the essential database data (database person / password, database title and database host – Determine a).

Determine A: Finish of the set up of Nextcloud 16.

After you have entered the main points, click on End. The set up will likely be full. You’ll be robotically logged in along with your new admin person.

Congratulations, you now have the most recent model of Nextcloud that can function an on-premise cloud server.

Cloud Insights Publication

Your must-have information base on AWS, Microsoft Azure, the Google Cloud platform, Docker, SaaS, IaaS, cloud safety, containers, public cloud, hybrid cloud, industrial cloud, and extra.
Delivered on Monday

Join at this time

Join at this time

Look additionally

Leave a Reply

Your email address will not be published. Required fields are marked *