Global Open Versity, ICT Labs

Step-By-Step Install Guide DSpace on Ubuntu 10.04 LTS v1.0

Global Open Versity Cloud Computing Hands-on Labs Training Manual

Step-By-Step Install Guide DSpace on Ubuntu 10.04 LTS Server
Kefa Rabah Global Open Versity, Vancouver Canada
krabah@globalopenversity.org

www.globalopenversity.org Table of Contents Page No.

STEP-BY-STEP INSTALL GUIDE DSPACE 1.7 ON UBUNTU 10.04 LTS SERVER Introduction Part 1: Background Information 1.1 How do People Use Institutional Repositories? 1.2 Ways of Organizing Content 1.3 Creating a Service Plan 1.4 Running a Pilot or Early Adopter Programme 1.5 Marketing Your Institutional Repository Service 1.6 Training and User Support 1.7 Getting Started Part 2: Prepare DSpace Repository Server Requirements Step 1: DSpace Hardware Requirements Step 2: Install and Configure Ubuntu 10.04 LTS Server Part 3: Install & Configure Ubuntu 10.04 LTS Server Step 1: Getting Started & Hardware Pre-requisites Step 2: Update Ubuntu 10.04 Operating Systems Part 4: Installing Additional Infrastructure Packages Step 1: Install OpenSSH Package Step 2: Install Sun Java 2.1 Enable the Canonical Partners repository. 2.2 Install Sun Java 2.3 Change the in-use Java to Sun Java, as opposed to OpenJDK Step 3: Install LAMP (Apache2, MySQL & PHP) Server Step 4: Creating “dspace” Database Users 4.1 Create dspace user 4.2 Allow the database user (dspace) to connect to the database 4.3 Set the PostgreSQL Listening Port Wide 4.4 Create the dspace database Step 5: Configure Tomcat to know about the DSpace webapps. Step 6: Install the Compile / Build Tool "Maven2" Part 5: Download and Install DSpace Step 1: Introduction
April 2007, Kefa Rabah, Global Open Versity, Vancouver Canada

3 3 4 4 4 5 5 5 5 6 6 7 7 8 8 8 8 9 9 9 9 9 10 11 11 11 11 12 12 12 13 13 1

www.globalopenversity.org

ICT105 – Ubuntu Server Administration Training

Global Open Versity, ICT Labs

Step-By-Step Install Guide DSpace on Ubuntu 10.04 LTS v1.0

Step 2: Create the "dspace" directory. Step 3: Download the DSpace Source Release Step 4: Edit the DSpace configuration Step 5: Compile and Build DSpace Step 6: Fix Tomcat permissions, and restart the Tomcat server Step 7: Test it out in your browser Step 8: Setting an Admin Account Step 9: Creating E-People on DSpace using Manakin Part 6: Creating DSpace Community Step 1: Introduction 1.1 The DSpace Collection 1.2 Example Repository Structures Step 2: Creating Communities 2.1 Introduction 2.2 Hands-on Creation of Communities Step 3 Creating DSpace Collections 3.1 Hands-on Creation of Collections Step 4: Submitting to a Collection Part 7: Hands-on Lab Assignments Ubuntu Server Administration Training

13 13 13 14 16 16 18 21 23 23 24 24 24 24 25 27 28 33 40 40

A GOV Open Access Technical Academic Publications Enhancing education & empowering people worldwide through eLearning in the 21st Century 2
April 2007, Kefa Rabah, Global Open Versity, Vancouver Canada

www.globalopenversity.org

ICT105 – Ubuntu Server Administration Training

Global Open Versity, ICT Labs

Step-By-Step Install Guide DSpace on Ubuntu 10.04 LTS v1.0

Global Open Versity Cloud Computing Hands-on Labs Training Manual

Step-By-Step Install Guide DSpace 1.7 on Ubuntu 10.04 LTS Server
By Kefa Rabah, krabah@globalopenversity.org Nov, 2011 GTS Institute

