Koumbit.org

For freedom and solidarity online

How to Install Nextcloud?

The following article will explain how to install NextCloud on your self managed hosting account (HAG). For best performance it is recommended to run NextCloud on a VPS, but the platform still runs fine on the HAG as long as you keep it below 10 users. Note that the HAG package never offers a command line.

As of May 4, 2022, the last supported version of NextCloud is 23.0.4. Starting with version 24, PHP7.4 is required - a version that is not yet deployed in our infrastructure. We offer the following instructions to make the process clearer in our hosting, and to help those who have less experience with this kind of operation.

Preparation

You will need to know in advance:

  • know the domain or subdomain where you want to install NextCloud. It can be www.myaccount.koumbit.org or domain.org that you bought. Make sure you use the latest PHP version available in AlternC. See how to add a domain and change the PHP version.
  • an FTP client to transfer the archive to your HAG account. Several solutions exist, like FileZilla.

High-Level Procedure

  1. Create a MySQL database in AlternC - make sure to note the IDs
  2. Create a folder to receive the NextCloud in AlternC
  3. Create an FTP account from the folder previously created in AlternC - note the identifiers
  4. Configure your local FTP client with the previously created FTP credentials
  5. Add the desired URL (domain / subdomain) for your NextCloud in AlternC - make sure you are running PHP7.3 (or newer)
  6. Download the .tar.bz2 or .zip archive of NextCloud from their site - only take the latest HAG compatible version
  7. Upload the NextCloud archive from your local to the FTP account with your previously configured client
  8. Extract the previously uploaded NextCloud archive from the AlternC interface
  9. Rename / move the folder where the archive has been extracted to match the desired URL
    • by default the platform will be accessible from www.myaccount.koumbit.org/nextcloud
  10. Visit the desired URL www.myaccount.koumbit.org/nextcloud (or other) to complete the installation - enter the MySQL credentials previously created with hostname mysql.koumbit.net

Procedure Details

MySQL Database

NextCloud needs a database to work. We will create it now:

  1. In the AlternC dashboard, click on Databases in the MySQL section of the vertical menu bar.
  2. At the bottom of the page, enter a name for the database, for example nc. Choose the name at your discretion.
  3. Click on the Create this new MySQL database. button.
  4. Note the details that are displayed on the screen. It is possible to retrieve these details later if needed by clicking on the Show Settings button in the database list.

Folder Manipulation

You should now see on your AlternC the archive you just uploaded. Next to the file, click on Extract. This will create a directory called nextcloud/. If you want, you can rename this directory by checking the box next to this new directory, by clicking Rename at the top of the file list. A form will appear at the top of the page with the title Rename. Enter a new name (e.g. myaccount) in the text field, then click on the Rename button just below it.

Setup the Domain

In order to point a domain name (a .ca, .org, etc.) to the directory you created in the previous step, you have to select the domain name in the Domains section of the AlternC interface. If it is not already in the list, it is quite easy to use a domain name that is already in the interface for the moment, and then change it later. For example, you can click on the (sub)domain name myaccount.koumbit.org.

If for example we want www.myaccount.koumbit.org to be the address of the new NextCloud, we will change it:

  1. Click on the Edit button opposite www.myaccount.koumbit.org
  2. On the edit page, next to the Locally Hosted option, click Choose a directory... and select the directory created in the previous step -- for example, www/www.myaccount.koumbit.org/nextcloud/
  3. About 5 minutes later, you should be able to visit www.myaccount.koumbit.org in your browser, and see a page that starts with Welcome to NextCloud...

NextCloud Form

  1. Visit www.myaccount.koumbit.org/nextcloud with your browser
  2. Click on Here we go!
  3. On the next page, we will create an admin user for the NextCloud and enter the database identifiers
    1. Database "user", "password" and "name" are the ones we wrote down when we created the database
    2. Replace localhost in the "server" part for mysql.koumbit.net

Call us

☏ +1 514 907 9494
Lun: 10h à 12h et 13h à 16h
Mar: 10h à 12h
Mer: 10h à 12h et 13h à 16h
Jeu: 10h à 12h
Mon: 10am to 12pm and 1pm to 4pm
Tue: 10am to 12pm
Wed: 10am to 12pm and 1pm to 4pm
Thu: 10am to 12pm

Come and See Us!

1883, rue Atateken,
Montréal (Québec) H2L 3L7, Canada
Veuillez noter que nos bureaux n'ont pas de stationnement attitré.
1883 Atateken Street,
Montreal, Quebec, H2L 3L7, Canada
Please note that you'll need to find on-street parking.

Write to Us

Informations générales

Support technique

Pour une demande de devis, voir le formulaire à la page contact.

Nos clefs PGP

Politique de confidentialité

General inquiries

Technical support

For a free estimate, see the form on our contact page.

Our PGP keys

Privacy Policy

Follow Us

ktweb_menu_social

Mouton