User Tools

Site Tools


This is an old revision of the document!



  $ tar xvzf eprints-2.XXX.tar.gz
 $ cd eprints-2
 $ ./configure --prefix=/home/chi/local/eprints --with-user=chi --with-group=dl
 $ ./

Now should edit the configuration file for the copy of Apache.

  $  cd /home/chi/local/apache_1.3.31/conf/httpd.conf
 Add libe: Include /home/chi/local/eprints/cfg/apache.conf
 Change User: chi
        Group: dl
  • Creating an Eprints Archive
  • Make sure the MySQL is running
  $ cd /home/chi/local/mysql
 $ bin/safe_mysql --user=root --socket=/tmp/mysql.sock &
 $ bin/mysql --user=root (connect to mysql>
  $ cd /home/chi/local/eprints
 $ bin/configure_Archive
 > Archive id:
 > Hostname:
 > webserver: 8200
 > email:
 > mySQL host= localhost
 > MySQL port: [[80]]#
 > MySQL socket: /tmp/mysql.sock
 > user= chi
 > password: chi
 > MySQL root password:
 $ bin/create_tables ARCHIVEID
 $ bin/import_subjects ARCHIVEID
 $ bin/generate_static ARCHIVEID
 $ bin/create_user ARCHIVEID <USERID> <EMAIL> admin <PASSWORD>
   (bin/create_user Chi1 chi admin chi
 $ bin/generate_views ARCHIVEID
 $ bin/generate_apacheconf

After running generate_apacheconf or modifying the configuration you must restart the webserver for the changes to take effect!

 $ cd /home/chi/local/apache_1.3.31
$ bin/apachectl start
 ($bin/apachetl stop)

Then stop and start your webserver: Often:

  /etc/rc.d/init.d/httpd stop
 /etc/rc.d/init.d/httpd start
 (or maybe /usr/local/apache/bin/apachectl stop & start)

ps. EPrints needs to be installed as the same user as the apache webserver runs as.

  • Problems solutions:

When I tried to run bin/create_tables Chi1 an error come out: Can't locate Apache/

  • Possible solutions:

Try install libapreq I had the same problem, seems this is the one step missing from the installing instructions. libapreq contains the code for manipulating cookies. Greg

libapreq is a shared library with associated modules for manipulating client request data via the Apache API. It also includes language bindings for Perl (Apache::Request and Apache::Cookie). Functionality includes:

  • parsing of application/x-www-form-urlencoded data
  • parsing of multipart/form-data
  • parsing of HTTP cookies
  • Download
  * http: * <nowiki>//</nowiki>
 *software: *
  • View Archive from Browser:

Remember to change httpd.conf file.
/var/www/dokuwiki/greenstone-wiki/private/data/pages/en/extra/eprints.txt · Last modified: 2023/03/13 01:46 by