Introduction
DSpace was designed in 2002 by MIT Libraries in collaboration with the Hewlett-Packard Company. Its focus in the submission, storage, access and preservation of research material in digital format makes it well suited to the needs of an institutional repository. DSpace open source software is a turnkey institutional repository application. DSpace is an open-source digital repository software adopted in 2005 by the Texas Digital Library as the platform for its digital repository service offering. The software allows institutions to create online institutional repositories that ingest, store, and provide open access to all types of digital content, including documents, images, video, audio, and datasets. DSpace is the software of choice for academic, nonprofit, and commercial organizations building open digital repositories. It is free and easy to install "out of the box" and completely customizable to fit the needs of any organization. During the past 5 years, there was a significant growth in libraries implementing institutional repositories, and it is still growing (http://www.opendoar.org ). Institutional repositories have been implemented to digitally preserve and archive the research assets of individual institutions, but also to provide open access to research conducted by members of the research communities from these institutions. The Open Access and Open Source Software movements have gained rapid momentum world over. Many institutions and organizations are setting up open access repositories using open source software, following open standards. There are a number of free open source software products available for developing digital libraries, and DSpace (http://www.dspace.org ) is one of the most popular software developed jointly by MIT Libraries and HP labs. DSpace is a digital asset management system. It helps create, index and retrieve various forms of digital content. DSpace is adaptable to different community needs. Interoperability between systems is built-in and it adheres to international standards for metadata.

Hands-on Lab Session
In this Hands-on Labs, you will learn how to install Ubuntu 10.04 LTS server and prepare it for the installation of DSpace Digital Repository. You’ll also learn how to perform post-installation configuration e.g., upgrade the system with new patches and bug fixes, configure static IP address from dynamic one, change the computer hostname, modify hosts file, perform ping test among others. Next, you will learn how to install DSpace on Linux Ubuntu 10.04 server .Upon completion of this lab session you should have gained a capability and expertise to install and maintain DSpace Digital Repository which you can use to manage your digital content repository hosting solutions. The entire lab training was performed on VMware. But you can also use the open source VirtualBox from Oracle.

3
April 2007, Kefa Rabah, Global Open Versity, Vancouver Canada

www.globalopenversity.org

ICT105 – Ubuntu Server Administration Training

The information model that best suits your university would not fit another campus. Vancouver Canada www. all academics can submit. Library staff review content before going online. ICT Labs Step-By-Step Install Guide DSpace on Ubuntu 10.Global Open Versity.04 LTS v1. Community of Interest – An ad hoc group. How you organize content communities depends on the interests and allegiances of your academics. 4 April 2007.0 Part 1: Background Information 1. crosses depts. Changes over time. Formal Community – Consists of departments. research centers. Many universities organize according to academic research centers or departments.2 Ways of Organizing Content Each institutional repository service organizes content in a way to suit its university’s unique culture and academic organizations. membership limited to academic choice. Example: Policy Research Institute. Global Open Versity. One university (the University of Kansas) organizes its content using ″hybrid communities″ in the following ways: 1. Subject Community – Open access. This is by no means the only organizing principle.globalopenversity. and groups already existing.1 How do People Use Institutional Repositories? Universities and research libraries around the world use institutional repository in the following ways: • • • • • • • • • • • Scholarly communication Storing learning materials and courseware Electronic publishing Managing collections of research documents Preserving digital materials for the long term Adding to the university’s prestige by showcasing its academic research Institutional leadership role for the Library Knowledge management Research assessment Encouraging open access to scholarly research Housing digitized collections Each university has a unique culture and assets that require a customized approach. Example: Neuroscience Dept. 1. Example: Social Science – cuts across departments.org ICT105 – Ubuntu Server Administration Training . or by proxy. Most software systems call for customizations based on your content communities. Established submission guidelines and workflow. 2. Kefa Rabah. 3. Scholar-driven.

units. Vancouver Canada www.globalopenversity. In addition. 5 April 2007. or labs.org ICT105 – Ubuntu Server Administration Training . Growth and Maturity.4 Running a Pilot or Early Adopter Programme Each Institutional repository service is comprised of content collections – sometimes called communities. Another team contacted all the webmasters and writers at the university to raise awareness and generate leads among those who currently post scholarly content to university and department websites.6 Training and User Support As you plan your service. Each of the varied user groups needs general exposure to the service –its features and how it is it used. etc. showcasing a handpicked short list of early adopters who test the software and agree to join the programme early on. As momentum grows. These periods reflect milestones in phased development and allow for differing levels of resource commitment to meet those objectives. 1.04 LTS v1. iron out procedures.Global Open Versity. consider the amount of training and support you will want to offer. Kefa Rabah.3 Creating a Service Plan A typical institutional repository Service Plan is divided into three periods: Start-up. test the software. Academics and their designated content contributors need training in adding content to the system and setting up content areas for departments or research centres. These are groups that contribute content to an institutional repository – either academic or administrative departments. colleges. manageable service conducted alongside a targeted marketing and communication program to build awareness in the community.0 1. and field test your policies and assumptions before launching the service to the entire university. library staff who create metadata and add content need training specific to their jobs. This helps you to focus on adding one discrete group of content and users to the system. 1. Many universities have found it helpful to run a pilot programme for their institutional repository service. centers. Many institutions prefer to begin with a small. Some teams have been successful in targeting a handful of “thought leaders” on campus – getting them on board early to leverage their interest in the service. to do some marketing to advertise the service on campus. ICT Labs Step-By-Step Install Guide DSpace on Ubuntu 10.5 Marketing Your Institutional Repository Service As you begin to build a service. 1. Global Open Versity. it is critical to communicate how the service benefits the university community – in other words. they add content communities and reach additional academic departments.

and then populate it with electronic content. 1: DSpace information model 6 April 2007.org ICT105 – Ubuntu Server Administration Training . Online materials are similarly governed by government copyright. Each Community can adapt the system to meet its particular needs and manage the submission process itself.04 LTS v1. In the case of MIT (a large research university) "Communities" are defined to be the schools. and publishing contracts. Part 2: Prepare DSpace Repository Server Requirements DSpace is designed to make participation by depositors easy. Each university that develops an institutional repository needs to research and write policies and regulations for its collections. departments.Global Open Versity. Vancouver Canada www. labs.0 1. We include a checklist of policy issues to consider as you design and build a service.globalopenversity.7 Getting Started Library staff and researchers routinely deal with intellectual property policies and publishing rights issues for printed matter. Global Open Versity. The system's information model is built around the idea of organizational "Communities"—natural sub-units of an institution that have distinctive information management needs. your policies will be unique to your service. ICT Labs Step-By-Step Install Guide DSpace on Ubuntu 10. and regional laws differ. and centers of the Institute. Fig. Kefa Rabah. Because each institutional repository is unique. legal deposit laws.

Kefa Rabah. such as the Apache Web server. Step 2: Install and Configure Ubuntu 10. Dell PowerEdge 2650 with dual Xeon processors (2. ICT Labs Step-By-Step Install Guide DSpace on Ubuntu 10. 436-GB. DSpace requires a reasonably good server and a decent amount of memory and disk storage. Options include a second controller and. Ultra 3. What about sizing the server? How much disk space do I need? From Dspace FAQ: • “There are no specific server requirements for DSpace except UNIX.4GHz).globalopenversity. Of course. What sort of hardware does DSpace require? 2. 8MB E-cache. If not then you can check this article which discuses how to install Ubuntu 10. or 12 x 26. open-source tools. your mileage (and costs) will vary depending on what you plan to do with the system ” • • However for Hands-on training purposes we'll setup DSpace repository server on Ubuntu 10. 24MB std cache. or Ultra320 SCSI drives. Vancouver Canada www. 2GB memory. the Tomcat Servlet engine.04 LTS v1.) DSpace is built on top of free. two 36GB 10. Total capacity can be six terabytes “SunFire 280R Server.0 Step 1: DSpace Hardware Requirements 1. two 900MHz UltraSPARC-III Cu processors. b. 26 GB internal disk storage. Step-By-Step Install Guide Ubuntu 10. HP Server rx2600.org ICT105 – Ubuntu Server Administration Training . One 2. with the addition of two more drive enclosures.Global Open Versity.4 Gbyte 10K RPM disks. 2GB RAM. Some examples from the community (not necessarily endorsements): a.04 LTS virtual machine powered by VMWare server. in theory it will run on other platforms as well. HP StorageWorks Modular SAN Array 1000 (msa1000) with a single high-performance controller.04 LTS (Lucid Lynx) Server 7 April 2007.04 LTS Server Assumptions It’s assumed that you have a good knowledge of Linux Ubuntu OS. powered by dual 64-bit Intel Itanium 2 processors (900MHz). (Because the application is written in Java. and the postgreSQL relational database system • “For a research university. c.5TB Apple XServe. controls up to 42 Ultra2. Global Open Versity. A DLT tape library to back up the DB/jsps etc. Sun StorEdge A1000 rack-mountable w/ 1 HW RAID controller. 2x73GB scsi disks.04 LTS 64-bit server: 1.000rpm HH internal FCAL disk drives. DVD. 2GB RAM.

globalopenversity. When used to manipulate the core packages of the operating system. we recommend a minimum configuration of 200Gb Disk. log into your machine and ensure you perform software updates to bring your systems up-to-date. 1. it’s assumed that your target computer is connected to the internet. In this Hands-on Labs. $ sudo apt-get update $ sudo apt-get -u upgrade Note 1: The sudo command is used to run privileged operations on the Ubuntu platform. For maximum subsystem compatibility. Vancouver Canada www. one option is to order the machine with Ubuntu pre-installed. enter the following commands. Note 2: apt-get is the program Ubuntu uses for managing the system’s packages. 2. one at a time. The first command below asks Ubuntu to update its database of available packages. The first time you run the command.org ICT105 – Ubuntu Server Administration Training . then you should be able to follow along with ease. and the second command installs the latest packages based on your current configuration. We’re done with this section 3.0 Part 3: Install & Configure Ubuntu 10. After installing the operating system. ICT Labs Step-By-Step Install Guide DSpace on Ubuntu 10. If you are capable of installing the user friendly Ubuntu GNU/Linux operating system or any other Linux distros. 8 April 2007. it needs to be run in conjunction with the sudo command. You’re now ready to begin any other application installation as desired! Part 4: Installing Additional Infrastructure Packages These instructions are written for an audience comfortable with invoking instructions from the command line and GUI option. commodity hardware. webserver or ISP hosing using IPConfig etc.04 Operating Systems It is useful to update your system with the latest components and system patches. it will ask for your password. Step 2: Update Ubuntu 10. Kefa Rabah. Subsequently. and a 2GHz Intel Dual Core CPU.Global Open Versity. Global Open Versity. it will not ask for your password again for a short period of time (typically 15 minutes). We run the upgrade command twice to ensure that any packages that may have post-upgrade dependencies also have an opportunity to be upgraded.. From the command line. To support a small practice like OSCAR EMR.04 LTS v1. If you are purchasing a computer to run Webserver. we suggest that you install the 32bit version of Ubuntu. 2Gb RAM.04 LTS Server Step 1: Getting Started & Hardware Pre-requisites Ubuntu runs on inexpensive.

168.1 Enable the Canonical Partners repository. First we list the available jdk's installed on the system. To log into a remote computer that is running OpenSSH.83.0 Step 1: Install OpenSSH Package In order to support secure remote connections to your server. 3. Step 2: Install Sun Java 2.50). 192. From the GUI this can be changed by going to Software Sources.com) of your server.canonical. Change "natty" to the name of the Ubuntu version you're using (if you aren't using Ubuntu 10. 1. run: sudo apt-get install sun-java6-jdk sun-java6-plugin 2. By default this package is already installed in the Ubuntu server option. example. sudo update-java-alternatives -l 6. To install OpenSSH. We're done with this section. Vancouver Canada www. you will need to install the OpenSSH package. To install Sun Java. Global Open Versity. 9 April 2007. you use the ssh username@hostname command.g. issue the following command: $ sudo apt-get install openssh-server -y 2.list # Uncomment the line: deb http://archive.Global Open Versity. and replacing hostname with either the fully qualified host name (e.2 Install Sun Java 4. replacing username with a valid user name on the computer you are trying to log into.3 Change the in-use Java to Sun Java. Kefa Rabah. ICT Labs Step-By-Step Install Guide DSpace on Ubuntu 10.globalopenversity.04) sudo vi /etc/apt/sources. The Sun Java is available in the partners repository which makes for an easy installation. or it’s IP address (e.04 LTS v1.org ICT105 – Ubuntu Server Administration Training . as opposed to OpenJDK 5.g. This package will come in handy in the future to support administrative tasks on the system.com/ubuntu lucid partner sudo apt-get update 2. then we set the sun java to be the new default.

issue the following command: $ sudo taskel Note: select the following packages (or change as desired): [*] LAMP server [*] PostgreSQL database [*] Tomcat Java server Click OK and hit Enter to start installation. 3 3. MySQL & PHP) Server 1. run: sudo aptitude install tasksel 2. Kefa Rabah.org ICT105 – Ubuntu Server Administration Training .Global Open Versity. Install the server stack tasksel. We’re done with this section.04 LTS v1.globalopenversity. 10 April 2007. ICT Labs Step-By-Step Install Guide DSpace on Ubuntu 10. Fig.0 Step 3: Install LAMP (Apache2. Global Open Versity. To install LAPM server using Tasksel utility. Vancouver Canada www.

2 Allow the database user (dspace) to connect to the database 1.conf 5. open: sudo vi /etc/postgresql/9.0 Step 4: Creating “dspace” Database Users 4. Add this line to the configuration: local all dspace md5 3. Database users can be created in command line with createuser tool. Vancouver Canada www.3 Set the PostgreSQL Listening Port Wide 4. Running the following command will create database user 'dspace' who is not a superuser.1 Create dspace user 1.d/postgresql restart 11 April 2007. $ createuser –help 4.org ICT105 – Ubuntu Server Administration Training .d/postgresql restart 4. open: Sudo vi /etc/postgresql/9. ICT Labs Step-By-Step Install Guide DSpace on Ubuntu 10. Kefa Rabah.04 LTS v1.0/main/postgresql. Restart PostgreSQL server: # /etc/init.conf 2. Global Open Versity. can create databases. netadmin@server01:~$ sudo su postgres -c 'createuser -d -A -P dspace' Note: run createuser with –help switch to get an overview of available options. Add on line 57 in the configuration: listen_address = '*' 6.globalopenversity. Using your favorite Text editor. Restart PostgreSQL server: sudo /etc/init.Global Open Versity.4/main/pg_hba. You will be asked to give new user's password as '-P' option is passed. cannot create new roles and his password is stored encrypted. Using your favorite Text editor.

Restart Apache Tomcat server: sudo /etc/init.4 Create the dspace database 7.org ICT105 – Ubuntu Server Administration Training . run: sudo aptitude install ant maven2 2. Here. we need to modify ″/etc/tomcat6/server.0 4.xml Insert the following block of text just above the closing ″</Host><!-.globalopenversity. We’re done with this section. Global Open Versity. As root user.04 LTS v1. run: sudo vi /etc/tomcat6/server. Kefa Rabah. Step 6: Install the Compile / Build Tool "Maven2" 1. Vancouver Canada www. We’re done with this section. ICT Labs Step-By-Step Install Guide DSpace on Ubuntu 10.xml″ file to integrate DSpace: 1. Here. we need to install Maven2 package.Global Open Versity.Define a new context path for all DSpace web apps -->″: <Context path="/xmlui" docBase="/dspace/webapps/xmlui" allowLinking="true"/> <Context path="/sword" docBase="/dspace/webapps/sword" allowLinking="true"/> <Context path="/oai" docBase="/dspace/webapps/oai" allowLinking="true"/> <Context path="/jspui" docBase="/dspace/webapps/jspui" allowLinking="true"/> <Context path="/lni" docBase="/dspace/webapps/lni" allowLinking="true"/> <Context path="/solr" docBase="/dspace/webapps/solr" allowLinking="true"/> 2. 12 April 2007.d/tomcat6 restart 3. run: netadmin@server01:~$ sudo su postgres postgres@server01:/home/netadmin$ createdb -U dspace -E UNICODE dspace Step 5: Configure Tomcat to know about the DSpace webapps. As the postgres user.

It can be done in only a few minutes.x.Global Open Versity.7.10 (Maverick Meerkat) and Ubuntu 11. The installation and configuration of the prerequisites is the step that takes all the time. Vancouver Canada www. or from runlevel 3 command-line with networking. The ″/dspace″ directory is where the running dspace code will reside. ICT Labs Step-By-Step Install Guide DSpace on Ubuntu 10.cfg 13 April 2007. Next.6.2-src-release.gz 3.6 and 1.7).04 (Natty Narwhal).globalopenversity. This step downloads the compressed archive from SourceForge.org ICT105 – Ubuntu Server Administration Training .2/dspace1. The same steps can be used to DSpace on Ubuntu 10. and unpacks it in your current directory.tar. 1. extract the file: tar -xvzf dspace-1. Global Open Versity.xsrc-release directory is typically referred to as [dspace-src]. The dspace-1. Step 4: Edit the DSpace configuration Here we need prepare DSpace configuration file to meet our environment requirement (change as desired).gz 2. this is standard stuff. run: wget http://sourceforge.com: Step 2: Create the "dspace" directory. Within the world of the Ubuntu server. Type the following to edit the Dspace (dspace.tar. These steps can also be done through a ssh secure shell from any machine with a ssh client.cfg) config file: sudo nano /home/dspace/dspace-1.net/projects/dspace/files/DSpace%20Stable/1.2-src-release. We're done with this section. Ubuntu has an application to help with setting up the web application stack.0 Part 5: Download and Install DSpace Step 1: Introduction Installing DSpace is almost as simple as changing between DSpace versions (eg between 1. To download DSpace release source.2-src-release/dspace/config/dspace. Kefa Rabah. 1.04 LTS v1. As the root user: sudo mkdir /dspace Step 3: Download the DSpace Source Release The DSpace source release allows you to customize every aspect of DSpace. You can check out our great hands-on training manuals from Docstoc.7.7.

2-src-release # mvn -U package Note: it will take several minutes.7.0 Replace all the places with a pair of percent signs (%something%) with the settings for your system. and copy all of the compiled machine code to a location where the web server can serve it.recipient = %my_email_address% mail.notify = %my_email_address% default. This will overwrite any existing installation of DSpace that you may have.Global Open Versity. and must be compiled to machine code for the server to run it.admin = %my_email_address% alert. ICT Labs Step-By-Step Install Guide DSpace on Ubuntu 10.name = postgres db.name = %DSpace for My University% db.dir = /home/dspace dspace.url = jdbc:postgresql://localhost:5432/dspace db.username = %dspace% db. As the root user perform the following steps” Note: ″ant fresh_install″ will populate the dspace database and [dspace] directory with new information.password = %dspace% mail.from.postgresql. depending of Internet download bandwidth.language = en_ZA 2. as it doesn’t alter the database or modify your assetstore. Global Open Versity.address = %my_email_address% feedback.recipient = %my_email_address% registration. Change to the extracted directory.org ICT105 – Ubuntu Server Administration Training .driver = org. when done you observe the print as shown below: 14 April 2007.server = %my_university_mail_server_address% mail. • For upgrades the better command to use would be ″ant update″. Vancouver Canada www.globalopenversity.hostname = %hostname% dspace.Driver db. dspace. “mvn package” compiles the source code.04 LTS v1. and “ant” will do all the work necessary to initialize the database with the DSpace schema.baseUrl = http://%hostname% dspace. Step 5: Compile and Build DSpace The source release that has been obtained is human readable source code. and run mvn command: # cd dspace-1. We're done with this section.url = http://%hostname% dspace. Kefa Rabah. 4. 3.

04 LTS v1. and the database initialized. Kefa Rabah. Global Open Versity.Global Open Versity. ICT Labs Step-By-Step Install Guide DSpace on Ubuntu 10. depending of Internet download bandwidth.2build.g. copy any web applications from /dspace/webapps/ to [echo] the appropriate place for your servlet container.2-src-release/dspace/target/dspace-1. when done you observe the print as shown below: [java] Started: 1321728701436 [java] Ended: 1321728701672 [java] Elapsed time: 0 secs (236 msecs) [echo] [echo] ==================================================================== [echo] The DSpace code has been installed. change to directory as shown.org ICT105 – Ubuntu Server Administration Training .globalopenversity.0 [INFO] [INFO] [INFO] [INFO] [INFO] [INFO] [INFO] [INFO] --------------------------------------------------------------------------------------------------------------------------------------BUILD SUCCESSFUL -------------------------------------------------------------------Total time: 14 minutes 13 seconds Finished at: Sat Nov 19 09:11:08 PST 2011 Final Memory: 94M/252M -------------------------------------------------------------------- 5. '$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] [echo] You should then be able to access your DSpace's 'home page': [echo] [echo] http://localhost:8080/xmlui [echo] [echo] You should also be able to access the administrator UI: [echo] [echo] http://localhost:8080/xmlui/dspace-admin [echo] ==================================================================== [echo] BUILD SUCCESSFUL Total time: 5 minutes 3 seconds netadmin@server01:~/dspace-1. [echo] [echo] To complete installation. [echo] (e. and then run ″ant fresh_install″: # cd dspace/target/dspace-1. Vancouver Canada www.7.7. you should do the following: [echo] [echo] * Setup your Web servlet container (e.2-build.g.dir # ant fresh_install Note: it will take several minutes.dir$ 15 April 2007.7. Next. Tomcat) to look for your [echo] DSpace web applications in: /dspace/webapps/ [echo] [echo] OR.

depending on what you changed.7. Kefa Rabah.cfg″ in [dspace-source]/dspace/config/. and restart the Tomcat server This guide follows the convention where the tomcat user will own all of the files in [dspace]. you should then run ″ant init_configs″ in the ″directory [dspacesource]/dspace/target/dspace-1. sudo chown tomcat6:tomcat6 /dspace -R sudo /etc/init.d/tomcat6 restart 8. We’re done with this section Step 7: Test it out in your browser That is all that is required to install DSpace on Ubuntu. whenever you edit ″dspace. You may then need to restart those applications. There are two main webapps that provide a similar turn-key repository interface 9. for example Apache.dir″ so that any changes you may have made are reflected in the configuration files of other applications. The first one is powered by DSpace/Manakin site: http://localhost:8080/xmlui 16 April 2007.org ICT105 – Ubuntu Server Administration Training . We’re done with this section Step 6: Fix Tomcat permissions. so we have to change the owner of the files to tomcat6.0 Note: in future. Restarting tomcat will deploy the dspace webapps that are now ready to be viewed. Global Open Versity. Vancouver Canada www.globalopenversity.2-build.04 LTS v1. 6. 7. ICT Labs Step-By-Step Install Guide DSpace on Ubuntu 10.Global Open Versity.

ICT Labs Step-By-Step Install Guide DSpace on Ubuntu 10.Global Open Versity. 2 10.0 Fig.04 LTS v1.org ICT105 – Ubuntu Server Administration Training . Vancouver Canada www.globalopenversity. The second one is powered by DSpace: http://localhost:8080/jspui 17 April 2007. Kefa Rabah. Global Open Versity.

Global Open Versity. Vancouver Canada www. go to ″/dspace/bin/″ directory and run the command sudo . Kefa Rabah. Global Open Versity.org ICT105 – Ubuntu Server Administration Training .com First name: Shaka 18 April 2007. We’re done with this section. Step 8: Setting an Admin Account 1. 3 11.0 Fig./dspace create-administrator The following lines are an (almost) exact display of how that application works. To add an admin account for administering Dspace. ICT Labs Step-By-Step Install Guide DSpace on Ubuntu 10. netadmin@server01:/dspace/bin# .04 LTS v1./dspace create-administrator Creating an initial administrator account E-mail address: szulu@govhostinglabs.globalopenversity.

You should now be able to login to DSpace site with your admin account. From Fig. Kefa Rabah. Vancouver Canada www. ICT Labs Step-By-Step Install Guide DSpace on Ubuntu 10. Password: your-admin’s-secret-password Again to confirm: your-admin’s-secret-password Is the above data correct? (y or n): y Administrator account created netadmin@server01:/dspace/bin# 2. ″ 19 April 2007. 4.globalopenversity. Click ″Update Profile″ when done. 4 3. 5.0 Last name: Zulu WARNING: Password will appear on-screen. Fig. you have the option to add your contact telephone and also update your password. as shown in Fig. Global Open Versity.org ICT105 – Ubuntu Server Administration Training .04 LTS v1.Global Open Versity.

org ICT105 – Ubuntu Server Administration Training . Vancouver Canada www. Kefa Rabah. ICT Labs Step-By-Step Install Guide DSpace on Ubuntu 10. as shown in Fig. Global Open Versity. Fig.04 LTS v1. 5 4.Global Open Versity.globalopenversity. 6. 6 20 April 2007. You should be able to login to DSpace/Manakin Respository.0 Fig.

making it possible to match the design and user experience of existing institutional Web sites The ability to brand content at the item level. as with Fig. shown in Fig. • From Actions menu. select ″Click here to a add a new E-Person″ 21 April 2007. under Create a new E-Person. Manakin contributes several key improvements to DSpace. perform the following procedures from Manakin admin console: 1. allowing the modification of content display and the creation of new workflow and ingestion applications. including dates and geospatial information. 6 above. when DSpace version 1. and click on People link. Vancouver Canada www. one product of these new tools is Vireo. Manakin 1.0 Note: DSpace Manakin: Developers affiliated with the Texas Digital Library and Texas A&M University contributed a major enhancement to DSpace in Manakin. community.5 was released. for instance.org ICT105 – Ubuntu Server Administration Training . the TDL’s electronic thesis and dissertation submission and management system The ability to visualize metadata. 2.04 LTS v1.0 was released in January 2007 and became the default user interface for DSpace in March 2008. a customizable XML user interface designed to be more adaptable to the needs of repository users. Global Open Versity. 7. From DSpace/Manakin login with Admin credentials. Kefa Rabah. to access the "Eperson management" page.globalopenversity.Global Open Versity. ICT Labs Step-By-Step Install Guide DSpace on Ubuntu 10. in the form of timelines and maps • • Step 9: Creating E-People on DSpace using Manakin To create E-People on DSpace Repository server. Scroll to Administrative Access Control menu. so that individual documents within the TDL federated repository. and collection. are branded with the university logo of the contributing member institution New tools that allow the creation of modular extensions to the repository. including: • • The ability to create a unique look and feel for each repository.

Global Open Versity. ICT Labs Step-By-Step Install Guide DSpace on Ubuntu 10.0 Fig.globalopenversity. Global Open Versity.org ICT105 – Ubuntu Server Administration Training .04 LTS v1. Kefa Rabah. 7 3. From Fig. 8. Vancouver Canada www. and then click ″Create E-Person″ button. from Create a new user page. Fig. enter the New E-Person's Information. 8 22 April 2007. (Note: you'll be prompted with “The user was added successfully” notice).

