liblivecd ARD Prasad Documentation Research and Training Centre
liblivecd ARD Prasad Documentation Research and Training Centre Indian Statistical Institute Bangalore ard@drtc. isibang. ac. in
What is a livecd? A bootable CD Live. CD 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
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
Bootable Media One can have a livecd on CD (of 700 MB) DVD (do not waste a DVD, it requires only 700 MB) USB memory stick (fastest) Virtual Machines like VBOX, qemu, VMWare, kvm, etc. (slowest – unless you have > 2 GB main memory)
liblivecd Ubuntu 9. 10 with minimal Gnome Desktop DSpace 1. 5. 2 PKP Harvester 2. 3. 0 Koha 3. 0. 2 Db. Wiz (svn on 1 st Feb. 2010 ) Next Screen: This will be the screen that will appear once you boot with live. CD
Additional Prerequisites loaded Apache Server Tomcat Exim-4 mail server Mod-JK Dovecot, IMAP server PHP 5 Squirrelmail, a web-based mail client Lots of Perl modules, required for Koha, db. Wiz Postgre. SQL database Sun Java My. SQL database SCIM for Multi-lingual input Open SSH server IDZEBRA: a Z 39. 50 server VSFTP server
What is removed Open Office evince mail clients languages other than English games s/w related Multimedia and Many More. . .
How to install What you need System → Admin → Synaptic
DSpace http: //localhost/jspui http: //localhost/xmlui (Manakin Interface) (Classic Interface) http: //localhost/oai/request? verb=Identify (OAI base URL) Dspace Admin login: dspace@localhost. localdomain 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
Harvester http: //localhost/harvester Harvester Admin Login: library password: library NOTE: Once you know the Base. URL 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
How to get Base. URLs Open Archives: http: //www. openarchives. org/Register/Browse. Sites Open. DOAR: http: //www. opendoar. org/countrylist. php University of Chicago, Urbana Champagne: http: //oai. grainger. uiuc. edu/registry/
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
db. Wiz Search (http: //localhost/esearch) dbwiz Administration (http: //localhost/DBWIZ_config/config. cgi) db. Wiz Admin Login: admin password: library NOTE: Customizing db. Wiz depends on your library subscription to online journals/databases. You have to read dbwiz administration http: //researcher. sfu. ca/files/db. Wiz. Admin. Guide. p df
Squirrelmail http: //localhost/mail You may try: Login: dspace password: dspace Note: This mail client uses exim 4 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.
Logins and Passwords for shell, mysql etc. password for dspace: dspace password for koha: library Login for mysql admin user: root ; Password: library
If you log out of Live. CD 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'
How to download liblivecd Go to: http: //sf. net/projects/liblivecd Or http: //liblivecd. sf. nt Download the latest ISO file Download liblivecd. iso. md 5 After downloading ISO file run: md 5 sum liblivecd. iso (generates a unique number) See the number in liblivecd. iso. md 5 and the number md 5 sum has generated are same
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
Caution Make sure your CD is of 700 MB 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
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
Further Configuration: After Installing on Hard Disk
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 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
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
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 follow the screens sudo dpkg-reconfigure exim 4 -config Make sure in /home/dspace. cfg, you change the parameter mail. server to your machine address or relay host address
Thank You For feed, queries, please write to: dlrg@drtc. isibang. ac. in OR ard@drtc. isibang. ac. in
- Slides: 36