What I did to make the Everex ready for patrons

The first thing I did was download and burn Ubuntu 8.04 Hardy Herron to a disk.  This was eventually done on a “gasp” Windows machine, since the gOS burning software was somehow not able to burn a readable .iso.  So…

  1. I installed Ubuntu
  2. I installed the Firefox Flash Plugin
  3. Installed mplayer, mplayer plugin, xine and codecs (see Medibuntu)
  4. Created a user “guest”
  5. Downloaded sabayon and created a profile “guest” then configured account and assigned the profile to user “guest”  See this article for more.
  6. Changed Default file formats in Open Office.
  7. Edited Menus, removed some items from the Panel, added Desktop Launchers for Firefox, Open Office Word Processor, Open Office Spreadsheet and Xine Movie Player.
  8. Once everything was set up the way I wanted in “guest”, I logged out of guest, and back in a different account.
  9. Set up a printer. I went to System>Administration>Printing.  Clicked add printer.  It automatically found our HP 4050tn and I followed the instructions to add it.
  10. Using this as a guide I did the following:
  11. I bacame root

    sudo su

    Created backup and restore scripts for guest account

    cd /root
    touch backup restore
    chmod 700 backup restore

    Opened Backup in editor

    cd /root
    sudo gedit backup
    

    Pasted the following into backup

    #!/bin/bash
    
    IMAGES=/root/images
    USER=guest
    
    mkdir -p $IMAGES
    rm -f "$IMAGES/$USER.tar"
    tar -cpPf "$IMAGES/$USER.tar" "/home/$USER"

    edited restore:

    cd /root
    sudo gedit restore

    Pasted the following into restore:

    #!/bin/bash
    
    IMAGES=/root/images
    USER=guest
    
    mkdir -p $IMAGES
    rm -fR "/home/$USER"
    tar -xpPf "$IMAGES/$USER.tar"

    Setup the restore script to execute on system startup. This allows a system reboot to reset any changes made to guest’s desktop.

    cd /etc/init.d
    ln -s /root/restore restore
    update-rc.d restore start 99 2 .

    It is also a good idea to put in a cron job to do automatic updates. As root I did this:

    crontab -e

    Add this line:

    * */4 * * * (PATH=/usr/sbin:/usr/bin:/sbin:/bin && apt-get update && apt-get upgrade -y) > /dev/null 2>&1

    I then ran the backup script

    cd /root
    sudo ./backup
  12. I then went to System>Administration>Login Window.  On the security tab I checked Enable Timed Login, set the user to guest and set the time to 10 seconds.  This means that when the machine is turned on it will allow you ten seconds to login as someone other then guest, otherwise guest will be logged in automatically without entering a password.
  13. I put it out for patrons to use.  So far one patron has been on for about an hour and she has had no problems.  She says it is working fine.  It will be very interesting to see how this works as we go forward.

About ashkev

The Fiddling Librarian 3.0 is Kevin Smith’s personal weblog. Kevin is a recent graduate with an MLS from IUPUI. Kevin is the Assistant Director of the Cass District Library which is in Cass County Michigan.
This entry was posted in Computing, Library, Linux, open source and tagged , , . Bookmark the permalink.

3 Responses to What I did to make the Everex ready for patrons

  1. Pingback: cheap internet access

  2. Pingback: Websites tagged "xine" on Postsaver

  3. Pingback: Twitter Trackbacks for What I did to make the Everex ready for patrons | Fiddling Librarian 3.0 [weblogs.us] on Topsy.com

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>