Fig. 9.04 LTS v1. your E-Person management page should look like shown in Fig. Kefa Rabah.0 4.Global Open Versity. ICT Labs Step-By-Step Install Guide DSpace on Ubuntu 10.globalopenversity. and when done.org ICT105 – Ubuntu Server Administration Training . Global Open Versity. Vancouver Canada www. Communities and Collections are used within DSpace to provide the repository with an easily navigable structure often representing an institutions organizational makeup 2. Add as many users as desired. Communities may be: • Institutes 23 April 2007. Part 6: Creating DSpace Community Step 1: Introduction 1. Each DSpace service is comprised of Communities – the highest level of the DSpace content hierarchy. You're done with this section. 9 5. 3.

2 Example Repository Structures Repository structures are often based around organizational units of a company or institution such as faculty. 3. departments. and for this reason. etc. labs or research centers. tagged with metadata. Collections can belong to a single community or multiple communities (collaboration between communities may result in a shared collection). 1. 4. Vancouver Canada www. Global Open Versity. 1. should not be too deep. usually the DSpace User Support Manager.globalopenversity. They are often hierarchical to provide ease of navigation. groups and administration can be found in the module ‘An introduction to users and groups’. you must be an administrator of the repository and signed into DSpace. 2. edited. Each Community in turn has collections which contain items or files that are logically related material.Global Open Versity.04 LTS v1.1 The DSpace Collection 1. As with communities. Creation of a typical Community involves: 24 April 2007. Some example structures may be: i) ii) iii) Department / Research Group / Item Department / Item Type / Item Faculty / Department / Step 2: Creating Communities 2. each collection contains descriptive metadata about itself and the items contained within it.0 • • • • • Faculties/Schools Departments Labs Research Centers Other administrative unit within an institution.org ICT105 – Ubuntu Server Administration Training . An administrator on the DSpace team. Kefa Rabah. 1. works with the head of a community to set up workflows for content to be approved. More information on users.1 Introduction To create a community. Each Community contains descriptive metadata about itself and the Collections contained within it 5. ICT Labs Step-By-Step Install Guide DSpace on Ubuntu 10.

