Presentation is loading. Please wait.

Presentation is loading. Please wait.

Présenté par : Mme BEKKOUCHE Amina Melle SAIDI Hassiba Formation sur linstallation de Dspace On Debian 6 Année Universitaire 2013-2014.

Similar presentations


Presentation on theme: "Présenté par : Mme BEKKOUCHE Amina Melle SAIDI Hassiba Formation sur linstallation de Dspace On Debian 6 Année Universitaire 2013-2014."— Presentation transcript:

1 Présenté par : Mme BEKKOUCHE Amina Melle SAIDI Hassiba Formation sur linstallation de Dspace On Debian 6 Année Universitaire 2013-2014

2 Plan D SPACE : DÉPÔT INSTITUTIONNEL DE L UNIVERSITÉ F ONCTIONNALITÉS I NSTALLATION DE D SPACE - INSTALLATION JAVA, TOMCAT, MAVEN, POSTGRESQL,… - T ÉLACHARGER LE PACKAGE D SPACE - C ONFIGURATION DU POSTGERSQL - P ARAMÉTRAGE DU D SPACE - C RÉATION DES COMPTES

3 D SPACE : DÉPÔT INSTITUTIONNEL DE L UNIVERSITÉ Développé conjointement par le Massachusetts Institute of Technology (MIT) et la société Hewlett-Packard (HP). Créé dans l'idée de réunir et d'archiver l'ensemble des ressources provenant des différents laboratoires de Recherche du MIT. DSpace gère toute la production numérique d'une institution et supporte tous les types de documents et de formats (livres, thèses, articles, video..). Il est actuellement adopté par plus de 300 organismes et institutions académiques dans le monde.

4 Fonctionnalités de Dspace Parmis les fonctionnalités offertes par Dspace, on retrouve la possibilité de : Recherche simple et avancée. Navigation par discipline, auteur, titre, année de publication. Statistiques de consultation et de téléchargement. Affichage sur la page daccueil des derniers dépôts.

5 1-Install the pre-requiste packages o Java apt-get install sun-java6-jdk o Tomcat apt-get install tomcat6 o Maven apt-get install maven2 o Postgresql apt-get install postgresql

6 2-Download the latest package dspace Change the directory: cd /usr/src/ Then download the package wget -c http://www.sfr-fresh.com/unix/www/dspace-1.7.0- release.tar.gzhttp://www.sfr-fresh.com/unix/www/dspace-1.7.0- release.tar.gz 3-Unpack the package tar zxvf dspace-1.7.0-release.tar.gz

7 4-Create Linux user account for Dspace useradd -m dspace (-m option creates user home directory) 5-Change ownership of newly unpacked directory chown -R dspace:root dspace-1.7.0-release

8 6-Postgresql nano /etc/postgresql/8.4/main/pg_hba.conf # Database administrative login by UNIX sockets #local all postgres ident <<< comment this line and add line below local all postgres trust # TYPE DATABASE USER CIDR-ADDRESS METHOD # local is for Unix domain socket connections only #local all all ident <<< comment this line and add line below local all all trust # Database administrative login by UNIX sockets #local all postgres ident <<< comment this line and add line below local all postgres trust # TYPE DATABASE USER CIDR-ADDRESS METHOD # local is for Unix domain socket connections only #local all all ident <<< comment this line and add line below local all all trust 7-Restart Postgresql /etc/init.d/postgresql restart

9 8-Create Postgresql user account for DSpace createuser -U postgres -d -A -P dspace ; createdb -U dspace -E UNICODE dspace

10 9- Change directory to the initial configuration files repository cd dspace-1.7.0-release/dspace/config/ Edit dspace.cfg # DSpace host name dspace.hostname = dspace.your-domain-name.edu # DSpace base host URL dspace.baseUrl = http://dspace.your-domain.edu:8080 or http://ip_address:8080http://dspace.your-domain.edu:8080http://ip_address:8080 # Name of the site dspace.name Dspace for AIIAS Hardinge Library # Database name (oracle, or postgres) #db.name = ${default.db.name} <<< comment this entry db.name = postgres <<< uncomment this #db.name = oracle # URL for connecting to database #db.url = ${default.db.url} <<< comment this db.url = jdbc:postgresql://localhost:5432/dspace <<< uncomment this # DSpace host name dspace.hostname = dspace.your-domain-name.edu # DSpace base host URL dspace.baseUrl = http://dspace.your-domain.edu:8080 or http://ip_address:8080http://dspace.your-domain.edu:8080http://ip_address:8080 # Name of the site dspace.name Dspace for AIIAS Hardinge Library # Database name (oracle, or postgres) #db.name = ${default.db.name} <<< comment this entry db.name = postgres <<< uncomment this #db.name = oracle # URL for connecting to database #db.url = ${default.db.url} <<< comment this db.url = jdbc:postgresql://localhost:5432/dspace <<< uncomment this

