Hardening consulting

Installing Pydio on debian wheezy

I have searched for a software that could do documents or pictures sharing like DropBox or google drive. I wanted something OpenSource that I could host too. After tests of misc products, I have finally choosen pydio, formerly Ajaxplorer. Despite the name it's not a python application, but a good old dirty PHP application.

Installation has been done on debian wheezy.

First we configure the stable repository for Pydio:

echo "deb http://dl.ajaxplorer.info/repos/apt stable main" > /etc/apt/sources.list.d/pydio.list
# wget -O - http://dl.ajaxplorer.info/repos/charles@ajaxplorer.info.gpg.key | apt-key add -
# apt-get install update

Then the package installation:

# apt-get install pydio php5-sqlite

Some adjustements are needed in the PHP configuration in /etc/php5/apache2/php.ini:

  • change upload_max_filesize and post_max_size to a reasonable value for posting files, I have choosen 512M;
  • set output_buffering to off.

Follows Apache configuration:

# cp /usr/share/doc/pydio/apache2.sample.conf /etc/apache2/sites-available/pydio
# a2ensite pydio
# a2enmod rewrite
# a2enmod php5
# service apache2 restart

Finally you connect your browser to /pydio to do the final steps of the installation. I took the most easiest sqlite database option, and Voilà you can share documents or photos (publicly or privately).

Using a Thunderbird extension you can even host on Pydio your big mail attachments.