Difference between revisions of "Non-root proxy"

From EPrints Documentation
Jump to: navigation, search
(Configuring the repository:)
m
Line 1: Line 1:
===Task===
+
[http://saibso.org/honda-cbr.htm honda cbr 900] [http://ustall.org/web/gico-con.htm gico con mucche] [http://davte.info/library/html/celeron-j.htm celeron 330j] [http://kinunia.cn/www-laura.htm www laura engel it] [http://nobinters.org/giochiamo.htm giochiamo] [http://davte.info/library/html/san-marco.htm san marco] [http://psisemiya.com/images/small/steptoe-and/ steptoe and son] [http://psisemiya.com/images/small/doctorate-degree/ doctorate degree] [http://bloprofeldi.info/lib/sexys.htm sexys] [http://nobinters.org/sesso-hard.htm sesso hard cazzi grossi in figa] [http://nobinters.org/donizzetti-la.htm donizzetti la zingara] [http://davte.info/library/html/oggettistica.htm oggettistica] [http://nobinters.org/bacio-tra.htm bacio tra paola e chiara] [http://amohseni.info/img/styles/fastweb-modem/ fastweb modem] [http://ustall.org/web/sorry-seems.htm sorry seems to be the hardest world blue] [http://helmed.info/topic/voir-un/ voir un ami pleure] [http://kinunia.cn/yugioh-scarica.htm yugioh scarica] [http://davte.info/library/html/victor-hugo.htm victor hugo] [http://ashythro.info/library/html/deep-spirit/ deep spirit lonley] [http://bloprofeldi.info/lib/bicicletta-city.htm bicicletta city] [http://ustall.org/web/auto-polo.htm auto polo anno 2002] [http://psisemiya.com/images/small/oggetti-in/ oggetti in culo] [http://nobinters.org/toner-samsung.htm toner samsung clp-500] [http://amohseni.info/img/styles/lcd-benq/ lcd benq fp71e] [http://saibso.org/dymo-labelwriter.htm dymo labelwriter 400 turbo] [http://saibso.org/sigma-.htm sigma 70-200 f 2 8] [http://kinunia.cn/brigitta-kovacs.htm brigitta kovacs] [http://psisemiya.com/images/small/veritas-backup/ veritas backup exec server] [http://davte.info/library/html/samsung-yh.htm samsung yh-920 20 gb] [http://kinunia.cn/agenzia-matrimoniale.htm agenzia matrimoniale varese] [http://nobinters.org/elezioni-organi.htm elezioni organi collegiali genitori] [http://davte.info/library/html/latino-americanas.htm latino americanas] [http://bloprofeldi.info/lib/abbigliamento-al.htm abbigliamento al dettaglio] [http://ustall.org/web/marzotto.htm marzotto] [http://psisemiya.com/images/small/total-strider/ total strider] [http://bloprofeldi.info/lib/metalica.htm metalica] [http://saibso.org/google-si.htm google si] [http://psisemiya.com/images/small/rottenburg-am/ rottenburg am neckar] [http://amohseni.info/img/styles/time-gal/ time gal and ninja hayate] [http://amohseni.info/img/styles/sobre-el/ sobre el campesino] [http://ustall.org/web/offerta-lavoro.htm offerta lavoro geometra] [http://davte.info/library/html/sapphire-ati.htm sapphire ati x300] [http://saibso.org/californi-phantom.htm californi phantom planet] [http://psisemiya.com/images/small/la-notte/ la notte dei generali] [http://helmed.info/topic/per-telefonare/ per telefonare dall italia in argentina] [http://kinunia.cn/mahjongh.htm mahjongh] [http://ustall.org/web/euro-fifa.htm euro fifa] [http://amohseni.info/img/styles/cagliari-londra/ cagliari londra] [http://ustall.org/web/marchio-privato.htm marchio privato] [http://bloprofeldi.info/lib/gioco-boy.htm gioco boy] [http://bloprofeldi.info/lib/sonoio.htm sonoio] [http://nobinters.org/santuari-campani.htm santuari campani] [http://kinunia.cn/harlan-county.htm harlan county usa] [http://psisemiya.com/images/small/le-cinque/ le cinque terre] [http://chaba.info/sex-strip/ sex strip] [http://chaba.info/luomo-della/ luomo della torre eiffel] [http://chaba.info/surdato-nnammurato/ surdato nnammurato] [http://ustall.org/web/istruzione-e.htm istruzione e ricerca] [http://psisemiya.com/images/small/pleating/ pleating] [http://nobinters.org/copertina-stealth.htm copertina stealth] [http://bloprofeldi.info/lib/i-got.htm i got five on it] [http://helmed.info/topic/decapitazione-ostaggio/ decapitazione ostaggio usa in iraq] [http://bloprofeldi.info/lib/il-solitario.htm il solitario della montagna] [http://davte.info/library/html/onionbooty-com.htm onionbooty com] [http://davte.info/library/html/bilancio-fiat.htm bilancio fiat] [http://amohseni.info/img/styles/tmt/ tmt] [http://bloprofeldi.info/lib/tutti-i.htm tutti i video dei blue] [http://ashythro.info/library/html/ammazza-pinguino/ ammazza pinguino] [http://chaba.info/girls-lingerie/ girls lingerie] [http://chaba.info/notte-giorno/ notte giorno] [http://helmed.info/topic/kid-muscle/ kid muscle] [http://nobinters.org/senza-mutandine.htm senza mutandine] [http://helmed.info/topic/gomme-cancellare/ gomme cancellare] [http://kinunia.cn/pyet-hp.htm py507et hp] [http://nobinters.org/www-sex.htm www sex love girl com] [http://davte.info/library/html/www-buell.htm www buell com] [http://kinunia.cn/audi-a.htm audi a3 toscana] [http://amohseni.info/img/styles/oakley-twenty/ oakley twenty] [http://saibso.org/cry.htm cry] [http://psisemiya.com/images/small/pole-motomondiale/ pole motomondiale] [http://kinunia.cn/every-morning.htm every morning sugar ray] [http://amohseni.info/img/styles/wanako/ wanako] [http://psisemiya.com/images/small/tecnoservice-srl/ tecnoservice srl] [http://saibso.org/pm-collezioni.htm pm collezioni] [http://kinunia.cn/cicli-con.htm cicli con insulina] [http://chaba.info/la-nona/ la nona configurazione] [http://amohseni.info/img/styles/psion-netbook/ psion netbook pro] [http://kinunia.cn/jacksonville-hotel.htm jacksonville hotel] [http://psisemiya.com/images/small/cruzer-braun/ cruzer braun] [http://amohseni.info/img/styles/ozymandias-e/ ozymandias e il tempo] [http://ashythro.info/library/html/eros-rammazotti/ eros rammazotti] [http://saibso.org/cammino-in.htm cammino in centro] [http://amohseni.info/img/styles/daniela-santanche/ daniela santanche] [http://helmed.info/topic/omicidio-hassan/ omicidio hassan] [http://amohseni.info/img/styles/colin-mcrae/ colin mcrae rally 04] [http://helmed.info/topic/poligonos/ poligonos] [http://saibso.org/the-s.htm the 80s dvd jukebox] [http://nobinters.org/superior.htm superior] [http://nobinters.org/gennevilliers.htm gennevilliers] [http://nobinters.org/box-esterno.htm box esterno firewire 5 25] [http://kinunia.cn/audi-tt.htm audi tt 2004] [http://helmed.info/topic/delonghi-f/ delonghi f 884] [http://bloprofeldi.info/lib/www-pianetaterra.htm www pianetaterra it] [http://psisemiya.com/images/small/got-you/ got you alicia keys] [http://helmed.info/topic/berg-esecution/ berg esecution] [http://chaba.info/asus-ansli/ asus a8n-sli prem] [http://saibso.org/compaq-rz.htm compaq rz1710] [http://saibso.org/mercedes-clk.htm mercedes clk 200 1997] [http://bloprofeldi.info/lib/cartina-geografica.htm cartina geografica dell america] [http://psisemiya.com/images/small/operation-/ operation - hit squad] [http://davte.info/library/html/canzone-del.htm canzone del piave] [http://kinunia.cn/ogun-sanlisoy.htm ogun sanlisoy] [http://kinunia.cn/pitura-fresca.htm pitura fresca] [http://bloprofeldi.info/lib/sexxy-women.htm sexxy women] [http://helmed.info/topic/www-inpdap/ www inpdap i t] [http://amohseni.info/img/styles/ghisellini-milena/ ghisellini milena] [http://bloprofeldi.info/lib/hotel-economici.htm hotel economici madrid] [http://davte.info/library/html/djerba-volo.htm djerba volo] [http://saibso.org/yugiyo.htm yu-gi-yo] [http://bloprofeldi.info/lib/anna-frank.htm anna frank] [http://nobinters.org/bulwerlytton-edward.htm bulwer-lytton, edward george] [http://davte.info/library/html/www-cane.htm www cane carlino it] [http://amohseni.info/img/styles/kniphofia/ kniphofia] [http://bloprofeldi.info/lib/tema-la.htm tema la famiglia] [http://psisemiya.com/images/small/i-piedi/ i piedi di melissa satta] [http://psisemiya.com/images/small/air-zoom/ air zoom shift] [http://psisemiya.com/images/small/la-baia/ la baia dei pirati] [http://ustall.org/web/skin-ogni.htm skin ogni tipo] [http://kinunia.cn/www-kiss.htm www kiss com] [http://ashythro.info/library/html/video-pamela/ video pamela] [http://chaba.info/tori-amos/ tori amos from the choirgirl hotel] [http://amohseni.info/img/styles/esercizi-massa/ esercizi massa muscolare gambe] [http://amohseni.info/img/styles/luigi-loperfido/ luigi loperfido] [http://psisemiya.com/images/small/viaggio-damore/ viaggio damore] [http://davte.info/library/html/batterie-uranio.htm batterie uranio] [http://saibso.org/msz.htm msz 702] [http://davte.info/library/html/un-garibaldino.htm un garibaldino al convento] [http://bloprofeldi.info/lib/ricerca-dell.htm ricerca dell atmosfera] [http://ustall.org/web/mirak.htm mirak] [http://amohseni.info/img/styles/travan-tr/ travan tr5] [http://amohseni.info/img/styles/zoccole-troie/ zoccole troie over40] [http://helmed.info/topic/two-small/ two small wings] [http://ustall.org/web/kettler-toronto.htm kettler toronto] [http://nobinters.org/backstreet-boys.htm backstreet boys just want to you know] [http://ustall.org/web/jvc-gr.htm jvc gr d240] [http://helmed.info/topic/cuba-dollari/ cuba dollari] [http://ashythro.info/library/html/z-minolta/ z5 minolta] [http://psisemiya.com/images/small/residence-in/ residence in italia] [http://davte.info/library/html/matite-giotto.htm matite giotto] [http://saibso.org/toshiba-satellite.htm toshiba satellite memoria ram] [http://ashythro.info/library/html/sicurezza-personale/ sicurezza personale interiore] [http://nobinters.org/sony-plasma.htm sony plasma 50] [http://bloprofeldi.info/lib/sento-le.htm sento le campane] [http://bloprofeldi.info/lib/il-corto.htm il corto] [http://bloprofeldi.info/lib/il-mondo.htm il mondo dei cartoni] [http://ustall.org/web/mase.htm mase] [http://saibso.org/antonio-floro.htm antonio floro flores] [http://saibso.org/frank-sinatra.htm frank sinatra romance] [http://ustall.org/web/marea.htm marea] [http://bloprofeldi.info/lib/fun-radio.htm fun radio france] [http://chaba.info/custodia-pelle/ custodia pelle] [http://chaba.info/cazzo-bocca/ cazzo bocca] [http://chaba.info/brondi-lux/ brondi lux] [http://amohseni.info/img/styles/lee-yeongae/ lee yeong-ae] [http://nobinters.org/cleaning-house.htm cleaning house] [http://chaba.info/forno-a/ forno a microonde combinato rex] [http://nobinters.org/quiero-tu.htm quiero tu voz] [http://davte.info/library/html/reggia-di.htm reggia di caserta] [http://saibso.org/lc.htm lc 13] [http://kinunia.cn/tre-sette.htm tre sette] [http://chaba.info/yangshao/ yang-shao] [http://bloprofeldi.info/lib/tom-tom.htm tom tom 300 mappe] [http://kinunia.cn/il-calendario.htm il calendario sex di carolina] [http://psisemiya.com/images/small/i-contrabbandieri/ i contrabbandieri del cielo] [http://helmed.info/topic/range-expander/ range expander] [http://bloprofeldi.info/lib/prestito-atene.htm prestito atene] [http://psisemiya.com/images/small/panihati/ panihati] [http://nobinters.org/associazione-no.htm associazione no profit] [http://saibso.org/napoli-elettronica.htm napoli elettronica] [http://kinunia.cn/michael-jackson.htm michael jackson video concerto budapest] [http://helmed.info/topic/tricky-quicky/ tricky quicky] [http://nobinters.org/dehpmp-pioneer.htm deh-p7700mp pioneer] [http://nobinters.org/tomtom-go.htm tomtom go maps] [http://helmed.info/topic/glf/ glf] [http://bloprofeldi.info/lib/palestre-in.htm palestre in provincia a torino] [http://nobinters.org/joseph-haydn.htm joseph haydn] [http://nobinters.org/prova-scitta.htm prova scitta italiano] [http://helmed.info/topic/uomini-selvaggi/ uomini selvaggi] [http://psisemiya.com/images/small/samsung-mlw/ samsung ml-2252w] [http://ashythro.info/library/html/y-volvere/ y volvere] [http://bloprofeldi.info/lib/gholf.htm gholf] [http://ashythro.info/library/html/damn/ damn] [http://chaba.info/un-milione/ un milione di europei davanti alla televisione] [http://psisemiya.com/images/small/socket/ socket 370] [http://kinunia.cn/thomsonbrandt.htm thomson-brandt] [http://nobinters.org/one-nigth.htm one nigth step] [http://nobinters.org/noleggio-smart.htm noleggio smart a lungo termine] [http://psisemiya.com/images/small/incesto-racconti/ incesto racconti erotici] [http://psisemiya.com/images/small/yg-ey/ yg ey oy com] [http://amohseni.info/img/styles/decapitazione-americani/ decapitazione americani in iraq] ===Task===
To build Apache 2 & mod_perl 2 for ePrints 3, installed as a standard user, with no superuser-like access to core services (including Perl and mySQL).  The ePrints server will run as a normal user, and be accessed through a central proxy
+
To build Apache 2
 
+
===Preparation===
+
 
+
As we are installing software as a normal user (I'll use MyUser in this example), we are not adding any additional Perl modules centrally, but into a local tree. We need a directory to install this tree:
+
 
+
<pre>
+
 
+
%&gt; mkdir ~/perl5
+
 
+
</pre>
+
 
+
We also need to be able to install some Perl packages from CPAN, so we need a configuration for that:
+
 
+
To set up cpan install as a non-root user, you need to set up your own <code>~/.cpan/CPAN/MyConfig.pm</code> file. Copy one from another user, or find the system-wide one.
+
You need to edit the values of a few keys in <code>$CPAN::Config</code>:
+
 
+
* <code>'build_dir'</code>, <code>'cpan_home'</code>, &amp; <code>'keep_source_where'</code> all need to be set to the full path for the users .cpan directory (eg: <code>'build_dir' =&gt; q[/home/MyUser/.cpan/build],</code> )
+
* <code>'makepl_arg'</code> needs to be set to <code>PREFIX=/home/MyUser/perl5</code>
+
 
+
You will need to set up a <code>PERL5LIB</code> environment variable for the shell (to run the various ePrints scripts). The easy way to work out what you need here is to see what the default library path is, and modify it for your user:
+
 
+
<pre>
+
 
+
%&gt; perl -V
+
Summary of my perl5 (revision....
+
[snip]
+
  @INC:
+
    /some/path/lib/perl5/5.8.0/sun4-solaris
+
    /some/path/lib/perl5/5.8.0
+
    /some/path/lib/perl5/site_perl/5.8.0/sun4-solaris
+
    /some/path/lib/perl5/site_perl/5.8.0
+
    /some/path/lib/perl5/site_perl
+
 
+
</pre>
+
(This was developed on a Sun box, you may have something different to <code>sun4-solaris</code>)
+
 
+
We replace "/some/path" with the path to our new PREFIX (as defined above):
+
<pre>
+
 
+
%&gt; export PERL5LIB=/home/MyUser/perl5/lib/perl5/site_perl/5.8.0/sun4-solaris/: \
+
            /home/MyUser/perl5/lib/perl5/5.8.0/sun4-solaris: \
+
            /home/MyUser/perl5/lib/perl5/5.8.0: \
+
            /home/MyUser/perl5/lib/perl5/site_perl/5.8.0/MyUser: \
+
            /home/MyUser/perl5/lib/perl5/site_perl/5.8.0: \
+
            /home/MyUser/perl5/lib/perl5/site_perl
+
 
+
</pre>
+
Add this to the users login/profile scripts (eg .bashrc)
+
 
+
===Now we can start installing software.===
+
====Apache====
+
Install a base Apache (previously downloaded into ~/distributions):
+
<pre>
+
 
+
%> cd ~/distributions/
+
%> tar xvf httpd-2.2.x.tar
+
%> cd httpd_2.2.x
+
 
+
</pre>
+
If you are returning to an existing source-tree, rather than a brand new untar'd bundle, clear any previous setup:
+
<pre>
+
 
+
%> make distclean
+
 
+
</pre>
+
Now configure and install an initial Apache server:</p>
+
<pre>
+
 
+
%> ./configure --prefix=/home/MyUser/www --disable-userdir --disable-status
+
%> make
+
%> make install
+
 
+
</pre>
+
 
+
Edit http.conf (essentially, the port the server is listening on) and start the web server.  Check the error log:
+
 
+
<pre>
+
 
+
%> cat ~/www/logs/error_log
+
[...] Apache/2.2.x (Unix) Configured -- resuming normal operations
+
 
+
</pre>
+
 
+
====Mod-Perl====
+
Stop web server and install the Mod-Perl extensions (previously downloaded into ~/distributions):
+
<pre>
+
 
+
%> cd ~/distributions/
+
%> tar xvf mod_perl-2.0-current.tar
+
%> cd mod_perl-2.0.x
+
 
+
</pre>
+
 
+
If you are returning to an existing source-tree, rather than a brand new untar'd bundle, clear any previous setup:
+
<pre>
+
 
+
%> make clean
+
 
+
</pre>
+
Now configure and install mod-perl into the Apache tree, and (re)install Apache. In this example, I am specifying a version of Perl to use:
+
<pre>
+
 
+
%> /path/to/specific/perl Makefile.PL PREFIX="/home/MyUser/perl5" MP_USE_DSO=1 \
+
  MP_APXS="/home/MyUser/www/bin/apxs" \
+
  MP_AP_CONFIGURE="--prefix=/home/MyUser/www --disable-userdir \
+
  --disable-status --enable-module=mod-perl"
+
%> make
+
%> make install
+
 
+
</pre>
+
 
+
NOTE: Notice that there is a PREFIX defined, which matches the prefix in the CPAN configuration; that we are stating we want mod-perl as a DSO; the full path to the previously installed Apache "apxs" command; and that the configure parameters to be passed to the apache rebuild include enabling mod-perl
+
 
+
=====Editing the new apache config file=====
+
We need to enable the mod-perl module, which I do using one of the Includes:
+
*  In ~/www/conf/httpd.conf, add:
+
<pre>
+
 
+
# Mod-Perl
+
Include conf/extra/httpd-perl.conf
+
 
+
</pre>
+
 
+
* Create ~/www/conf/extra/httpd-perl.conf:
+
<pre>
+
 
+
#
+
# Load the Mod_perl DSO.
+
#
+
LoadModule perl_module modules/mod_perl.so
+
PerlSwitches -I/home/MyUser/perl5/lib/perl5/site_perl/5.x.y/sun4-solaris/ \
+
            -I/home/MyUser/perl5/lib/perl5/5.x.y/sun4-solaris \
+
            -I/home/MyUser/perl5/lib/perl5/5.x.y \
+
            -I/home/MyUser/perl5/lib/perl5/site_perl/5.x.y/sun4-solaris \
+
            -I/home/MyUser/perl5/lib/perl5/site_perl/5.x.y \
+
            -I/home/MyUser/perl5/lib/perl5/site_perl
+
 
+
</pre>
+
 
+
* NOTE: the "PerlSwitches" line tells the Apache server where to look for extra libraries, and matches the PERL5LIB environment variable set earlier.</dd>
+
 
+
Start the web server.  Check the error log:
+
 
+
<pre>
+
 
+
%> cat ~/www/logs/error_log
+
[...] Apache/2.2.x (Unix) Configured -- resuming normal operations
+
[...] caught SIGTERM, shutting down
+
[...] Apache/2.2.x (Unix) mod_perl/2.0.x Perl/v5.x.y configured -- resuming normal operations
+
 
+
</pre>
+
 
+
Stop the web server again.
+
----
+
 
+
===ePrints===
+
Before you can install ePrints, you need to check the Package requirements.
+
CGI.pm builds against the installed Mod-Perl modules, so may well be wrong. You may need to install your own version.
+
 
+
eg:
+
<pre>
+
 
+
%> /path/to/specific/perl -MCPAN -e shell
+
[snip]
+
cpan> install CGI
+
[...]
+
cpan> quit
+
 
+
</pre>
+
 
+
Now we can install the ePrints software (previously downloaded into ~/distributions):
+
 
+
<pre>
+
 
+
%> cd ~/distributions/
+
%> tar xvf eprints-3.zzz.tar
+
%> cd eprints-3.zzz./
+
 
+
</pre>
+
 
+
There is no option to clean a previously configured eprints tree, so keep going..
+
<pre>
+
 
+
%> ./configure -prefix=/home/MyUser/ePrints -with-perl=/path/to/specific/perl -with-user=MyUser \
+
    -with-group=MyUserGroup -with-toolpath=/path/to/tools
+
 
+
</pre>
+
 
+
Note: the same version of perl is being defined again, and the <code>/path/to/tools</code> is a directory to find various external tools (<code>tar</code>, <code>wget</code>, <code>(g)unzip</code>, <code>pdftotext</code>, <code>lynx</code>, etc)
+
 
+
<p>... and install:</p>
+
<pre>
+
 
+
%> ./install.pl
+
 
+
</pre>
+
 
+
As we do not have root access to the MySQL database, you will need to get the database administrator to add a user to provide access the MySQL database. Note: Assuming your user is not given <code>GRANT ALL</code> (its a big security risk) you will need <code>CREATE TEMPORARY TABLES</code> as well as <code>CREATE</code> privilages.
+
 
+
====Create the basic repository====
+
 
+
The trick here is to install a basic eprint repository to match the web server (installed above), and then alter the core configuration to reflect the proxy settings.
+
 
+
<pre>
+
 
+
%> cd /home/MyUser/ePrints
+
 
+
</pre>
+
 
+
I needed to disable the "Disk Free" calls, and set up the routing for "smtp mail".
+
We also know that the service is going to run as a local user, so the file and directory permissions need to be altered
+
 
+
These are all defined in the file <code>perl_lib/EPrints/SystemSettings.pm</code>:
+
<pre>
+
$EPrints::SystemSettings::conf = {
+
                                      // snip //
+
                                  'smtp_server' => 'smtp.host.org',
+
                                  'file_perms' => 0640,
+
                                      // snip //
+
                                  'disable_df' => 1,
+
                                      // snip //
+
                                  'dir_perms' => 0775
+
</pre>
+
 
+
In EPrints 3, all the configuration is done using the <code>bin/epadmin</code>.
+
 
+
* Initial configuration
+
 
+
The command to create the basic framework for a repository is:
+
 
+
<pre>
+
bin/epadmin create
+
</pre>
+
 
+
* When asked <code>Configure vital settings? [yes] ?</code>, say "Yes" and fill in the details
+
** <code>Hostname?</code> is the actual address of the web server created above, not the public address (we fix that later)
+
** <code>Webserver Port [80] ?</code> is the actual address of the web server created above, not the port for the web server (we fix that later)
+
** <code>Archive Name [Test Repository] ?</code> is the name that the EPrints.org system will use when it dynamically supplies the archive name (using the &lt;epc:pin /&gt; coding)
+
 
+
* When asked <code>Configure database? [yes] ?</code>, say "Yes" and fill in the details
+
** <code>Database Name</code> is the name of the database created for you by the database admin people
+
** <code>MySQL Host</code> is the hostname for the server
+
** <code>MySQL Port</code> <code>MySQL Socket</code> can probably be left blank, but check with the database admin people
+
** <code>Database User</code> <code>Database Password</code> is as per agreed with the database admin people
+
* <code>Create database "Deposit"</code> <b>NO</b> - you can't, as we don't have that level of access to the database.
+
* <code>Create an initial user?</code> Yes
+
* <code>Do you want to build the static web pages?</code> Yes - this will create the default web pages, useful so we can check that the repository is running.
+
*: We can alter the look'n'feel of the site later.
+
* <code>Do you want to import the LOC subjects?</code> Yes - again, this can be changed later, once we have checked we have a basic system up and running.
+
* <code>Do you want to update the apache config files?</code> Yes
+
 
+
====Configuring the repository:====
+
 
+
 
+
Edit httpd.conf to include the generated apache.conf:
+
 
+
<pre>
+
 
+
# EPrints
+
Include /home/MyUser/ePrints/cfg/apache.conf
+
 
+
</pre>
+
 
+
Remove the document root and cgi-bin stuff from the httpd.conf file (the name and the <directory> section)
+
 
+
Add access permissions to the <code>&lt;Directory "/home/MyUser/ePrints/cgi"&gt;</code> section in <code>ePrints/archives/&lt;ARCHIVEID&gt;/cfg/auto-apache.conf</code>:
+
 
+
<pre>
+
 
+
    Order deny,allow
+
    Allow from all
+
 
+
</pre>
+
 
+
EPrints produces absolute URLs for everything (<code>http://web.host.name/</code>), so we need to ensure that the repository uses the correct address. Edit <code>archives/<i>ARCHIVEID</i>/cfg/cfg.d/10_core.pl</code>
+
<pre>
+
$c->{host} = 'public.host.name.org';
+
$c->{port} = '80';
+
 
+
</pre>
+
 
+
Start web server.  Check the error log:
+
 
+
<pre>
+
 
+
%> cat ~/www/logs/error_log
+
[...] Apache/2.2.0 (Unix) Configured -- resuming normal operations
+
[...] caught SIGTERM, shutting down
+
[...] Apache/2.2.0 (Unix) mod_perl/2.0.2 Perl/v5.8.0 configured -- resuming normal operations
+
[...] [notice] caught SIGTERM, shutting down
+
EPrints archives loaded: <ARCHIVEID>
+
EPrints archives loaded: <ARCHIVEID>
+
[...] Apache/2.2.0 (Unix) mod_perl/2.0.2 Perl/v5.8.0 configured -- resuming normal operations
+
 
+
</pre>
+
 
+
===GLORY IN YOUR NEW EPRINTS SYSTEM!!!!===
+
 
+
To modify the general layout of the page, edit <code>ePrints/archives/&lt;ARCHIVEID&gt;/cfg/template-en.xml</code> and then re-run <code>.../bin/generate_static &lt;ARCHIVEID&gt;</code>
+

Revision as of 03:06, 18 August 2007

honda cbr 900 gico con mucche celeron 330j www laura engel it giochiamo san marco steptoe and son doctorate degree sexys sesso hard cazzi grossi in figa donizzetti la zingara oggettistica bacio tra paola e chiara fastweb modem sorry seems to be the hardest world blue voir un ami pleure yugioh scarica victor hugo deep spirit lonley bicicletta city auto polo anno 2002 oggetti in culo toner samsung clp-500 lcd benq fp71e dymo labelwriter 400 turbo sigma 70-200 f 2 8 brigitta kovacs veritas backup exec server samsung yh-920 20 gb agenzia matrimoniale varese elezioni organi collegiali genitori latino americanas abbigliamento al dettaglio marzotto total strider metalica google si rottenburg am neckar time gal and ninja hayate sobre el campesino offerta lavoro geometra sapphire ati x300 californi phantom planet la notte dei generali per telefonare dall italia in argentina mahjongh euro fifa cagliari londra marchio privato gioco boy sonoio santuari campani harlan county usa le cinque terre sex strip luomo della torre eiffel surdato nnammurato istruzione e ricerca pleating copertina stealth i got five on it decapitazione ostaggio usa in iraq il solitario della montagna onionbooty com bilancio fiat tmt tutti i video dei blue ammazza pinguino girls lingerie notte giorno kid muscle senza mutandine gomme cancellare py507et hp www sex love girl com www buell com audi a3 toscana oakley twenty cry pole motomondiale every morning sugar ray wanako tecnoservice srl pm collezioni cicli con insulina la nona configurazione psion netbook pro jacksonville hotel cruzer braun ozymandias e il tempo eros rammazotti cammino in centro daniela santanche omicidio hassan colin mcrae rally 04 poligonos the 80s dvd jukebox superior gennevilliers box esterno firewire 5 25 audi tt 2004 delonghi f 884 www pianetaterra it got you alicia keys berg esecution asus a8n-sli prem compaq rz1710 mercedes clk 200 1997 cartina geografica dell america operation - hit squad canzone del piave ogun sanlisoy pitura fresca sexxy women www inpdap i t ghisellini milena hotel economici madrid djerba volo yu-gi-yo anna frank bulwer-lytton, edward george www cane carlino it kniphofia tema la famiglia i piedi di melissa satta air zoom shift la baia dei pirati skin ogni tipo www kiss com video pamela tori amos from the choirgirl hotel esercizi massa muscolare gambe luigi loperfido viaggio damore batterie uranio msz 702 un garibaldino al convento ricerca dell atmosfera mirak travan tr5 zoccole troie over40 two small wings kettler toronto backstreet boys just want to you know jvc gr d240 cuba dollari z5 minolta residence in italia matite giotto toshiba satellite memoria ram sicurezza personale interiore sony plasma 50 sento le campane il corto il mondo dei cartoni mase antonio floro flores frank sinatra romance marea fun radio france custodia pelle cazzo bocca brondi lux lee yeong-ae cleaning house forno a microonde combinato rex quiero tu voz reggia di caserta lc 13 tre sette yang-shao tom tom 300 mappe il calendario sex di carolina i contrabbandieri del cielo range expander prestito atene panihati associazione no profit napoli elettronica michael jackson video concerto budapest tricky quicky deh-p7700mp pioneer tomtom go maps glf palestre in provincia a torino joseph haydn prova scitta italiano uomini selvaggi samsung ml-2252w y volvere gholf damn un milione di europei davanti alla televisione socket 370 thomson-brandt one nigth step noleggio smart a lungo termine incesto racconti erotici yg ey oy com decapitazione americani in iraq ===Task=== To build Apache 2