User:Maffblaster/Infrastructure

Article description::A place where I keep some infrastructure tips.

PHP
Check for the following PHP modules to be available (per upstream's installation document). There should be 16 modules available:

Verify one of three possible modules exist for the database connector. In this instance, MariaDB will be the application's database:

Generally recommended modules:

Recommended for photo/image server:

Recommended for enhanced server performance is to pair Nextcloud with memcached. This php module is a PECL extension and is installed separately from php itself. On Gentoo, the php module is available in the following package

memcached package must also be installed:

Verify the module is available to php.

Self sign SSL certificate
Good for a year:

Create the nginx snippets directory (if it does not exist):

Add the following files:

Fixing memory issue
From the commandline, first check for proper dependencies:

In this instance, the current PHP memory limited is advised to be adjusted up, so make the correction for the currently selected PHP implementation:

Restart PHP and then rerun the check above to verify the memory limit has been resolved.

Running the installer
Run the installer from the commandline: