liblivecd ard prasad documentation research and training centre indian statistical institute...

36
liblivecd ARD Prasad Documentation Research and Training Centre Indian Statistical Institute Bangalore [email protected]

Upload: cornelia-hicks

Post on 17-Jan-2016

233 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Liblivecd ARD Prasad Documentation Research and Training Centre Indian Statistical Institute Bangalore ard@drtc.isibang.ac.in

liblivecd

ARD PrasadDocumentation Research and Training Centre

Indian Statistical InstituteBangalore

[email protected]

Page 2: Liblivecd ARD Prasad Documentation Research and Training Centre Indian Statistical Institute Bangalore ard@drtc.isibang.ac.in

What is a livecd?

A bootable CD LiveCD normally comes with a variant of Linux If the system is booted with livecd

It will not be loaded on your hard disk Your hard disk will not be touched It works only from the CD What ever you do, they will disappear once you shut

down. Nothing will be saved, as CD can not be written

You can resume normal operations with your system

Page 3: Liblivecd ARD Prasad Documentation Research and Training Centre Indian Statistical Institute Bangalore ard@drtc.isibang.ac.in

Purpose

One can test an operating system without actually loading it

One can test all the applications under an OS that come with the livecd without loading them

If one is satisfied, one can load the OS onto the hard disk

Page 4: Liblivecd ARD Prasad Documentation Research and Training Centre Indian Statistical Institute Bangalore ard@drtc.isibang.ac.in

Bootable Media

One can have a livecd on CD (of 700MB) DVD (do not waste a DVD, it requires only 700MB) USB memory stick (fastest) Virtual Machines like VBOX, qemu, VMWare, kvm,

etc. (slowest – unless you have > 2GB main memory)

Page 5: Liblivecd ARD Prasad Documentation Research and Training Centre Indian Statistical Institute Bangalore ard@drtc.isibang.ac.in

liblivecd

Ubuntu 9.10 with minimal Gnome Desktop DSpace 1.5.2 PKP Harvester 2.3.0 Koha 3.0.2 DbWiz (svn on 1st Feb. 2010 )

Next Screen: This will be the screen that will appear once you boot with liveCD

Page 6: Liblivecd ARD Prasad Documentation Research and Training Centre Indian Statistical Institute Bangalore ard@drtc.isibang.ac.in
Page 7: Liblivecd ARD Prasad Documentation Research and Training Centre Indian Statistical Institute Bangalore ard@drtc.isibang.ac.in

Additional Prerequisites loaded

Apache Server Tomcat

Exim-4 mail server Mod-JK

Dovecot, IMAP server PHP5

Squirrelmail, a web-based mail client

Lots of Perl modules, required for Koha, dbWiz

PostgreSQL database Sun Java

MySQL database SCIM for Multi-lingual input

Open SSH server IDZEBRA: a Z39.50 server

VSFTP server

Page 8: Liblivecd ARD Prasad Documentation Research and Training Centre Indian Statistical Institute Bangalore ard@drtc.isibang.ac.in

What is removed

Open Office evince mail clients languages other than English games s/w related Multimedia and Many More ...

Page 9: Liblivecd ARD Prasad Documentation Research and Training Centre Indian Statistical Institute Bangalore ard@drtc.isibang.ac.in

How to install What you need

System → Admin → Synaptic

Page 10: Liblivecd ARD Prasad Documentation Research and Training Centre Indian Statistical Institute Bangalore ard@drtc.isibang.ac.in
Page 11: Liblivecd ARD Prasad Documentation Research and Training Centre Indian Statistical Institute Bangalore ard@drtc.isibang.ac.in

DSpace

http://localhost/jspui (Classic Interface) http://localhost/xmlui (Manakin Interface) http://localhost/oai/request?verb=Identify (OAI base URL) Dspace Admin login: [email protected] Password: dspace Note: As tomcat is integrated with apache you do not have

to use port number like 8080. Even if your firewall blocks 8080 port, your DSpace can be accesed using port 80 of apache. LiveCD can even send mails, if you are running on machine with Internet IP number and mail ports are not blocked by Network administrators

Page 12: Liblivecd ARD Prasad Documentation Research and Training Centre Indian Statistical Institute Bangalore ard@drtc.isibang.ac.in
Page 13: Liblivecd ARD Prasad Documentation Research and Training Centre Indian Statistical Institute Bangalore ard@drtc.isibang.ac.in
Page 14: Liblivecd ARD Prasad Documentation Research and Training Centre Indian Statistical Institute Bangalore ard@drtc.isibang.ac.in

Harvester

http://localhost/harvester Harvester Admin Login: library password: library

NOTE: Once you know the BaseURL of a repository, you can harvest metadata from that repository

The PKP harvester is used here (pkp.sfu.ca/harvester/) meant to collect metadata form various digital repositories and provide a common search engine for all repositories

Page 15: Liblivecd ARD Prasad Documentation Research and Training Centre Indian Statistical Institute Bangalore ard@drtc.isibang.ac.in

How to get BaseURLs

Open Archives:

http://www.openarchives.org/Register/BrowseSites OpenDOAR:

http://www.opendoar.org/countrylist.php University of Chicago, Urbana Champagne:

http://oai.grainger.uiuc.edu/registry/

Page 16: Liblivecd ARD Prasad Documentation Research and Training Centre Indian Statistical Institute Bangalore ard@drtc.isibang.ac.in
Page 17: Liblivecd ARD Prasad Documentation Research and Training Centre Indian Statistical Institute Bangalore ard@drtc.isibang.ac.in
Page 18: Liblivecd ARD Prasad Documentation Research and Training Centre Indian Statistical Institute Bangalore ard@drtc.isibang.ac.in

Koha

