[ED] CentOS/RHEL 6 Systems
Create an account to grab your API Credentials¶
Our Enterprise Repositories are password-protected via API Key and API Secret. You can find them in your Pydio.com Account, under the "My API Keys" menu:
Warning: - This how-to is applied for Centos 7 and RHEL 7 x86_64 only. - This repo uses software collection, please make sure that your box is running to provide only Pydio service. It may break other services due to php version.
Pydio 7 and its dependencies require PHP version >= 5.6. However, centos 7/rhel 7 are still support PHP 5.4 as official version. That's why we have to use extra repos to pack with Pydio 7. For more information about software collection, please visit: rh-php56
Install Software Collection, EPEL and Pydio repositories¶
EPEL
1 |
|
CentOS 6
1 |
|
or RHEL 6
1 |
|
Remi's RPM
1 |
|
Pydio
1 |
|
Installation¶
At this point, your box contains all dependencies necessary to install Pydio. Hit the following commands to update.
1 2 |
|
Installing Pydio Core (first time)¶
Pydio can be installed by: yum install pydio-core
pydio-core: contains essential packages with basic functionalities.
you can additionally install some plugins by using command: yum install pydio-plugin-pluginName
Or yum install pydio-all
to install all community packages of Pydio.
Installing Pydio Enterprise¶
Enterprise version requires extra repo which is reserved only for subscribed clients.
Add enterprise repo:
1 |
|
Note: If your system runs on SSL port, httpd24-mod_ssl module is required.
Then edit /etc/yum.repos.d/pydio-enterprise.repo and replace API_KEY, API_SECRET by your credential. You can get API_KEY, API_SECRET in https://pydio.com > login with your account > User account >> MY LICENSES
1 2 3 4 5 6 7 |
|
Your box is ready for this command: yum install pydio-enterprise
to install all enterprise packages
Upgrading from Pydio 6.4.2¶
Warning: If you've installed Pydio before, please backup your sytem or take a snapshoot before upgrade.
Update the whole system
1 |
|
Upgrade pydio only
1 |
|
Note: if you have issue with samba dependancies, try to execute following commands: rpm -e --nodeps samba4-client rpm -e --nodeps samba4-common
Post install/upgrade.¶
This step is required to reconfigure Pydio, apache and php. Because the system now contains multiple version of apache and php, we should do:
- Disable default apache and php5.4
- Enable new apache and php5.6
- Migrate configuration of php5.4, old apache to new version
Disable default apache:
1 2 |
|
Enable new apache:
1 2 |
|
Enable php56
1 |
|
Enable httpd24-http
1 |
|
Now you can verify the PHP version by typing the command in terminal windows:
1 2 3 4 5 6 |
|
Software Collection use different location than default to deploy software base on its version. And new location for PHP56 is:
Equivalent paths between default and software collection version
file | default version | Softwarecollection version |
---|---|---|
php.ini | /etc/php.ini | /etc/opt/rh/rh-php56/php.ini |
php cli | /usr/bin/php | /opt/rh/rh-php56/root/usr/bin/php |
php module configs | /usr/lib64/php/modules | /opt/rh/rh-php56/root/usr/lib64/php/modules |
apache module configs | /etc/httpd/conf.modules.d/ | /opt/rh/httpd24/root/etc/httpd/conf.modules.d/ |
pydio.conf | /etc/httpd/conf.d/pydio.conf | /opt/rh/httpd24/root/etc/httpd/conf.d/pydio.conf |
If you upgrade from Pydio 6.4.2, and php.ini was changed, you should change such parameters in new php.ini as well: /etc/opt/rh/rh-php56/php.ini
Update database¶
All sql script is store in /usr/share/doc/pydio/sql, you can execute following commands to upgrade your exited DB. The script for updating DB can be downloaded:
For example:
1 |
|
Change the version number:
1 |
|
Others configurations¶
PHP.ini parameters¶
Following parameters should be reconfigured in /etc/opt/rh/rh-php56/php.ini (not /etc/php.ini)
Example:
1 2 3 4 |
|
Then restart apache
1 |
|
MariaDB¶
In this how-to, we take an example of using MySQL to store all configuration of Pydio.
Install mariadb:
1 |
|
Start mariadb service at boot time
1 2 |
|
Run secure installation
1 |
|
Enter mysql command line
1 |
|
Execute following commands to create database for pydio
1 2 3 4 |
|