Difference between revisions of "Installing EPrints on RHEL/Fedora/CentOS"
(→SELinux) |
|||
Line 11: | Line 11: | ||
rpm -ivh http://rpm.eprints.org/rpm-eprints-org-key-1-1.noarch.rpm | rpm -ivh http://rpm.eprints.org/rpm-eprints-org-key-1-1.noarch.rpm | ||
− | ... the rpm.eprints.org | + | ... the rpm.eprints.org EPrints repository: |
− | rpm -ivh http://rpm.eprints.org/ | + | rpm -ivh http://rpm.eprints.org/eprints/noarch/rpm-eprints-org-1-1.noarch.rpm |
− | ... the rpm.eprints.org | + | ... the rpm.eprints.org RHEL updates repository ('''not needed for Fedora Core 10+ or RedHat EL 6+'''): |
− | rpm -ivh http://rpm.eprints.org/ | + | rpm -ivh http://rpm.eprints.org/RHEL/5Server/noarch/rpm-eprints-org-RHEL-5-1.noarch.rpm |
Upgrade your XML libraries: | Upgrade your XML libraries: |
Revision as of 15:19, 4 August 2011
Requirements
- RedHat Enterprise 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
... the rpm.eprints.org RHEL updates repository (not needed for Fedora Core 10+ or RedHat EL 6+):
rpm -ivh http://rpm.eprints.org/RHEL/5Server/noarch/rpm-eprints-org-RHEL-5-1.noarch.rpm
Upgrade your XML libraries:
yum upgrade libxml2 libxslt perl-XML-LibXML perl-XML-LibXSLT
Install EPrints 3:
yum install eprints3
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/