360 likes | 476 Views
ARD Prasad Documentation Research and Training Centre Indian Statistical Institute Bangalore ard@drtc.isibang.ac.in. liblivecd. 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
E N D
ARD Prasad Documentation Research and Training Centre Indian Statistical Institute Bangalore ard@drtc.isibang.ac.in liblivecd
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
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 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)
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
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 (Classic Interface) • http://localhost/xmlui (Manakin 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 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
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
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/
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
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
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.
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 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'
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
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 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
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
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
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
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
For feed, queries, please write to: dlrg@isibang.ac.in OR ard@drtc.isibang.ac.in Thank You