Login to the DSpace as an administrator. Completing the descriptive metadata for the community There are basic descriptive fields for each community which describes information about the community and its collections.04 LTS v1. perform the following procedure: 1. it resides within another parent community. Short title: A short description of the community. i. 3. Kefa Rabah. When signed into DSpace. These generally are the community o o o o o o Title: The title of the community.e. Choose the ‘create top level community’ to create a community at the current level or navigate into an existing community to and choose ‘create sub community’ to create a sub level community.. Configuring the community’s authorizations.globalopenversity. Global Open Versity. Vancouver Canada www.Global Open Versity. select the Collections & Communities button from the browse menu to list the communities available in DSpace. Under Browse heading.. Is this a sub community. 4. it does not reside in any other communities. modify and delete the community and its associated metadata.2 Hands-on Creation of Communities To create a DSpace Community. click "Communities & Collection" 3. Select "Create Top-Level Community. 2. 2." button from the Admin Tools menu 4. i.0 • Choosing the type of community: Is this a top level community. These are the access rights which determine who can view. in our case user szulu. 2. Complete the descriptive metadata for the Community 25 April 2007.org ICT105 – Ubuntu Server Administration Training .. ICT Labs Step-By-Step Install Guide DSpace on Ubuntu 10.e. Introductory text: Introductory text describing the community Copyright text: Copyright text pertaining to anything contained within the community Side bar text Logo: A logo for the community .

