How to install the new Pydio 6 release on Ubuntu 14.10 (Utopic Unicorn)
Version 1.0
Author: Srijan Kishore <s [dot] kishore [at] ispconfig [dot] org>
Follow howtoforge on Twitter
Last edited 09/Dec//2014
This guide explains how to configure Pydio in Ubuntu 14.10 (Utopic Unicorn). Pydio (formerly AjaXplorer) is a mature open source software solution for file sharing and synchronization. With intuitive user interfaces (web / mobile / desktop), Pydio 6 provides enterprise-grade features to gain back control and privacy of your data: user directory connectors, legacy filesystems drivers, comprehensive admin interface, and much more.
1 Preliminary Note
I have fresh installed Ubuntu 14.10 server, on which I am going to install the NFS server. My Ubuntu server have hostname server1.example.com and IP as 192.168.0.100
You can have your Ubuntu server installed from the tutorial.
2 Install Pydio
Now we will install these packages at the Ubuntu 14.10 server end as:
vi /etc/apt/sources.list
[...]
##Pydio repository add### deb http://dl.ajaxplorer.info/repos/apt stable main deb-src http://dl.ajaxplorer.info/repos/apt stable main
wget http://dl.ajaxplorer.info/repos/[email protected]
apt-key add [email protected]
Then refresh the repository and install Pydio as follows:
apt-get update
apt-get install pydio
After the installation we will copy the sample pydio file to the apache destination as follows:
cp /usr/share/doc/pydio/apache2.sample.conf /etc/apache2/sites-enabled/pydio.conf
Finally restart the apache service.
service apache2 restart
3 Database Initialization
We will create a database that will be needed in Pydio as follows:
apt-get install mariadb-server php5-mysql
New password for the MariaDB "root" user: <-- mariadbpassword
Repeat password for the MariaDB "root" user: <-- mariadbpassword
Next we will create a database for Pydio as:
mysql -u root -p
Here we are adding database=pydiodb user=pydiouser and password=pydiopassword :
create database pydiodb;
create user pydiouser@localhost identified by 'pydiopassword';
grant all on pydiodb.* to pydiouser@localhost;
FLUSH PRIVILEGES;
exit
Next run
php5enmod mcrypt
service apache2 restart
service mysql restart
3 Web Configuration
Now open the URL http://server1.example.com/pydio Or http://192.168.0.100/pydio
Click on Start wizard
Create an user of your choice, I created user=admin and password=howtoforge:
Select storage type as Database system, and put the Database=pydiodb user=pydiouser and password=pydiopassword OR in case if your database values are different then match them accordingly.
Check the connectivity with the database by clicking over Try connecting to database:
Now we are ready for the installation, if you wish you cane create more users. Press Install Pydio Now.
It will take some time for initialization.
Now installation is completed copy the contents of the .htaccess file and paste it there at /usr/share/pydio/.htaccess:
Now we are ready for the show, refresh the browser and login as per the credentials created above.
In my case it user=admin and password=howtoforge
This will be your default welcome page.
Now you can add files and folders and share it over the network.
Cheers now we have a successfully configured Pydio over Ubuntu 14.10 :)
5 Links
- Ubuntu : http://www.ubuntu.com
- Pydio : https://pyd.io/