Difference between revisions of "Installing EPrints on RHEL/Fedora/CentOS"
(→Other sources for dependencies) |
(→Other sources for dependencies) |
||
Line 39: | Line 39: | ||
http://fedoraproject.org/wiki/EPEL - Fedora Extras for RHEL. | http://fedoraproject.org/wiki/EPEL - Fedora Extras for RHEL. | ||
− | http://pkgs.repoforge.org/rpmforge-release/ - | + | http://pkgs.repoforge.org/rpmforge-release/ - RPMforge, which covers a very large range of Perl modules plus others. |
[http://www.imagemagick.org/script/binary-releases.php ImageMagick] provide an RPM for RHEL/CentOS 5. At time of writing the RPM requires fftw3, fltk, jasper and openexr which are available from ''RPMForge''. libwebp is available from [http://rpm.eprints.org/RHEL/5/ rpm.eprints.org]. | [http://www.imagemagick.org/script/binary-releases.php ImageMagick] provide an RPM for RHEL/CentOS 5. At time of writing the RPM requires fftw3, fltk, jasper and openexr which are available from ''RPMForge''. libwebp is available from [http://rpm.eprints.org/RHEL/5/ rpm.eprints.org]. |
Revision as of 09:48, 25 August 2011
Requirements
- RedHat Enterprise/CentOS 5.5 (earlier versions may work)
Installing
Add the rpm.eprints.org repository key:
rpm -ivh http://rpm.eprints.org/rpm-eprints-org-key-1-1.noarch.rpm
... the rpm.eprints.org EPrints repository:
rpm -ivh http://rpm.eprints.org/eprints/noarch/rpm-eprints-org-1-1.noarch.rpm
... on RHEL 5.x only the rpm.eprints.org RHEL updates repository:
rpm -ivh http://rpm.eprints.org/RHEL/5Server/noarch/rpm-eprints-org-RHEL-5-1.noarch.rpm
... on RHEL 6.x only install antiword if installing EPrints 3.2.x or earlier:
rpm -ivh http://rpm.eprints.org/RHEL/5/i386/antiword-0.37-1.i386.rpm # or for 64 bit: rpm -ivh http://rpm.eprints.org/RHEL/5/x86_64/antiword-0.37-1.x86_64.rpm
Upgrade your XML libraries:
yum upgrade libxml2 libxslt perl-XML-LibXML perl-XML-LibXSLT
Install EPrints 3:
yum install eprints3
Other sources for dependencies
The following RPM repositories may be useful for finding other dependencies required by EPrints that aren't part of the core RHEL system.
http://fedoraproject.org/wiki/EPEL - Fedora Extras for RHEL.
http://pkgs.repoforge.org/rpmforge-release/ - RPMforge, which covers a very large range of Perl modules plus others.
ImageMagick provide an RPM for RHEL/CentOS 5. At time of writing the RPM requires fftw3, fltk, jasper and openexr which are available from RPMForge. libwebp is available from rpm.eprints.org.
SELinux
If you're using SELinux on your server you will need to give Apache read/write access to the documents directory for all repositories you create:
chcon -R -h -t httpd_sys_script_rw_t /opt/eprints3/archives/[repoid]/documents/