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

research centers.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. 3. crosses depts. Scholar-driven. Formal Community – Consists of departments. Library staff review content before going online. Subject Community – Open access. Example: Social Science – cuts across departments.0 Part 1: Background Information 1.globalopenversity. membership limited to academic choice. all academics can submit.04 LTS v1.Global Open Versity. Example: Neuroscience Dept. Many universities organize according to academic research centers or departments. 1. How you organize content communities depends on the interests and allegiances of your academics. Changes over time. 4 April 2007. or by proxy. Vancouver Canada www.2 Ways of Organizing Content Each institutional repository service organizes content in a way to suit its university’s unique culture and academic organizations. Established submission guidelines and workflow. and groups already existing. ICT Labs Step-By-Step Install Guide DSpace on Ubuntu 10. This is by no means the only organizing principle.org ICT105 – Ubuntu Server Administration Training . Most software systems call for customizations based on your content communities. One university (the University of Kansas) organizes its content using ″hybrid communities″ in the following ways: 1. Kefa Rabah. Global Open Versity. Community of Interest – An ad hoc group. 2. The information model that best suits your university would not fit another campus. Example: Policy Research Institute.

org ICT105 – Ubuntu Server Administration Training . units. it is critical to communicate how the service benefits the university community – in other words. etc. Kefa Rabah. colleges. 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.0 1. 1. to do some marketing to advertise the service on campus. 5 April 2007. Vancouver Canada www. Each of the varied user groups needs general exposure to the service –its features and how it is it used.3 Creating a Service Plan A typical institutional repository Service Plan is divided into three periods: Start-up. 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. consider the amount of training and support you will want to offer. Many institutions prefer to begin with a small. centers.6 Training and User Support As you plan your service. 1.04 LTS v1. ICT Labs Step-By-Step Install Guide DSpace on Ubuntu 10. This helps you to focus on adding one discrete group of content and users to the system.5 Marketing Your Institutional Repository Service As you begin to build a service. iron out procedures. Academics and their designated content contributors need training in adding content to the system and setting up content areas for departments or research centres. or labs. These periods reflect milestones in phased development and allow for differing levels of resource commitment to meet those objectives. These are groups that contribute content to an institutional repository – either academic or administrative departments. they add content communities and reach additional academic departments. manageable service conducted alongside a targeted marketing and communication program to build awareness in the community. showcasing a handpicked short list of early adopters who test the software and agree to join the programme early on. 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. test the software. In addition.4 Running a Pilot or Early Adopter Programme Each Institutional repository service is comprised of content collections – sometimes called communities.globalopenversity. 1.Global Open Versity. Many universities have found it helpful to run a pilot programme for their institutional repository service. Global Open Versity. Growth and Maturity. As momentum grows.

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

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

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

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

