Get it from here: http://sourceforge.net/projects/ajaxplorer/files/pydio/stable-channel/
Eg:
wget -O pydio-core-5.0.4.tar.gz http://sourceforge.net/projects/ajaxplorer/files/pydio/stable-channel/5.0.4/pydio-core-5.0.4.tar.gz/download
Extract the file to a chosen directory.
tar xf pydio-core-5.0.4.tar.gz mv pydio-core-5.0.4 /var/www/explore chown -R www-data /var/www/explore/data/
Install mysql-server if not already installed.
apt-get install mysql-server-5.5
Install mcrypt, php5-gd, php5-mysql:
apt-get install php5-mcrypt php5-gd php5-mysql
Now, add “AllowOverride All” to /etc/apache2/sites-available/default
<Directory "/var/www/explore"> AllowOverride All </Directory>
Restart apache2:
service apache2 restart
Create a mysql database, then a user and assign a password for the user on the database.
mysql -u root -p
And the following on the mysql shell.
CREATE DATABASE IF NOT EXISTS pydiodbase; CREATE USER 'pydiouser'@'localhost' IDENTIFIED BY 'yourpassword'; GRANT ALL PRIVILEGES ON pydiodbase.* TO 'pydiouser'@'localhost'; FLUSH PRIVILEGES;
To change password of the dbuser:
UPDATE mysql.user SET Password=PASSWORD('yourpassword') WHERE User='pydiouser';
Then, access the web install at http://yourip/explore, and follow the onscreen prompts.
Your files appear in ./data/files/
Troubleshoot:
Error message during installation:
It seems that your data/ folder is not correctly protected, and that subfolders (like the data/cache/ folder) are web-accessible. If you are using Apache, make sure the AllowOverride All option is active for your current directory. If you are running Windows IIS, you must manually add a RequestFiltering/HiddenSegments configuration to prevent web access to these folders. If you have defined a different AJXP_DATA_PATH pointing outside the webfolder, you can ignore this warning.
Solution:
Check the default apache config:
ServerAdmin [email protected]
DocumentRoot /var/www
Options FollowSymLinks
AllowOverride None
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
ErrorLog ${APACHE_LOG_DIR}/error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog ${APACHE_LOG_DIR}/access.log combined
In the code:
Options Indexes FollowSymLinks MultiViews
AllowOverride none
Order allow,deny
allow from all
change none to All:
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
Warning about locale not set:
dpkg-reconfigure locales Generating locales... en_IN.UTF-8... up-to-date Generation complete.
Now,
grep -in AJXP_LOCALE conf/bootstrap_conf.php 30: * define("AJXP_LOCALE", ""); 32://define("AJXP_LOCALE", "en_EN.UTF-8"); 33://define("AJXP_LOCALE", "");
And edit line 33 of the file to change it to:
33:define("AJXP_LOCALE", "en_IN.UTF-8");
Warning: PHP Output Buffer disabled
You should disable php output_buffering parameter for better performances with Pydio.
Solution:
Check php value:
#grep -in output_buffering /etc/php5/apache2/php.ini 126:; output_buffering 245:output_buffering = 4096
Edit it to:
245:output_buffering = Off
Restart apache2 when you’re done.
Joel G Mathew, known in tech circles by the pseudonym Droidzone, is an opensource and programming enthusiast.
He is a full stack developer, whose favorite languages are currently Python and Vue.js. He is also fluent in Javascript, Flutter/Dart, Perl, PHP, SQL, C and bash shell scripting. He loves Linux, and can often be found tinkering with linux kernel code, and source code for GNU applications. He used to be an active developer on XDA forums, and his tinkered ROMS used to be very popular in the early 2000s.
His favorite pastime is grappling with GNU compilers, discovering newer Linux secrets, writing scripts, hacking roms, and programs (nothing illegal), reading, blogging. and testing out the latest gadgets.
When away from the tech world, Dr Joel G. Mathew is a practising ENT Surgeon, busy with surgeries and clinical practise.