by short running PHP processes.Īdd the following entries to Nextcloud's configuration file: It is not necessary to configure opcache here as this php.ini is only used by the occ command line tool and the background job, i.e. etc/webapps/nextcloud/php.ini open_basedir=/var/lib/nextcloud:/tmp:/usr/share/webapps/nextcloud:/etc/webapps/nextcloud:/dev/urandom:/usr/lib/php-legacy/modules:/var/log/nextcloud:/proc/meminfo:/proc/cpuinfoĭepending on which additional extensions you configure you may need to extend this list, e.g. This limits the locations where Nextcloud's PHP code can read and write files. Optional: For additional security configure open_basedir. etc/webapps/nextcloud/php.ini memory_limit = 512M Raise PHP's memory limit to at least 512MiB: etc/webapps/nextcloud/php.ini date.timezone = Europe/Berlin Set date.timezone to your preferred timezone, e.g.: in case you installed php-imagick (as recommended) etc/webapps/nextcloud/php.ini extension=bcmath Additionally enable the following extensions: Most of the prerequisites listed in Nextcloud's installation instructions are already enabled in a bare PHP installation. # chown nextcloud:nextcloud /etc/webapps/nextcloud/php.ini Although not strictly necessary change ownership of the copy: Make a copy of /etc/php-legacy/php.ini in /etc/webapps/nextcloud. These will be covered in the section about application servers. Corresponding settings in the configuration of the application server.A dedicated copy of php.ini in /etc/webapps/nextcloud/php.ini (for the occ command line tool and the background job).This guide does not tamper with PHP's central configuration file /etc/php-legacy/php.ini but instead puts Nextcloud specific PHP configuration in places where it does not potentially interfere with settings for other PHP based applications. Other optional dependencies will be covered later depending on your concrete setup (e.g. It is recommended to additionally install the packages php-legacy-imagick and librsvg for preview generation (preferrably as dependent package with pacman option -asdeps). All required PHP extensions will be taken care of this way. This will pull in quite a few dependent packages. When asked choose php-legacy as your PHP version. For the remainder of this article we assume an installation using php-legacy. It is highly recommended to choose php-legacy to be on the safe side (and for your peace of mind). Note: The package nextcloud (by means of a dependency on meta package php-interpreter) offers the choice to build an installation of Nextcloud on top of either php or on top of package php-legacy. For the very same reason it is not possible anymore to execute Nextcloud's PHP code directly in the Apache process by means of php-apache. This is one of the reasons why the application server comes into play here. Among other things this mandates that the web application be run with a dedicated user - in this case nextcloud. The Nextcloud package complies with the web application package guidelines. Apache HTTP server (using mod_proxy_fcgi) → FPM.Apache HTTP server (using mod_proxy_uwsgi) → uWSGI (plus uwsgi-plugin-php).This article will cover MariaDB/MySQL and PostgreSQL as databases and the following combinations of web server and application server: See Wikipedia for the history.Ī complete installation of Nextcloud comprises (at least) the following components:Ī web server paired with an application server on which runs Nextcloud (i.e. With an elaborated authorization scheme and the option for federation (connecting discrete instances) Nextcloud is well suited for use in enterprise environments. a Raspberry Pi) all the way up to full scale data centers serving millions of users. with your own instance of Nextcloud, you break free from proprietary (and potentially untrustworthy) services like Dropbox, Office 365, or Google Drive.ĭepending on your needs Nextcloud can be deployed from single-board computers (like e.g. Nextcloud is open source and based on open standards. collaborative editing of documents ( text, Office integration).messaging ( mail, chat, video conferencing).personal information manager ( contacts, calendar, tasks).Nextcloud is a suite of client-server-software that (by means of so-called apps) allows all kinds of sharing, collaboration and communication, e.g.:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |