Showing posts with label Virtualization. Show all posts
Showing posts with label Virtualization. Show all posts

Wednesday, May 14, 2008

Evergreen ILS - Server Installation

For reasons I won't yet go into, I've been working to install the Evergreen ILS server on my virtual installation of Debian server. Here's what I've done (more than once for learning's sake):

  1. I downloaded and installed VirtualBox on my Ubuntu Hardy Heron installation.
  2. I installed Debian etch using its Network Installation CD ISO image (you can virtually mount the ISO as a CD/DVD ROM - but I also needed a physical copy of this same image for steps later in the Evergreen installation process).
  3. In the Debian installation process, I selected that I wanted a standard system, an SQL server, and a web server. I de-selected the desktop environment option. Everything that can be done with Evergreen has to be done by command line anyway.
  4. Once everything was up and running, I began following these instructions on the Evergreen Wiki.
    • There are several preconfiguration steps I had to do at this page.
After I had downloaded and installed all the software (which was a very educational experience in itself, seeing CPAN in action and watching Perl scripts fly across the screen), created all the relevant users, and edited the necessary XML files, I attempted to start Evergreen using these instructions.

I hit problems immediately. First of all I had trouble finding the osrf_ctl.sh script which starts up the OpenSRF framework that Evergreen runs on. When I did finally find it and get it going, I got the error "line 108: opensrf_router command not found." I have installed the system twice now and still get this error. I found this thread, in which another user encountered the same error. The guys at Equinox who designed and manage Evergreen offered some help and I am now doing a fresh virtual install of Debian to give things another try. This might be a documentation problem, in which case I will notify Equinox.

Sunday, May 11, 2008

Using Virtual Machines

I've entered a new world on my Ubuntu box since I discovered virtual machines (VMs). I've installed VirtualBox (http://www.virtualbox.org/), and I am currently running a virtual version of Debian server so as to learn that environment, but I have tested Fedora as well, and have even installed Windows XP (though I need a product key to continue, and though I know there exist workarounds for this, I have a dual boot situation and don't really need it).

Using VirtualBox is simple and intuitive. You set the size of the virtual hard drive, set the RAM usage (which means you have to have enough memory on your computer to both run your normal OS and the virtual OS at the same time), then you just need a way to install. You can use a physical CD, since the VM makes use of your existing hardware if you configure it to, but you can also skip the step of burning a CD for your preferred Linux distribution since the VM can boot from an ISO image! You're really only limited by your hard drive space (typical Linux distros require 8 GB for a regular install) and your memory (which cuts into your normal OS performance, but I have 1.5 GB and am able to easily spare 512 MB for this). Of course the implications for this are enormous and have not been lost on the business world, particularly in the area of server virtualization.

For me, this is just giving me an opportunity to delve into other Linux distributions that I wouldn't wipe a hard drive for!