Pydio is a free cloud solution
|
Installing on Ubuntu 16.04
Installing on the latest Ubuntu is a little trickier because, at the moment, there are no prepackaged versions of Pydio for Xenius.
First install all the packages Pydio is going to need with:
sudo apt install apache2 php libapache2-mod-php mariadb-server mariadb-client php-mcrypt php-gd php-xml php-apcu php-intl php-mysql
Then download the current version of Pydio from [3] and decompress it with
tar xvf pydio-core-X.X.X.tar.gz
where X.X.X is the current version (6.4.2 at the time of writing).
Move the resulting folder to /var/www/html/pydio :
sudo mv pydio-core-X.X.X /var/www/html/pydio
The rest of the installation is the same regardless of your version of Ubuntu.
Post-Install
Afterwards, you need to change the owner for the installation directory /usr/share/pydio/ so that Apache has write permission for the directory (Listing 3). The final step involves activating the PHP module Mcrypt and Mod Rewrite for Apache and then restarting the web server.
Listing 3
Post Install
$ sudo chown -R www-data:www-data /usr/share/pydio/ $ sudo php5enmod mcrypt $ sudo a2enmod rewrite $ sudo service apache2 force-reload
Once the server restarts, the user should log in to MySQL as the administrator (Listing 4). After login, the user sets up the pydio database. Then the user pydiouser gets access to the newly created database with the password that was set previously (Figure 1). When these operations are completed, the installation is ready for use, and the user should leave the MySQL prompt.
Listing 4
Setting up Database
$ mysql -u root -p mysql> create database pydio; mysql> grant all on pydio.* to ,pydiouser'@'localhost' identified by ,Password'; mysql> FLUSH PRIVILEGES; mysql> exit
Buy this article as PDF
Pages: 7
(incl. VAT)