globalopenversity. Kefa Rabah. You should observe your first created Community . Vancouver Canada www. 26 April 2007. ICT Labs Step-By-Step Install Guide DSpace on Ubuntu 10. Click on the "Create " to complete the Community.org ICT105 – Ubuntu Server Administration Training .Institute of Africa Studies as shown in Fig. 11.0 Fig.Global Open Versity. 6. 10 5.04 LTS v1. Global Open Versity.

When signed into DSpace. Select the parent community and then choose ″create collection″ 3.0 Fig. Vancouver Canada www. if items are publically viewable etc. Creation of a typical collection involves: Selecting the parent community of the collection o Collections can only exist within a community. Step 3 Creating DSpace Collections 1. Kefa Rabah.org ICT105 – Ubuntu Server Administration Training . Each is described below: 27 April 2007. To create a collection. you must be an administrator of the parent community and signed into DSpace. We're done with this section. 2. Answering some initial questions about the collection The initial questions will determine how the collection is constructed.04 LTS v1.Global Open Versity. Global Open Versity. select the Collections & Communities button from the browse menu to list the communities available in DSpace. 11 7. ICT Labs Step-By-Step Install Guide DSpace on Ubuntu 10.globalopenversity.

Fig. in our case: "Institute of African Studies" 3.e.Global Open Versity.e. Vancouver Canada www..org ICT105 – Ubuntu Server Administration Training .. o o o o 3. as shown in Fig.04 LTS v1. Global Open Versity. New submissions will have some of metadata already filled out with defaults: Selecting this will allow the user to pre-populate some of the metadata fields in the submission process. This is discussed in the section ‘Introduction to workflows’.0 o New items should be publicly readable: Checking this will make any items submitted to this collection viewable to users not signed in to DSpace (i. This collection will have delegated collection administrators. The Submission Workflow.globalopenversity. Kefa Rabah. Select "Collections & Communities" from the browse menu 2. 12 28 April 2007.1 Hands-on Creation of Collections 1. the outside world) Some users will be able to submit to this collection: Checking this will allow the user to select who can submit items to this collection. 12. Select "Create Collection" from the Admin Tools menu. This will allow the user to select who can administer the collection (i. ICT Labs Step-By-Step Install Guide DSpace on Ubuntu 10. Navigate into your newly created community. add submission users etc). modify metadata.