Koha admin (http://localhost/kohaadmin) Koha Opac (http://localhost/opac) Koha admin Login: kohaadmin Koha admin password: library Note: Here too, you do not have to use port

numbers, a small trick with apache

Page 19: Liblivecd ARD Prasad Documentation Research and Training Centre Indian Statistical Institute Bangalore ard@drtc.isibang.ac.in
Page 20: Liblivecd ARD Prasad Documentation Research and Training Centre Indian Statistical Institute Bangalore ard@drtc.isibang.ac.in
Page 21: Liblivecd ARD Prasad Documentation Research and Training Centre Indian Statistical Institute Bangalore ard@drtc.isibang.ac.in

dbWiz

dbWiz Search (http://localhost/esearch) dbwiz Administration

(http://localhost/DBWIZ_config/config.cgi) dbWiz Admin Login: admin password: library

NOTE: Customizing dbWiz depends on your library subscription to online journals/databases . You have to read dbwiz administration

http://researcher.sfu.ca/files/dbWizAdminGuide.pdf

Page 22: Liblivecd ARD Prasad Documentation Research and Training Centre Indian Statistical Institute Bangalore ard@drtc.isibang.ac.in
Page 23: Liblivecd ARD Prasad Documentation Research and Training Centre Indian Statistical Institute Bangalore ard@drtc.isibang.ac.in
Page 24: Liblivecd ARD Prasad Documentation Research and Training Centre Indian Statistical Institute Bangalore ard@drtc.isibang.ac.in

Squirrelmail

http://localhost/mail

You may try: Login: dspace

password: dspace

Note: This mail client uses exim4 mail server and gets mail through dovecoat IMAP server. Dovecat can facilitate accessing your mail using any of the mail clients like evolution, thunderbird, outlook express etc. If your organization has firewall, talk to your network administrators.

Page 25: Liblivecd ARD Prasad Documentation Research and Training Centre Indian Statistical Institute Bangalore ard@drtc.isibang.ac.in
Page 26: Liblivecd ARD Prasad Documentation Research and Training Centre Indian Statistical Institute Bangalore ard@drtc.isibang.ac.in

Logins and Passwords for shell, mysql etc.

password for dspace: dspace password for koha: library Login for mysql admin user: root ; Password:

library

Page 27: Liblivecd ARD Prasad Documentation Research and Training Centre Indian Statistical Institute Bangalore ard@drtc.isibang.ac.in

If you log out of LiveCD

It will show a login page, and expects you to enter the password for the user called 'ubuntu'

BUT, ubuntu user does not have a password You may login as user 'dspace' with password

'dspace' OR login as user 'koha' with password 'library'

Page 28: Liblivecd ARD Prasad Documentation Research and Training Centre Indian Statistical Institute Bangalore ard@drtc.isibang.ac.in

How to download liblivecd

Go to: http://sf.net/projects/liblivecd Or http://liblivecd.sf.nt Download the latest ISO file Download liblivecd.iso.md5 After downloading ISO file run: md5sum liblivecd.iso (generates a unique

number) See the number in liblivecd.iso.md5 and the

number md5sum has generated are same

Page 29: Liblivecd ARD Prasad Documentation Research and Training Centre Indian Statistical Institute Bangalore ard@drtc.isibang.ac.in

What to do with ISO image

You can burn a CD OR prepare a bootable memory stick, If you are

using Ubuntu (faster compared to CD) System → Administration → USB Startup Disk

Creator Use qemu or kvm (requires more main memory)

very slow/fast depending on your Main Memory size qemu -cdrom new/remaster-new-files/liblivecd.iso -

boot d -m 512 You may replace kvm with qemu

Page 30: Liblivecd ARD Prasad Documentation Research and Training Centre Indian Statistical Institute Bangalore ard@drtc.isibang.ac.in

Caution

Make sure your CD is of 700MB capacity You should NOT copy the ISO image to CD You should burn ISO image to CD After burning, check whether CD has directories

like casper, dists, install, isolinux, pool, preseed et

Before booting setup CD-ROM as the first boot device in CMOS

Page 31: Liblivecd ARD Prasad Documentation Research and Training Centre Indian Statistical Institute Bangalore ard@drtc.isibang.ac.in

How to install on Hard Disk

Install liblivecd on a fresh system, where there is no data

If you already have another OS and data, make sure you have an empty partition

Many Linuxes allow dual boot, though not recommended for a server

CAUTION: You should be careful with disk partition, if you have already some data on your hard disk

Page 32: Liblivecd ARD Prasad Documentation Research and Training Centre Indian Statistical Institute Bangalore ard@drtc.isibang.ac.in

Further Configuration:After Installing on Hard Disk

Page 33: Liblivecd ARD Prasad Documentation Research and Training Centre Indian Statistical Institute Bangalore ard@drtc.isibang.ac.in

localhost?

Every system has a loop back IP address, even if it does not have Ethernet card

Normally, the loop back IP Number 127.0.0.1 is given the IP Address localhost

On LAN, some network managers assign static Private IP numbers, like 192.168.0.0 or 10.0.0.0 or 172.16.0.0 series (depending on Class A/B/C)

If DHCP is configured a server assigns IP number is each system on the LAN

Page 34: Liblivecd ARD Prasad Documentation Research and Training Centre Indian Statistical Institute Bangalore ard@drtc.isibang.ac.in

Networking

If you wish to assign a static IP number, whether LAN and Internet based, you can use

System → Preferences → Network Connections You can enter the host name in: /etc/hostname OR run the command: sudo hostname <FQDN>

(FQDN – Fully Qualified Domain Name)

ie. hostname.domain.name

drtc.isibang.ac.in; where drtc is hostname isibang.ac.in is domain name

If your system has Internet IP, DNS entry is required

Page 35: Liblivecd ARD Prasad Documentation Research and Training Centre Indian Statistical Institute Bangalore ard@drtc.isibang.ac.in

Configuring Mail Server

Liblivecd is pre-configured exim-4 mail server, assuming your machine will have Internet IP

If you wish to use relay host i.e. your organizations mail server, use the following command and follow the screens

sudo dpkg-reconfigure exim4-config Make sure in /home/dspace/dspace.cfg, you

change the parameter mail.server to your machine address or relay host address

Page 36: Liblivecd ARD Prasad Documentation Research and Training Centre Indian Statistical Institute Bangalore ard@drtc.isibang.ac.in

Thank You

For feed, queries, please write to:[email protected]

[email protected]