installing eprints 3.1 on fedora core 9

July 7, 2008 on 2:26 pm | In ramblings | No Comments

this morning i started playing with eprints to evaluate how well it could get along in our shared environment, behind our load balancer.  eprints tries to take over whatever hostname you give it in the apache settings, to it will require at least its own virtual host per install, and i’m not sure how its required indexing service will fare behind our load balancer.

in setting up eprints-3.1.0-rc2 on my rather vanilla fedora 9 box, i found a few steps missing from the fedora 7 documentation at wiki.eprints.org.  i know, i should update the wiki page for FC9, but i don’t know them like that, and to make things worse, i’m lazy.  so, here are my augmented instructions.

commands are assumed to be run as root as are the instructions on eprints’ wiki, though i did everything with sudo.  the below instructions also assume that you have a mysql server installed somewhere, that you know its root password, and that said mysql-server will allow root connections from the host used for the eprints installation – if you’re doing this on a stand-alone box, localhost will do nicely.  commands that didn’t need to be run on my stock fedora box are in green to denote them as optional.  well, i hope they’re in green; i’m colorblind.  finally, i’m installing beneath /var/www/html/eprints3 instead of the default /opt/eprints3.

  1. yum install gdome2 gdome2-devel (not on FC9 by default)
  2. yum install tetex-latex ImageMagick (already on FC9 by default)
  3. yum install antiword (not on FC9 by default)
  4. yum install xpdf (not on FC9 by default)
  5. yum install perl-Unicode-String perl-MIME-Lite perl-XML-LibXML perl-XML-Parser (not on FC9 by default)
  6. yum install perl-CPAN (not on FC9 by default!?!?!?!?)
  7. cpan Term::ReadKey
  8. Install XML::GDOME from source (not on FC9 by default)
  9. useradd -M -d /var/www/html/eprints3 -s /sbin/nologin eprints
  10. usermod -a -G eprints apache
  11. download and untar eprints source
  12. ./configure –with-smtp-server=localhost
  13. ./install.pl (i edited this to install in /var/www/html/eprints3 instead of /opt/eprints3)
  14. /var/www/html/bin/generate_apacheconf (missing from instructions)
  15. echo “Include /var/www/html/eprints3/cfg/apache.conf > /etc/httpd/conf.d/eprints3.conf”
  16. ln -s /var/www/html/eprints3/bin/epindexer /etc/init.d/epindexer
  17. /sbin/chkconfig –add epindexer (missing from instructions)
  18. /sbin/chkconfig –level 345 epindexer on (missing from instructions)
  19. /etc/init.d/epindexer start
  20. su -s /bin/sh eprints
  21. cd /var/www/html/eprints3
  22. bin/epadmin create
  23. /etc/init.d/httpd configtest (’cause I’m like that)
  24. /etc/init.d/httpd restart (if configtest returns OK)
  25. browse to your installation’s URL(hostname) and have fun!

No Comments yet »

RSS feed for comments on this post. TrackBack URI

Leave a comment

You must be logged in to post a comment.

Powered by WordPress with Pool theme design by Borja Fernandez.
Entries and comments feeds. Valid XHTML and CSS. ^Top^

Bad Behavior has blocked 29 access attempts in the last 7 days.