From Fig. From the pop-up window. 29 April 2007.04 LTS v1. Vancouver Canada www. accept the default statements.0 4. click "Select E-people" button and click on the default administrator user. Introductory Text) and click ‘Next’ 6.org ICT105 – Ubuntu Server Administration Training . Fill in the metadata (Name. 14. Fig. Describe the Collection page. 15. Global Open Versity. Fig.Global Open Versity. From Fig. and click Next Fig. 13 5. select the desired E-People. Short Description. Kefa Rabah. 13. ICT Labs Step-By-Step Install Guide DSpace on Ubuntu 10.globalopenversity. 14 7. when done click Close button.

Vancouver Canada www. 15 8. ICT Labs Step-By-Step Install Guide DSpace on Ubuntu 10.org ICT105 – Ubuntu Server Administration Training . From Fig. Global Open Versity. Kefa Rabah. 16. click ‘Next’ Fig.Global Open Versity.04 LTS v1.0 Fig.globalopenversity. 17 30 April 2007.

org ICT105 – Ubuntu Server Administration Training .globalopenversity. On the next page. Vancouver Canada www. accept the default or change as desired.04 LTS v1.0 9. you should be able to view your newly created collection and community. and then scroll down and click on the "Update" button to create you collection Fig. Fig. 18 10. Kefa Rabah. Finally. ICT Labs Step-By-Step Install Guide DSpace on Ubuntu 10. as shown in Fig. Global Open Versity. 18.Global Open Versity. 19. 31 April 2007.

globalopenversity.0 Fig.Global Open Versity. Vancouver Canada www.org ICT105 – Ubuntu Server Administration Training . Internet users are now able to view your exiting Communities and Collections. Kefa Rabah. Global Open Versity.04 LTS v1. when they select "Communities & Collections" from the browse menu. 19 11. 20. 32 April 2007. as shown in Fig. ICT Labs Step-By-Step Install Guide DSpace on Ubuntu 10.

0 Fig.04 LTS v1. From the Community --> Collection page. click on the "Submit to this Collection" button. as shown in Fig.Global Open Versity. Vancouver Canada www. ICT Labs Step-By-Step Install Guide DSpace on Ubuntu 10.org ICT105 – Ubuntu Server Administration Training . Click Communities & Collections --> select desired Community --> Collection. Global Open Versity. Login with Admin credentials 2. 33 April 2007. perform the following procedure: 1.globalopenversity. 20 Step 4: Submitting to a Collection To submit an item to a Community/Collection. 3. Kefa Rabah. 21.

0 Fig.04 LTS v1. 22. 23 5. ICT Labs Step-By-Step Install Guide DSpace on Ubuntu 10.From Fig. Global Open Versity. complete the requested information. From Fig. click Next. Fig.globalopenversity. and then click Next. Submit: Describe this item page. accept the default or change as desired. Kefa Rabah. 21 4. Vancouver Canada www. and when done. . 24.org ICT105 – Ubuntu Server Administration Training .Global Open Versity. 34 April 2007.

25. complete the requested information. 24 6. Global Open Versity. From Fig. click Next. ICT Labs Step-By-Step Install Guide DSpace on Ubuntu 10.Global Open Versity. Vancouver Canada www. and when done. 35 April 2007.org ICT105 – Ubuntu Server Administration Training .0 Fig. Kefa Rabah.04 LTS v1.globalopenversity.

Fig. On the next page.0 Fig. verify the file upload. click Browse button to upload the desired item. 25 7.Global Open Versity. the Upload page. Global Open Versity. Kefa Rabah. 36 April 2007. 26 8. Vancouver Canada www. From Fig. click Next. 27. Fig. ICT Labs Step-By-Step Install Guide DSpace on Ubuntu 10.org ICT105 – Ubuntu Server Administration Training .globalopenversity. and when done. 26. and then click Next.04 LTS v1.

Global Open Versity.0 Fig. verify Submission.globalopenversity. Fig. 28 37 April 2007. Kefa Rabah. 27 9. 28.04 LTS v1. and then click Next.org ICT105 – Ubuntu Server Administration Training . Vancouver Canada www. Global Open Versity. Fig. On the next page. ICT Labs Step-By-Step Install Guide DSpace on Ubuntu 10.

29 11. Kefa Rabah.Global Open Versity. Click Communities and Collections link. 38 April 2007. 30.04 LTS v1. Vancouver Canada www. Global Open Versity. Fig. You're done with the submission of an item. From Fig. You should see your newly submitted item listed under Recent Submission menu to the right as shown in Fig. ICT Labs Step-By-Step Install Guide DSpace on Ubuntu 10. Fig. as shown in Fig. 30 12. 29. 31. you have option to Submit another item or go to your home.org ICT105 – Ubuntu Server Administration Training . modify/update the license as desired and then click “I Grant the License” button at the bottom.0 10. the License page.globalopenversity.

org ICT105 – Ubuntu Server Administration Training .0 Fig. Global Open Versity. as shown in Fig. 31 13. 39 April 2007.globalopenversity.Global Open Versity. You can follow the link to view the collection item. Kefa Rabah.04 LTS v1. Vancouver Canada www. 32. ICT Labs Step-By-Step Install Guide DSpace on Ubuntu 10.

6. Part 7: Hands-on Lab Assignments 1. RESTORE backup.0 Fig. and add items (Text.04 LTS. Global Open Versity.Ubuntu Server Administration Training 40 April 2007. Plan Design Implement & Deploy DNS Master and Slave Servers for redundancy.org ICT105 – Ubuntu Server Administration Training .04 LTS v1. EHCP and ISPConfig ISP hosting solutions. Ubuntu Enterprise Cloud. The Slave DNS should be on a separate machine. Install and update Linux Ubuntu 10. 32 14. Install and configure Webmin admin tool 3. Image. Computing. Ubuntu Server Administration Training You can now register and take our superb Ubuntu Server Training course. You can also perform the above tasks from DSpace/Manakin Repository URL: http://localhost:8080/xmlui 15. 4. EJBCA PKI solution and many more • ICT105 .Global Open Versity. You're done with this section and also with this lab session. ICT Labs Step-By-Step Install Guide DSpace on Ubuntu 10. Kefa Rabah. and Video) to your Collection. Install and Configure DSpace Repository Server on Ubuntu 10.04 LTS (Lucid Lynx) 2. Vancouver Canada www. • Create your own organizational structure within DSpace • Create a Community and a Collection.04 LTS.globalopenversity. Setup Astaro SG firewall/router to protect your LAN infrastructure. Install and configure Zimbra messaging solutions 5. covering Ubuntu 10.

12. 19. 13.04 LTS VM on Citrix XenServer v1.Global Open Versity.1 Step-By-Step Build & Deploy Citrix XenServer and XenCenter v1. 11. Install & Setup Astaro Security Gateway to Protect Corporate Network ----------------------------------------------Kefa Rabah is the Founder of Global Technology Solutions Institute. 5. 8.3 27. 18. 2.0 Install Guide Linux CentOS-5 VM on Windows Server 2008 Hyper-V R2 Step-By-Step Install Guide Windows Server 2008 R2 Virtualization With Hyper-V v1. 16. a place to enhance your educating and career goals using the latest innovations and technologies. Global Open Versity. Fellow us on Twitter: Global Open Versity and Kefa Rabah A GOV Open Access Technical Academic Publications Enhancing education & empowering people worldwide through eLearning in the 21st Century 41 April 2007. Information Security Compliance and Project Management. 21. 17. Kefa Rabah.10 Maverick Meerkat Server Step-By-Step Install Guide Linux CentOS-5 VM on Citrix XenServer v1.0 Step-By-Step Build & Deploy Citrix XenServer and XenCenter v1.04 LTS Server Step-By-Step Install Guide DTC on Linux CentOS5 Server v1.10 LTS Enterprise Cloud Platform Build and Deploy Your Own Private PIAF-GOLD with Asterisk VoIP Telephony System Step-By-Step Install Guide Ubuntu 10.0 Step-By-Step Deploy Ubuntu 10. 7. 3.04 LTS v1.2 Install Guide Linux Samba as Primary DC and SSO Identity Management Using Samba 3 Client Technology and Kerberos for Win2k8 AD-based identity management Step-by-step Install Guide for Moodle with Dimdim Web Meeting Step-By-Step Install Guide Alfresco Community 3. 23. 22.globalopenversity. 4. 9. ICT Labs Step-By-Step Install Guide DSpace on Ubuntu 10.0 Step-By-Step Install Guide Xen Hypervisor on Linux Server v1. Vancouver Canada www. He is also the founder of Global Open Versity. Thunderbird Mail Client with Addressbook using OpenLDAP on Linux HowTo v1.0 Step-By-Step Install Guide Mahara ePortfolio & Integration with Moodle LMS v1. Using Webmin and Bind9 to Setup Enterprise DNS Server on Linux Deploy Secure Messaging Solutions using Sendmail & Dovecot Servers with ClamAV on Linux Install Guide Secure Postfix Messaging Server with Dovecot and ClamAV on Linux v1.org ICT105 – Ubuntu Server Administration Training .2 Build and Deploy Enterprise sipXecs Integration with Openfire Integrate MS Outlook 2007 Addressbook with SugarCRM Contacts on Windows Build Private Clouds with Ubuntu 10. 25. 24.04 LTS Server v1.0 Build your own ISP Hosting using EHCP on Ubuntu 10. and Renewable Energy Systems. 6.0 26. 14. Kefa is knowledgeable in several fields of Science & Technology.3g on RHEL5 Server v1.0 Other Related Articles: 1.0 Deploy Secure Messaging Solutions using USendUmail & Dovecot Servers with ClamAV on Linux Build your Own Private Data Center Backup Solutions using Ubuntu Powered RESTORE Backup Server v1.0 Step-By-Step Install Guide Joomla CMS on Ubuntu 10. 20. 10. 15.

Sign up to vote on this title
UsefulNot useful