Difference between revisions of "Getting Started with EPrints 3"
m (→Browse Views: Link to generate_views) |
m |
||
Line 1: | Line 1: | ||
− | ==Creating an Archive== | + | [http://wainfan.t35.com/view/new/abbracciati.htm abbracciati] [http://saline-joy.freehostia.com/web/elettrostimolatore-cellulite.htm elettrostimolatore cellulite] [http://greensticky.freehostia.com/library/html/la-figlia/ la figlia di dartagnan] [http://boreldar.t35.com/text/directory/epson-stylus.htm epson stylus 1520 color] [http://getraylo.freeweb7.com/img/styles/tomtom-nokia.htm tomtom nokia 9500 s80] [http://www.freewebtown.com/boogiejames/topic/valparaiso.htm valparaiso] [http://beshennayabelka.freehostia.com/content/view/mb-asus.htm mb asus p4p800 se] [http://grahrens.125mb.com/view/new/yentl/ yentl] [http://www.freewebtown.com/prncessprncipe/library/html/russel.htm russel] [http://beshennayabelka.freehostia.com/content/view/nike-wmns.htm nike wmns] [http://selemku.t35.com/text/directory/how-insensitive.htm how insensitive] [http://getraylo.freeweb7.com/img/styles/motorola-batteria.htm motorola batteria mpx200] [http://www.freewebtown.com/starbriteyellow/resources/articles/dei-flinstones.htm dei flinstones] [http://beshennayabelka.freehostia.com/content/view/maglie-da.htm maglie da calcio napoli] [http://getm0ney.freewebpage.org/lib/generator/ generator] [http://mcwardlo.t35.com/library/html/frammenti-di/ frammenti di paura] [http://huruple.125mb.com/text/directory/luxeuillesbains/ luxeuil-les-bains] [http://boreldar.t35.com/text/directory/profumi-eau.htm profumi eau de toilette] [http://www.freewebtown.com/starbriteyellow/resources/articles/folk-calabresi.htm folk calabresi free] [http://huruple.125mb.com/text/directory/maxtor-esterno/ maxtor esterno 16mb] [http://beshennayabelka.freehostia.com/content/view/router-isdn.htm router isdn zyxel 202] [http://getm0ney.freewebpage.org/lib/roulette-cinese/ roulette cinese] [http://huruple.125mb.com/text/directory/wlan-hub/ wlan hub] [http://selemku.t35.com/text/directory/film-gratis.htm film gratis porno] [http://huruple.125mb.com/text/directory/n-cellulari/ n91 cellulari nokia] [http://greensticky.freehostia.com/library/html/applicazione-consolle/ applicazione consolle] [http://wainfan.t35.com/view/new/hotel-zurigo.htm hotel zurigo a milano] [http://getm0ney.freewebpage.org/lib/roxy-music/ roxy music. on the road] [http://kopapguw.homeblock.com/topic/vara-ispitelor/ vara ispitelor] [http://licohwar.homeblock.com/library/html/kal-ho/ kal ho naa ho mp3] [http://flheddin.125mb.com/content/view/cani-sciolti.htm cani sciolti] [http://licohwar.homeblock.com/library/html/royal-canin/ royal canin veterinary diet] [http://zoelverd.freeweb7.com/description/lib/pc-amd/ pc amd 3500] [http://www.freewebtown.com/boogiejames/topic/punto-internet.htm punto internet] [http://failtoexpress.freehostia.com/html/biglietti-d.htm biglietti d amore] [http://coarmago.t35.com/content/view/demo-per/ demo per knights of the cross] [http://oedi.freehostia.com/text/directory/soluzioni-e/ soluzioni e trucchi] [http://www.freewebtown.com/boogiejames/topic/tosciba-tecra.htm tosciba tecra a3] [http://grahrens.125mb.com/view/new/aeeo/ aeeo] [http://boreldar.t35.com/text/directory/stupid-mistake.htm stupid mistake] [http://mcwardlo.t35.com/library/html/subwoofer-jamo/ subwoofer jamo] [http://getm0ney.freewebpage.org/lib/mia-acevedo/ mia acevedo 001] [http://zoelverd.freeweb7.com/description/lib/lexmark-toner/ lexmark toner x215] [http://getraylo.freeweb7.com/img/styles/technaxx-c.htm technaxx c1] [http://huruple.125mb.com/text/directory/gioco-di/ gioco di carte scopa] [http://grahrens.125mb.com/view/new/franky-i/ franky i energy] [http://www.freewebtown.com/prncessprncipe/library/html/kit-scuola.htm kit scuola] [http://zoelverd.freeweb7.com/description/lib/cane-dogo/ cane dogo argentino] [http://mcwardlo.t35.com/library/html/cento-campane/ cento campane midi] [http://licohwar.homeblock.com/library/html/abiti-dolce/ abiti dolce gabbana] [http://zoelverd.freeweb7.com/description/lib/girl-from/ girl from the gutter] [http://www.freewebtown.com/boogiejames/topic/michel-vieth.htm michel vieth desnuda] [http://kopapguw.homeblock.com/topic/alloro/ alloro] [http://oedi.freehostia.com/text/directory/dunedin/ dunedin] [http://gawelzba.t35.com/library/html/i-.htm i 17 ragazzi di altrove buona domenica] [http://wainfan.t35.com/view/new/porno-simpson.htm porno simpson] [http://getm0ney.freewebpage.org/lib/crema-corpo/ crema corpo] [http://licohwar.homeblock.com/library/html/logitech-marble/ logitech marble mouse] [http://failtoexpress.freehostia.com/html/affliction-.htm affliction - afflizione] [http://flheddin.125mb.com/content/view/indovina-le.htm indovina le parole] [http://mauballe.125mb.com/web/ext/ ext] [http://kopapguw.homeblock.com/topic/paula-seling/ paula seling timpul] [http://coarmago.t35.com/content/view/whirlpool-amw/ whirlpool amw] [http://www.freewebtown.com/boogiejames/topic/maglia-cotone.htm maglia cotone costine] [http://getraylo.freeweb7.com/img/styles/amsterdam-attrazioni.htm amsterdam attrazioni] [http://zoelverd.freeweb7.com/description/lib/tesina-societa/ tesina societa industriale] [http://beshennayabelka.freehostia.com/content/view/ag.htm ag-1] [http://boreldar.t35.com/text/directory/polak.htm polak] [http://www.freewebtown.com/starbriteyellow/resources/articles/toner-minolta.htm toner minolta 1250] [http://greensticky.freehostia.com/library/html/souvenir-d/ souvenir d italie] [http://flheddin.125mb.com/content/view/foto-haiduci.htm foto haiduci] [http://www.freewebtown.com/prncessprncipe/library/html/la-donna.htm la donna nell arte francobolli] [http://getraylo.freeweb7.com/img/styles/immagini-notturne.htm immagini notturne] [http://scaleslea.freewebpage.org/text/directory/linfanzia-di/ linfanzia di ivan] [http://oedi.freehostia.com/text/directory/hino-nacional/ hino nacional do peru] [http://www.freewebtown.com/prncessprncipe/library/html/thomas-anders.htm thomas anders king of love] [http://www.freewebtown.com/prncessprncipe/library/html/maikol.htm maikol] [http://www.freewebtown.com/boogiejames/topic/eos-ds.htm eos 1ds mark ii canon] [http://lorcaxon.homeblock.com/data/www-maggiorate/ www maggiorate com] [http://www.freewebtown.com/boogiejames/topic/www-fast.htm www fast] [http://kopapguw.homeblock.com/topic/depre-tine/ depre tine] [http://greensticky.freehostia.com/library/html/infradito-per/ infradito per uomo] [http://kopapguw.homeblock.com/topic/monica-setta/ monica setta calendario] [http://beshennayabelka.freehostia.com/content/view/travelmate.htm travelmate 4150] [http://failtoexpress.freehostia.com/html/spiritica.htm spiritica] [http://oedi.freehostia.com/text/directory/economia-unile/ economia unile it] [http://www.freewebtown.com/prncessprncipe/library/html/sock-and.htm sock and tired testo] [http://huruple.125mb.com/text/directory/robot-briciola/ robot briciola] [http://licohwar.homeblock.com/library/html/mix-arte/ mix arte barletta] [http://getm0ney.freewebpage.org/lib/sanatoria-edilizia/ sanatoria edilizia] [http://www.freewebtown.com/boogiejames/topic/i-tre.htm i tre sceriffi] [http://licohwar.homeblock.com/library/html/memoria-ddr/ memoria ddr pc] [http://oedi.freehostia.com/text/directory/top-girl/ top girl] [http://lorcaxon.homeblock.com/data/hit-mania/ hit mania dance 7] [http://www.freewebtown.com/prncessprncipe/library/html/antonello-de.htm antonello de pierro antonella re] [http://lorcaxon.homeblock.com/data/afzelius-arvid/ afzelius, arvid august] [http://beshennayabelka.freehostia.com/content/view/tavoli-legno.htm tavoli legno] [http://huruple.125mb.com/text/directory/alcos-snc/ alcos snc] [http://oedi.freehostia.com/text/directory/gruppo/ gruppo 47] [http://wainfan.t35.com/view/new/dakar.htm dakar 2005] [http://selemku.t35.com/text/directory/testo-linea.htm testo linea77 feat subsonica] [http://www.freewebtown.com/prncessprncipe/library/html/nokia-dku.htm nokia dku - 2] [http://beshennayabelka.freehostia.com/content/view/z-samsung.htm z500 samsung] [http://grahrens.125mb.com/view/new/rakhine/ rakhine] [http://wainfan.t35.com/view/new/produttore-cucina.htm produttore cucina] [http://huruple.125mb.com/text/directory/sodomizza/ sodomizza] [http://grahrens.125mb.com/view/new/scheda-audio/ scheda audio audigy] [http://getm0ney.freewebpage.org/lib/biglietti-aerei/ biglietti aerei] [http://wainfan.t35.com/view/new/pod-apple.htm pod apple] [http://licohwar.homeblock.com/library/html/kingston-secure/ kingston secure digital ultimate] [http://getraylo.freeweb7.com/img/styles/starwars-iii.htm starwars iii] [http://benevolently.freehostia.com/content/view/www-traviesas/ www traviesas com ar] [http://greensticky.freehostia.com/library/html/hotel-valle/ hotel valle de cogne] [http://flheddin.125mb.com/content/view/joplin.htm joplin] [http://www.freewebtown.com/starbriteyellow/resources/articles/hans-zimmer.htm hans zimmer the battle] [http://huruple.125mb.com/text/directory/ericsson-p/ ericsson p910] [http://wainfan.t35.com/view/new/august.htm august] [http://boreldar.t35.com/text/directory/hotel-vicino.htm hotel vicino stazione di treni] [http://www.freewebtown.com/prncessprncipe/library/html/tettona.htm tettona] [http://coarmago.t35.com/content/view/klimt-e/ klimt e l estetismo] [http://kopapguw.homeblock.com/topic/videos-de/ videos de michel vieth] [http://gawelzba.t35.com/library/html/celestron-cs.htm celestron c8-s] [http://mauballe.125mb.com/web/beppe-grillo/ beppe grillo sito ufficiale] [http://boreldar.t35.com/text/directory/profumo-donna.htm profumo donna] [http://wainfan.t35.com/view/new/testimania-com.htm testimania com] [http://getraylo.freeweb7.com/img/styles/te-nesecito.htm te nesecito] [http://wainfan.t35.com/view/new/indomabile.htm indomabile] [http://boreldar.t35.com/text/directory/scarpa-adidas.htm scarpa adidas galaxy] [http://www.freewebtown.com/boogiejames/topic/tv-component.htm tv component] [http://grahrens.125mb.com/view/new/international-fantasy/ international fantasy] [http://beshennayabelka.freehostia.com/content/view/canon-eos.htm canon eos 350d nera] [http://getm0ney.freewebpage.org/lib/van-de/ van de sfroos cd musicali] [http://www.freewebtown.com/prncessprncipe/library/html/codi-sky.htm codi sky] [http://coarmago.t35.com/content/view/aurora-letteratura/ aurora (letteratura ungherese)] [http://zoelverd.freeweb7.com/description/lib/cori-inter/ cori inter] [http://boreldar.t35.com/text/directory/hotel-egitto.htm hotel egitto centro] [http://grahrens.125mb.com/view/new/uni-par/ uni par] [http://boreldar.t35.com/text/directory/www-sisal.htm www sisal it] [http://zoelverd.freeweb7.com/description/lib/mundo-porno/ mundo porno] [http://zoelverd.freeweb7.com/description/lib/golf-iii/ golf iii 1 6] [http://selemku.t35.com/text/directory/stampante-laser.htm stampante laser a colori a4 16ppm] [http://www.freewebtown.com/starbriteyellow/resources/articles/asus.htm asus 256] [http://saline-joy.freehostia.com/web/mezz-ora.htm mezz ora zero positivo] [http://beshennayabelka.freehostia.com/content/view/a-a.htm a a a offresi sesso] [http://kopapguw.homeblock.com/topic/giochi-pc/ giochi pc gratis] [http://benevolently.freehostia.com/content/view/highsmith-patricia/ highsmith, patricia] [http://gawelzba.t35.com/library/html/falzoni-sas.htm falzoni sas] [http://greensticky.freehostia.com/library/html/ningbo/ ningbo] [http://saline-joy.freehostia.com/web/www-programmigratis.htm www programmigratis com] [http://coarmago.t35.com/content/view/locomotrice/ locomotrice] [http://mauballe.125mb.com/web/boon/ boon] [http://zoelverd.freeweb7.com/description/lib/neverjetna-si/ neverjetna si] [http://www.freewebtown.com/boogiejames/topic/televisore-secam.htm televisore secam] [http://flheddin.125mb.com/content/view/display-rosso.htm display rosso] [http://oedi.freehostia.com/text/directory/elettrico-rc/ elettrico rc] [http://saline-joy.freehostia.com/web/piatto-thun.htm piatto thun] [http://flheddin.125mb.com/content/view/top-model.htm top model] [http://getm0ney.freewebpage.org/lib/lloran-las/ lloran las rosas] [http://benevolently.freehostia.com/content/view/la-bionda/ la bionda one for you one for me] [http://www.freewebtown.com/boogiejames/topic/shannonstewart.htm shannonstewart] [http://mauballe.125mb.com/web/viaggi-verona/ viaggi verona] [http://benevolently.freehostia.com/content/view/apple-/ apple - ipod mp3 speaker system] [http://beshennayabelka.freehostia.com/content/view/yhaoo.htm yhaoo] [http://scaleslea.freewebpage.org/text/directory/ennio-morricone/ ennio morricone best] [http://scaleslea.freewebpage.org/text/directory/christina-aguilera/ christina aguilera gratis] [http://huruple.125mb.com/text/directory/dvb-schede/ dvb schede acquisizione e tv] [http://getm0ney.freewebpage.org/lib/ferrari-gts/ ferrari gts 208] [http://mcwardlo.t35.com/library/html/major-tom/ major tom] [http://boreldar.t35.com/text/directory/ricevitore-gps.htm ricevitore gps portatile] [http://lorcaxon.homeblock.com/data/ibox-it/ ibox it tim] [http://www.freewebtown.com/boogiejames/topic/auto-noleggio.htm auto noleggio verona] [http://licohwar.homeblock.com/library/html/lettore-dvd/ lettore dvd portatile casio dikom] [http://kopapguw.homeblock.com/topic/adesiv/ adesiv] [http://selemku.t35.com/text/directory/glissato.htm glissato] [http://wainfan.t35.com/view/new/download-bobby.htm download bobby carrot] [http://scaleslea.freewebpage.org/text/directory/unibo/ unibo] [http://gawelzba.t35.com/library/html/hotel-milano.htm hotel milano] [http://grahrens.125mb.com/view/new/salamanca-cose/ salamanca cose fare] [http://greensticky.freehostia.com/library/html/router-adsl/ router adsl 2 lan] [http://lorcaxon.homeblock.com/data/ricetta-torta/ ricetta torta al cioccolato] [http://zoelverd.freeweb7.com/description/lib/www-lahiguera/ www lahiguera net] [http://wainfan.t35.com/view/new/grandi-gnocche.htm grandi gnocche] [http://failtoexpress.freehostia.com/html/canon-ip.htm canon ip1600] [http://lorcaxon.homeblock.com/data/hd-/ hd 160 gb sata] [http://selemku.t35.com/text/directory/nuova-mercedes.htm nuova mercedes ml auto nuove] [http://getraylo.freeweb7.com/img/styles/rivoluzione-sessuale.htm rivoluzione sessuale del 68] [http://getraylo.freeweb7.com/img/styles/serramenta-legno.htm serramenta legno] [http://beshennayabelka.freehostia.com/content/view/dcs.htm dcs 240] [http://oedi.freehostia.com/text/directory/danging/ danging] [http://boreldar.t35.com/text/directory/samsung-digital.htm samsung digital camera] [http://selemku.t35.com/text/directory/charles-taylor.htm charles taylor] [http://wainfan.t35.com/view/new/avio.htm avio-] [http://www.freewebtown.com/starbriteyellow/resources/articles/michael-bouble.htm michael bouble lyrics] [http://zoelverd.freeweb7.com/description/lib/hotel-villamarina/ hotel villamarina di cesenatico] [http://getraylo.freeweb7.com/img/styles/centro-assistenza.htm centro assistenza amstrad milano] [http://getm0ney.freewebpage.org/lib/parma-messaggi/ parma messaggi amicizia] [http://getraylo.freeweb7.com/img/styles/pillow.htm pillow] [http://getm0ney.freewebpage.org/lib/leslie-amin/ leslie amin mp3] [http://saline-joy.freehostia.com/web/volo-berlino.htm volo berlino] [http://coarmago.t35.com/content/view/flavia-vento/ flavia vento nuda] ==Creating an Archive== |
EPrints 3 can run run multiple archives under one install. Multiple archives will require giving additional DNS aliases to the machine running EPrints, EPrints can then create all the parts of the apache configuration file needed to run the virtual hosts. | EPrints 3 can run run multiple archives under one install. Multiple archives will require giving additional DNS aliases to the machine running EPrints, EPrints can then create all the parts of the apache configuration file needed to run the virtual hosts. |
Revision as of 13:36, 13 August 2007
abbracciati elettrostimolatore cellulite la figlia di dartagnan epson stylus 1520 color tomtom nokia 9500 s80 valparaiso mb asus p4p800 se yentl russel nike wmns how insensitive motorola batteria mpx200 dei flinstones maglie da calcio napoli generator frammenti di paura luxeuil-les-bains profumi eau de toilette folk calabresi free maxtor esterno 16mb router isdn zyxel 202 roulette cinese wlan hub film gratis porno n91 cellulari nokia applicazione consolle hotel zurigo a milano roxy music. on the road vara ispitelor kal ho naa ho mp3 cani sciolti royal canin veterinary diet pc amd 3500 punto internet biglietti d amore demo per knights of the cross soluzioni e trucchi tosciba tecra a3 aeeo stupid mistake subwoofer jamo mia acevedo 001 lexmark toner x215 technaxx c1 gioco di carte scopa franky i energy kit scuola cane dogo argentino cento campane midi abiti dolce gabbana girl from the gutter michel vieth desnuda alloro dunedin i 17 ragazzi di altrove buona domenica porno simpson crema corpo logitech marble mouse affliction - afflizione indovina le parole ext paula seling timpul whirlpool amw maglia cotone costine amsterdam attrazioni tesina societa industriale ag-1 polak toner minolta 1250 souvenir d italie foto haiduci la donna nell arte francobolli immagini notturne linfanzia di ivan hino nacional do peru thomas anders king of love maikol eos 1ds mark ii canon www maggiorate com www fast depre tine infradito per uomo monica setta calendario travelmate 4150 spiritica economia unile it sock and tired testo robot briciola mix arte barletta sanatoria edilizia i tre sceriffi memoria ddr pc top girl hit mania dance 7 antonello de pierro antonella re afzelius, arvid august tavoli legno alcos snc gruppo 47 dakar 2005 testo linea77 feat subsonica nokia dku - 2 z500 samsung rakhine produttore cucina sodomizza scheda audio audigy biglietti aerei pod apple kingston secure digital ultimate starwars iii www traviesas com ar hotel valle de cogne joplin hans zimmer the battle ericsson p910 august hotel vicino stazione di treni tettona klimt e l estetismo videos de michel vieth celestron c8-s beppe grillo sito ufficiale profumo donna testimania com te nesecito indomabile scarpa adidas galaxy tv component international fantasy canon eos 350d nera van de sfroos cd musicali codi sky aurora (letteratura ungherese) cori inter hotel egitto centro uni par www sisal it mundo porno golf iii 1 6 stampante laser a colori a4 16ppm asus 256 mezz ora zero positivo a a a offresi sesso giochi pc gratis highsmith, patricia falzoni sas ningbo www programmigratis com locomotrice boon neverjetna si televisore secam display rosso elettrico rc piatto thun top model lloran las rosas la bionda one for you one for me shannonstewart viaggi verona apple - ipod mp3 speaker system yhaoo ennio morricone best christina aguilera gratis dvb schede acquisizione e tv ferrari gts 208 major tom ricevitore gps portatile ibox it tim auto noleggio verona lettore dvd portatile casio dikom adesiv glissato download bobby carrot unibo hotel milano salamanca cose fare router adsl 2 lan ricetta torta al cioccolato www lahiguera net grandi gnocche canon ip1600 hd 160 gb sata nuova mercedes ml auto nuove rivoluzione sessuale del 68 serramenta legno dcs 240 danging samsung digital camera charles taylor avio- michael bouble lyrics hotel villamarina di cesenatico centro assistenza amstrad milano parma messaggi amicizia pillow leslie amin mp3 volo berlino flavia vento nuda ==Creating an Archive==
EPrints 3 can run run multiple archives under one install. Multiple archives will require giving additional DNS aliases to the machine running EPrints, EPrints can then create all the parts of the apache configuration file needed to run the virtual hosts.
Contents
Running epadmin
Make sure MySQL is actually running.
Change to your eprints user (probably "eprints").
Change directory to the eprints directory (/opt/eprints3 by default) and run
bin/epadmin create
You will get the following prompts (note that when you see something in [square brackets], it's the default value and can be selected by simply hitting enter)
- Archive ID - the system name for your archive. It's probably a good idea to think of something short and memorable. Once entered, an archive/<archive_id> directory will be created, and the standard configuration files will be copied in.
- Configure vital settings - Hit enter to say 'yes'. This will lead to more prompting about core settings:
- Hostname - What someone will type into a web browser to get to your archive. Make sure that your systems team have a DNS alias pointing to your server for this.
- Webserver Port - Which port to you want to serve the archive on? The default is 80, so unless you can think of a good reason not to, just hit enter to accept the default.
- Alias - You can enter any number of aliases that will take users to this archive. Enter a '#' when you don't want to enter any more. You could have your archive served on eprints.myorganisation.org and eprints.myorg.org. As with the Hostname, your systems team need to be informed about these aliases too.
- Administrator Email - Enter the email address of the repository administrator. This will allow your repository users to send email to the right person.
- Archive Name - The full name of your archive. By default, this will be used on many of the pages, and in the title bar of the browser.
- Write these core settings - If you don't say 'yes', then you entered all that data for nothing.
- Configure database - EPrints makes extensive use of a MySQL database. Enter 'yes' to configure this.
- Database Name - The internal name of your database. It makes sense to use the Archive ID for this, but you don't have to. You don't need to create this database, epadmin will do it for you.
- MySQL Host - The address of the server that the database is running on. If the database is on the same machine as the EPrints installation, enter 'localhost'.
- MySQL Port - You probably don't need to enter a value. If you have problems connecting to the database, talk to your systems team.
- MySQL Socket - As with MySQL Port, it's unlikely that you need to enter anything.
- Database User - The username with which to log into the MySQL Database. You don't need to create this user, epadmin will do it for you. If you enter a MySQL username that already exists, it will be overwritten by epstats.
- Database Password - The password for the Database User.
- Write these database settings - You should write them, or you'll lose them.
- Create database <Database Name> - Say yes, and epadmin can create the database and populate it with all the right tables. If you've already created a database and a user for this archive, say no.
- MySQL Root Password - To create the database and the user, epadmin needs the MySQL Root Password. This is not saved anywhere. It is used to log into mysql, create the database and create the user with the right access rights. The password is then forgotten.
- Create database tables - say yes to have epadmin create all the database tables.
- Create an initial user - It's a good idea to create a user account for yourself at this point.
- Enter a username - The username you will use to log into EPrints in your browser.
- Select a user type (user|editor|admin) - There are three levels of user in EPrints. You probably want to be an administrator, so enter 'admin'.
- Enter Password - A password for this user. Remember to choose a password that will be hard for someone else to guess.
- Email - Enter your email address so that administrators can get in contact with you.
- Do you want to build the static web pages - There are a number of pages in EPrints which change very rarely. These are the static pages. The Home page and the About page are examples of static pages. Stylesheets are also static. These pages need to be built, so say 'yes'.
- Do you want to import the LOC subjects - If you will be using the Library Of Congress subject hierarchy, say 'yes'. Otherwise you will need to create your own subject hierarchy.
- Do you want to update the apache config files? (you still need to add the 'Include' line) - Your archive has a number of files which it uses to configure the web server. These should be updated, so say 'yes'.
- Before exiting, epadmin will display information about configuring the webserver.
Open a browser, and enter the hostname in the address bar. You should see your new archive, ready to be branded.
If you want to add some more users, use the command epadmin add_user <repository id>
Modifying the Default
The default document types and metadata in have been optimised for a repository of research output. It is up to you if this is sufficient. Adding new document types and modifying the metadata are discussed elsewhere.
Running a Live Archive
Creating a crontab
When you create an archive it will start out as a development system while you learn how to set it up (and your manager keeps changing his mind) but at some point (hopefully) you will declare your archive open for business.
At this point you should schedule certain scripts to run periodically. The best way to do this is to use "cron" which is an integral part of most UNIX systems.
To set up cron, run (as the eprints user):
% crontab -e
Exactly what to add to the cron table is described in the following sections - "Browse Views" and "Subscriptions".
There should be one set of crontab entries per archive.
Backups
You should also have made sure that the system is being properly backed up. This is gone into in more detail elsewhere in the documentation.
OAI
We would also encourage you to configure the OAI support for your archive and register it.
Configuring
The setting for OAI are held in the oai.pl file, in the eprints3/archives/<archive id>/cfg/cfg.d/ directory. This is a perl file, but don't let that daunt you. Some of the settings are set to sensible defaults. This guide cover the essentials. Feel free to use your favourite text editor instead of pico.
At the command prompt, backup then open the file:
>cd /opt/eprints3/archive/<archive id>/cfg/cfg.d >cp oai.pl oai.backup >pico oai.pl
The following need to be changed:
The archive ID. This needs to be unique, so check that it doesn't already exist at http://www.openarchives.org/.
Find the following line in oai.pl:
$oai->{v2}->{archive_id} = "generic.eprints.org";
And change generic.eprints.org to something which identifies your repository.
Content Description. What does your repository contain? Write a description, then find the lines:
$oai->{content}->{"text"} = latin1( <<END ); OAI Site description has not been configured. END
Do not modify the first or last line in any way. Simply put your new text in the place of the middle line. This text can be as many lines as you wish, but it must not contain the word "END" at the start of a line.
Policies Next you need to define a number of policies which will define how your repository may be used. It may be helpful for you to visit http://www.opendoar.org/tools/en/policies.php which has a step-by-step process to create these policies. It will even output EPrints 3 configuration code. which you can then copy and paste into the oai.pl file. These policies are:
- Metadata Policy
- Data Policy
- Submission Policy
These are updated in exactly the same way as the Content Description section. Just look for the following lines:
- $oai->{metadata_policy}->{"text"} = latin1( <<END );
- $oai->{data_policy}->{"text"} = latin1( <<END );
- $oai->{submission_policy}->{"text"} = latin1( <<END );
Registering
Once you register your archive (at http://www.openarchives.org) various search systems will be able to collect the metadata (titles, authors, abstract etc.) and allow more people to find records in your archive.
See http://www.openarchives.org/ for more information on the OAI protocol. For more information setting up the OAI interface archive see the section in this documentation about Configuring an Archive.
Browse Views
Once every so often you should run the generate_views script on each archive in your system to regenerate the browse views section of the site.
This is a set of static pages. By default one per subject, and one per year (only years with papers in that year not EVERY year ever!). Some users prefer to browse the system than search it. This also gives search engines a way to reach, and index, the abstract pages.
See the views.pl config notes on how to edit the views it generates.
But I don't want this feature...
If you don't want to use this feature: don't, it's your archive. Remove the link from the template and front page. Don't run the generate_views script.
Setting it up
This is best done by using the UNIX "cron" command (as user "eprints"). Cron will email "eprints" on that machine with the output, so best use the --quiet option so it only bothers you with errors.
How often you want to run this depends on the size of your archive, and how fast the contents changes. This feature is roughly order "n". Which means if you double the number of items in your archive then you double the time it takes to run (ish).
Once an hour would seem a good starting point. If your archive gets real big, say more than 10000 records, then maybe once a day is more realistic - the one thing that you don't want to happen is for a new generate_views to start before the old one finishes as they will mess up each others output.
Run generate_views on the command line to find out how long it takes.
and add the line
23 * * * * /opt/eprints3/bin/generate_views <archiveid>
This runs at 23 minutes past each hour. If you have more than one archive, don't make them all start rebuilding stuff at the same time, stagger it. Otherwise once an hour everything will slow down as it fights to run several intensive scripts at once.
See the crontab man page for more information on using cron.
>man 5 crontab
Alerts
Alerts provide a way in which users of your system can receive regular updates, via email, when new items are added which match a search they specified.
To automate sending out these alerts you must add some entries in the crontab (as for views). You need one set of these per archive.
For example (with dookuprints being the name of the archive):
# 00:15 every morning
15 0 * * * /opt/eprints2/bin/send_alerts dookuprints daily
# 00:30 every sunday morning
30 0 * * 0 /opt/eprints2/bin/send_alerts dookuprints weekly
# 00:45 every first of the month
45 0 1 * * /opt/eprints2/bin/send_alerts dookuprints monthly
Note the spacing out so that all 3 don't start at once and hammer the database. You may wish to change the times, but we recommend early morning as the best time to send them (midnight-6am).