11 # JDBC Driver #db.driver = ${default.db.driver} <<< comment this db.driver = org.postgresql.Driver <<< uncomment this # Database username and password #db.username = ${default.db.username} \__ comment these #db.password = ${default.db.password} / db.username = dspace \__ uncomment these db.password = dspace / # SMTP mail server mail.server = smtp.your-domain.edu # From address for mail mail.from.address = dspace-noreply@your-domain.edu # Currently limited to one recipient! feedback.recipient = dspace-help@your-domain.edu # General site administration (Webmaster) e-mail mail.admin = dspace-help@your-domain.edu # JDBC Driver #db.driver = ${default.db.driver} <<< comment this db.driver = org.postgresql.Driver <<< uncomment this # Database username and password #db.username = ${default.db.username} \__ comment these #db.password = ${default.db.password} / db.username = dspace \__ uncomment these db.password = dspace / # SMTP mail server mail.server = smtp.your-domain.edu # From address for mail mail.from.address = dspace-noreply@your-domain.edu # Currently limited to one recipient! feedback.recipient = dspace-help@your-domain.edu # General site administration (Webmaster) e-mail mail.admin = dspace-help@your-domain.edu

12 10-Change directory to /var then create dspace directory and chown directory ownership cd /var mkdir dspace chown dspace dspace 11- Build the Maven package cd /usr/src/dspace-1.7.0-release/dspace mvn package

13 it will start downloading a lot of jar and pom files… until You see something like this: [INFO] Copying 1386 files to /usr/src/dspace-1.7.0-release/dspace/target/dspace-1.7.0-build.dir [INFO] [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] ------------------------------------------------------------------------ [ INFO] DSpace Addon Modules.................................. SUCCESS [8:46.193s] [INFO] DSpace XML-UI (Manakin) :: Web Application............ SUCCESS [1:02:46.078s] [INFO] DSpace LNI :: Web Application......................... SUCCESS [2:39.578s] [INFO] DSpace OAI :: Web Application......................... SUCCESS [43.201s] [INFO] DSpace JSP-UI :: Web Application...................... SUCCESS [3:26.257s] [INFO] DSpace SWORD :: Web Application....................... SUCCESS [1:22.040s] [INFO] DSpace SOLR :: Web Application........................ SUCCESS [17:28.865s] [INFO] DSpace Assembly and Configuration..................... SUCCESS [5:06.675s] [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESSFUL [INFO] ------------------------------------------------------------------------ [ INFO] Total time: 102 minutes 23 seconds [INFO] Finished at: Wed Mar 09 06:57:19 PST 2011 [INFO] Final Memory: 40M/92M [INFO] ------------------------------------------------------------------------

14 12- Change directory to Dspace source directory and run ant cd /usr/src/dspace-1.7.0- release/dspace/target/dspace-1.7.0-build.dir ant fresh_install this will start a process, connecting database and updating a lot of files. Until you will see something like this:

15 [echo] [echo] =================================================== [echo] The DSpace code has been installed, and the database initialized. [echo] [echo] To complete installation, you should do the following: [echo] [echo] * Setup your Web servlet container (e.g. Tomcat) to look for your [echo] DSpace web applications in: /dspace/webapps/ [echo] [echo] OR, copy any web applications from /dspace/webapps/ to [echo] the appropriate place for your servlet container. [echo] (e.g. '$CATALINA_HOME/webapps' for Tomcat) [echo] [echo] * Make an initial administrator account (an e-person) in DSpace: [echo] [echo] /dspace/bin/dspace create-administrator [echo] [echo] * Start up your servlet container (Tomcat etc.) [echo] You should then be able to access your DSpace's 'home page': [echo] http://localhost:8080/xmlui [echo] [echo] You should also be able to access the administrator UI: [ [echo] http://localhost:8080/xmlui/dspace-admin [echo] ============================================================= BUILD SUCCESSFUL Total time: 17 minutes 33 seconds

16 13-Copy the DSpace webapps directory content to the Tomcat webapps directory. cp -R /dspace/webapps/* /var/lib/tomcat6/webapps/ Creating an initial administrator account E-mail address: xxxxxxx@xxxxx.edu First name: xxxxxxx Last name: xxxxxxx WARNING: Password will appear on-screen. Password: your_password Again to confirm: your_password Is the above data correct? (y or n): y Administrator account created 14-Create the initial administrator account. cd bin chmod 775 dspace./dspace create-administrator

17 15-Check if Tomcat is running. Launch your favorite web browser and go to : http://dspace_server_address:8080 A webpage should say something like IT WORKS 16-Access your Dspace home page at http://dspace_server_address:8080/jspui CONGRATULATIONS! You have successfully installed Dspace…


Download ppt "Présenté par : Mme BEKKOUCHE Amina Melle SAIDI Hassiba Formation sur linstallation de Dspace On Debian 6 Année Universitaire 2013-2014."

Similar presentations


Ads by Google