CentOS/RHEL Systems
Install Software Collection, EPEL and Pydio repositories¶
EPEL
1 |
|
CentOS 7
1 |
|
or RHEL 7
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.
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 |
|
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/pydio.conf | /opt/rh/httpd24/root/etc/httpd/conf.d/pydio.conf/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 command to upgrade your exited DB
1 |
|