10 April 2007. Kefa Rabah. 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. Fig. Install the server stack tasksel. Global Open Versity. ICT Labs Step-By-Step Install Guide DSpace on Ubuntu 10.org ICT105 – Ubuntu Server Administration Training .globalopenversity. To install LAPM server using Tasksel utility. MySQL & PHP) Server 1. run: sudo aptitude install tasksel 2.Global Open Versity.04 LTS v1. We’re done with this section. 3 3. Vancouver Canada www.0 Step 3: Install LAMP (Apache2.

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

Here. We’re done with this section. Step 6: Install the Compile / Build Tool "Maven2" 1. we need to install Maven2 package. We’re done with this section. Here. Restart Apache Tomcat server: sudo /etc/init. ICT Labs Step-By-Step Install Guide DSpace on Ubuntu 10.globalopenversity. 12 April 2007. run: sudo aptitude install ant maven2 2. run: sudo vi /etc/tomcat6/server.4 Create the dspace database 7.xml″ file to integrate DSpace: 1. Kefa Rabah. As root user.Global Open Versity. Global Open Versity.04 LTS v1.org ICT105 – Ubuntu Server Administration Training . As the postgres user. Vancouver Canada www.xml Insert the following block of text just above the closing ″</Host><!-.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.0 4. we need to modify ″/etc/tomcat6/server. 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.d/tomcat6 restart 3.

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

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

g. [echo] (e. change to directory as shown. Tomcat) to look for your [echo] DSpace web applications in: /dspace/webapps/ [echo] [echo] OR.7.dir # ant fresh_install Note: it will take several minutes.2-src-release/dspace/target/dspace-1.7. depending of Internet download bandwidth.dir$ 15 April 2007. Global Open Versity. and then run ″ant fresh_install″: # cd 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.7. ICT Labs Step-By-Step Install Guide DSpace on Ubuntu 10. and the database initialized.2build. [echo] [echo] To complete installation. Next.2-build. '$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.g.Global Open Versity. copy any web applications from /dspace/webapps/ to [echo] the appropriate place for your servlet container.globalopenversity.04 LTS v1.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. Kefa Rabah.org ICT105 – Ubuntu Server Administration Training .) [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. Vancouver Canada www. you should do the following: [echo] [echo] * Setup your Web servlet container (e.

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

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

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

ICT Labs Step-By-Step Install Guide DSpace on Ubuntu 10.0 Last name: Zulu WARNING: Password will appear on-screen.globalopenversity.04 LTS v1. 5. 4 3. From Fig. 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. You should now be able to login to DSpace site with your admin account. Vancouver Canada www. you have the option to add your contact telephone and also update your password.org ICT105 – Ubuntu Server Administration Training . Kefa Rabah. Click ″Update Profile″ when done. Global Open Versity. as shown in Fig. 4. ″ 19 April 2007. Fig.Global Open Versity.

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

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

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

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

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

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

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

11 7. Select the parent community and then choose ″create collection″ 3. if items are publically viewable etc. 2. ICT Labs Step-By-Step Install Guide DSpace on Ubuntu 10.0 Fig. Each is described below: 27 April 2007. Answering some initial questions about the collection The initial questions will determine how the collection is constructed. select the Collections & Communities button from the browse menu to list the communities available in DSpace. you must be an administrator of the parent community and signed into DSpace. Creation of a typical collection involves: Selecting the parent community of the collection o Collections can only exist within a community. Kefa Rabah. Global Open Versity.globalopenversity. When signed into DSpace.04 LTS v1. We're done with this section.Global Open Versity. Vancouver Canada www. To create a collection.org ICT105 – Ubuntu Server Administration Training . Step 3 Creating DSpace 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. Navigate into your newly created community. This will allow the user to select who can administer the collection (i.org ICT105 – Ubuntu Server Administration Training .1 Hands-on Creation of Collections 1. Select "Create Collection" from the Admin Tools menu. as shown in Fig. Kefa Rabah. ICT Labs Step-By-Step Install Guide DSpace on Ubuntu 10. 12. This collection will have delegated collection administrators.e. Global Open Versity.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.globalopenversity. modify metadata.. 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. The Submission Workflow. 12 28 April 2007.04 LTS v1. in our case: "Institute of African Studies" 3. Vancouver Canada www.Global Open Versity. add submission users etc). Fig. This is discussed in the section ‘Introduction to workflows’. Select "Collections & Communities" from the browse menu 2.e. o o o o 3.

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

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

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

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

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

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

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

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

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

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

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

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

0 Other Related Articles: 1. ICT Labs Step-By-Step Install Guide DSpace on Ubuntu 10.04 LTS Server Step-By-Step Install Guide DTC on Linux CentOS5 Server v1.org ICT105 – Ubuntu Server Administration Training .3g on RHEL5 Server v1. 16.10 Maverick Meerkat Server Step-By-Step Install Guide Linux CentOS-5 VM on Citrix XenServer v1. Install & Setup Astaro Security Gateway to Protect Corporate Network ----------------------------------------------Kefa Rabah is the Founder of Global Technology Solutions Institute.0 Step-By-Step Install Guide Joomla CMS on Ubuntu 10. 4. Vancouver Canada www. 24. 20. Information Security Compliance and Project Management. 3. 17.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. 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. and Renewable Energy Systems. 12. 21. Kefa Rabah. Thunderbird Mail Client with Addressbook using OpenLDAP on Linux HowTo v1.globalopenversity. 25. 2. a place to enhance your educating and career goals using the latest innovations and technologies.Global Open Versity. Global Open Versity.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.3 27.0 Step-By-Step Deploy Ubuntu 10. 23. Kefa is knowledgeable in several fields of Science & Technology. 10. He is also the founder of Global Open Versity. 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. 6. 18. 8.04 LTS v1. 5.0 Build your own ISP Hosting using EHCP on Ubuntu 10.0 Step-By-Step Install Guide Mahara ePortfolio & Integration with Moodle LMS v1. 14.0 26.04 LTS VM on Citrix XenServer v1.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. 19. 15. 9.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.1 Step-By-Step Build & Deploy Citrix XenServer and XenCenter v1. 13.04 LTS Server v1.0 Step-By-Step Build & Deploy Citrix XenServer and XenCenter v1.0 Step-By-Step Install Guide Xen Hypervisor on Linux Server v1. 11. 22.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. 7.