Pydio

From ArchWiki
Jump to: navigation, search

Pydio (formerly AjaXplorer) is an open source web application, written in PHP, for file sharing and synchronization.

Installation

Install the pydioAUR package. Further you will need a database (e.g. MariaDB), a web server (Apache, Lighttpd or Nginx) with PHP-support. You may refer following sites:

Configuration

Make sure to adjust following variables to these minimal values in your php.ini:

/etc/php/php.ini
extension=exif.so
extension=gd.so
extension=mcrypt.so
extension=iconv.so
extension=mysqli.so
session.save_path = "/tmp"
output_buffering = Off

file_uploads = On
post_max_size = 20G
upload_max_filesize = 20G
max_file_uploads = 20000

In this configuration, we will configure the Nginx web server to serve Pydio on localhost in the root location without SSL enabled (even though it's recommended to use it with SSL). First, place a copy of the Pydio Nginx configuration

# cp /usr/share/doc/pydio/nginx.conf.sample /etc/webapps/pydio/nginx.conf

replace the domain name

# sed -i 's/pydio.example.com/localhost/g' /etc/webapps/pydio/nginx.conf

and reference this configuration file in the main nginx.conf:

/etc/nginx/nginx.conf

http {
    [...]
    include /etc/webapps/pydio/nginx.conf;
    [...]
 }

Here's an example on how you could setup a database for Pydio with MariaDB called pydio for the user pydio identified by the password password:

CREATE DATABASE pydio;
GRANT ALL PRIVILEGES ON pydio.* TO pydio@'localhost' IDENTIFIED BY 'pydio';
FLUSH PRIVILEGES;

Do not forget to (re)start your services (e.g. nginx.service and php-fpm.service)!

Visit the installation wizard page at http://127.0.0.1/ and follow the instructions.

See also