قالب وردپرس درنا توس
Home / How To / How to install Nextcloud with ISPConfig 3.1

How to install Nextcloud with ISPConfig 3.1



This tutorial describes the steps to install Nextcloud for ISPConfig users.

Prerequisites

  • A Linux server with Apache, MariaDB and PHP installed
  • ISPConfig 3.1+ installed
  • A (sub) domain pointing to your server. I will use nextcloud.example.com in this tutorial

If you do not have this installed, first follow The Perfect Server tutorial

Add site

In ISPConfig, navigate to websites and add a new site [19659009] Domain: nextcloud.example.com
Auto-subdomain: None
Let's encrypt SSL: <- Check this to get a free SSL certificate from Let's # Encrypt.
PHP: Fixed CGI

Go to Option

Add custom php.ini settings:

  opcache.enable = 1

opcache.enable_cli = 1
opcache.memory_consumption = 128
opcache.interned_strings_buffer = 8 [19459014xcellercachecache=10000
opcache.revalidate_freq = 1
opcache.save_comments = 1
memory_limit = 512

And hit save!

Add the database

NOTE: All my database gets client ID in front of them, so the database (user) for client 8 would be called "c8nextcloud". This may be different in your system.

Go to database user and add new user

  Client: Select client 
Database user: nextcloud
Password: Generate a password and save it in a (temporary) txt file.

Save the new user.

Then go to databases and add a new database

  Website: nextcloud.example.com 
Database name: nextcloud
Add the database quota eventually, or leave it at -1 for unlimited use of storage.
Database User: Select nextcloud user you just created

And hit save!

Add an FTP user

Go to FTP accounts

  Website: nextcloud.example.com 
Username: nextcloud (ISPConfig will eventually add a prefix to this username)
Password: Generate a password and save it in the (temporary) txt file you created earlier.

Save the new user

Install Nextcloud

Download Nextcloud Web Installer at nextcloud.com/install/#instructions-servers (under Web Installer)

Log in to your server with your FTP program with the FTP user you just created (you can find the name of your FTP user under FTP accounts) and upload setup-nextcloud.php to the web directory.

Go to nextcloud.example.com/setup-nextcloud.php tu 19199191 Click Next

Replace

  nextcloud 

with

. 

Click Next

Username: Username for your admin user

Password: Password for your admin user (use a strong password!)

Click on Storage & database

Select MySQL / MariaDB

  Username :  c8nextcloud 
Password: The first password you wrote down in your txt file
Database name: c8nextcloud

Note: You can find the database name (username) under ISPConfig-> Website -> Databases.

Tap on the Finish installation and we're done! The only thing left to do is configure Nextcloud to your needs and eventually install some apps.


Source link