installing eprints 3.1 on fedora core 9
July 7, 2008 on 2:26 pm | In ramblings | No Commentsthis 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.
- yum install gdome2 gdome2-devel (not on FC9 by default)
- yum install tetex-latex ImageMagick (already on FC9 by default)
- yum install antiword (not on FC9 by default)
- yum install xpdf (not on FC9 by default)
- yum install perl-Unicode-String perl-MIME-Lite perl-XML-LibXML perl-XML-Parser (not on FC9 by default)
- yum install perl-CPAN (not on FC9 by default!?!?!?!?)
- cpan Term::ReadKey
- Install XML::GDOME from source (not on FC9 by default)
- useradd -M -d /var/www/html/eprints3 -s /sbin/nologin eprints
- usermod -a -G eprints apache
- download and untar eprints source
- ./configure –with-smtp-server=localhost
- ./install.pl (i edited this to install in /var/www/html/eprints3 instead of /opt/eprints3)
- /var/www/html/bin/generate_apacheconf (missing from instructions)
- echo “Include /var/www/html/eprints3/cfg/apache.conf > /etc/httpd/conf.d/eprints3.conf”
- ln -s /var/www/html/eprints3/bin/epindexer /etc/init.d/epindexer
- /sbin/chkconfig –add epindexer (missing from instructions)
- /sbin/chkconfig –level 345 epindexer on (missing from instructions)
- /etc/init.d/epindexer start
- su -s /bin/sh eprints
- cd /var/www/html/eprints3
- bin/epadmin create
- /etc/init.d/httpd configtest (’cause I’m like that)
- /etc/init.d/httpd restart (if configtest returns OK)
- 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^