Pydio

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 HTTP Server, 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
extension=gd
extension=iconv
extension=mysqli
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 is 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 is 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.

gollark: Or remotely querying a bunch of computers to ask where they are.
gollark: Anyway, it's useful for stuff like interfacing with dynmaps.
gollark: I don't KNOW of one.
gollark: What if a device wants to know if it's in the nether/end/overworld for purposes?
gollark: An extension to GPS allowing dimension finding would be good. I have that in my GPS servers but it's not official and the client code is kind of a hack.

See also

This article is issued from Archlinux. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.