Bobcares

Install Nextcloud on VestaCP to access files easily

by | Sep 11, 2021

If we install Nextcloud on VestaCP, we can access any files we choose from a web page interface, desktop program or Android and IOS apps for our phone or tablet.

As part of our Server Management Services, we assist our customer with several VestaCP queries.

Today, let us see how we can install the same.

Install Nextcloud on VestaCP

In order to begin, our Support Techs recommend to have VestaCP Control Panel and a domain set up with VestaCP.

Suppose, we use bob.com as the domain . Then we need to make a 3rd level domain, nextcloud.bob.com.

To create the Nextcloud address, we click the “WEB” link at the top of the VestaCP page and then the “+” ADD WEB DOMAIN button.

We can use an entirely different domain or piggyback off another domain on the server.

  1. Here, we fill in the Domain field with the domain we wish to use for the Nextcloud.
  2. It will already fill in the IP address.
  3. Then we make sure to check, “DNS Support”.
  4. We click the “ADVANCED OPTIONS” link and make sure to check “SSL Support”.
  5. In addition, we check “Lets Encrypt Support”. Finally, we click the green “Add” button.

Create a Mysql database

Initially, we click the “DB” link in the VestaCP control panel.

Then we click on the green “+” ADD Database link. We can fill in the name of the database and user we wish to create.

After that, we add the password for the database. We need this while configuring the Nextcloud script, so remember it.

We leave the rest as it is and click the green “Add” button at the bottom.

Upload the Nextcloud zip install script to the domain

First we download the Nextcloud .zip file to the local computer from the Nextcloud website (make sure you get the .zip file).

Then we upload it to the domain on the server via SFTP to /home/admin/web/your.domain.com.

We SSH into the server user; admin and the password we use for VestaCP.

cd /home/admin/web/your.domain.com

type ls -l

We can delete the public_html folder

rm -rf public_html

Then we unzip the Nextcloud zip file

unzip nextcloud-13.0.4.zip

Rename the nextcloud folder to public_html

mv nextcloud public_html

We can delete the zip file now:

rm nextcloud-13.0.4.zip

Once done, we go to https://your.domain.com and fill out the form. The username and password we provide will be the Admin account for the Nextcloud installation.

When it asks for database name, VestaCP adds the username_ with an underscore after it to the database and database username.

Here, we give the password we used when we created the database and click “Finish setup”.

After a while of the program configuring itself, we will see a greetings page.

Once it is set up on the server, we can download the desktop client from the Nextcloud web site and install it on the local PC.

Conclusion

In short, we saw how our Support Techs install Nextcloud on VestaCP.

PREVENT YOUR SERVER FROM CRASHING!

Never again lose customers to poor server speed! Let us help you.

Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.

GET STARTED

0 Comments

Submit a Comment

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

Never again lose customers to poor
server speed! Let us help you.