{"id":1755,"date":"2014-02-17T15:25:31","date_gmt":"2014-02-17T15:25:31","guid":{"rendered":"https:\/\/copyright.lboro.ac.uk\/lorls\/?p=1755"},"modified":"2020-07-07T09:57:45","modified_gmt":"2020-07-07T09:57:45","slug":"a-lorls-virtual-machine-image","status":"publish","type":"post","link":"https:\/\/blog.lboro.ac.uk\/lorls\/lorls\/a-lorls-virtual-machine-image","title":{"rendered":"A LORLS virtual machine image"},"content":{"rendered":"<p>We&#8217;ve been thinking recently about how to make it easier for people to try out the LORLS code. This includes ourselves &#8211; we sometimes want to spin up a new instance of LORLS for testing some feature or helping another site debug their installation. Normally that would mean doing an operating system, Perl module and then LORLS installation on a new machine (physical or virtual) before it could be used.<\/p>\n<p>With the spread of virtual machine (VM) infrastructure, and the fact that many Universities now use VMs widely, we thought it might be worth making a &#8220;LORLS in a box&#8221; VM appliance image that people could grab and then use for testing, demos or as the basis of their own installation. The VM image would have LORLS pre-installed along with all the basic Perl modules required in place, and the test data that we use in our local sandbox instance.<\/p>\n<p>To that end, here&#8217;s a <a href=\"http:\/\/lorls.lboro.ac.uk\/lorls-in-a-box\/LORLS-In-A-Box.ova\" target=\"_blank\" rel=\"noopener noreferrer\">first cut of a LORLS in a box VM image<\/a>. This is an OVA virtual machine image (both the VM and the disc image).\u00a0 Be warned that its quite large (over 900MB!) as it has a full operating system disc image included &#8211; you might want to have a cup of tea and biscuit handy whilst it downloads. The image was built using the\u00a0<a href=\"https:\/\/www.virtualbox.org\/\" target=\"_blank\" rel=\"noopener noreferrer\">Virtual Box OSE<\/a>\u00a0VM platform and is based on a\u00a0<a href=\"http:\/\/www.centos.org\/\" target=\"_blank\" rel=\"noopener noreferrer\">CentOS 6 Linux<\/a>\u00a0base, and it should be able to be imported into other VM infrastructures such as <a href=\"http:\/\/www.vmware.com\/uk\/\" target=\"_blank\" rel=\"noopener noreferrer\">VMware<\/a>.<\/p>\n<p>Once you&#8217;ve imported the LORLs-in-a-box VM into your VM infrastructure and started it up, you&#8217;ll eventually be presented with a login on the console.\u00a0 Your VM system may complain about not having a matching ethernet controller the first time you run the VM image &#8211; you can ignore this error as the LORLS VM image should work round it when it boots up.\u00a0 Once booted, the console should also show you the IP address that the VM has picked up and the URL that you can use to get to the CLUMP web front end. \u00a0By default the networking in the VM is using a bridged interface that picks up an IPv4 address via DHCP. \u00a0This is fine for testing and development, though if you&#8217;re using this image as the basis of a production system you&#8217;ll probably want to nip in and change this to a static IP address.<\/p>\n<p>To login to the system there&#8217;s a &#8220;lorls&#8221; user with the password &#8220;lorls4you&#8221; (both without the quotes). \u00a0This user can then act as the superuser by using sudo. \u00a0The MySQL server on the machine has a root user password of &#8220;LUMPyStuff!&#8221; (again quoteless) should you wish to go in and tinker with the database directly. \u00a0You probably want to change all these passwords (and Linux root password) as soon as you can as everyone now knows them! \u00a0You&#8217;ll also most probably want to edit \/usr\/local\/LUMP\/LUMP.pm file to point at your own site&#8217;s Z39.50 server, etc.\u00a0 There are a couple of demo LORLS web users hard coded into this demo system &#8211; user aker (password &#8220;demic&#8221;) is an academic that owns a reading list, and user &#8220;libby&#8221; (password &#8220;rarian&#8221;) is a library staff user.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We&#8217;ve been thinking recently about how to make it easier for people to try out the LORLS code. This includes ourselves &#8211; we sometimes want to spin up a new instance of LORLS for testing some feature or helping another site debug their installation. Normally that would mean doing an operating system, Perl module and [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":"","_links_to":"","_links_to_target":""},"categories":[3],"tags":[38,53,84,90],"class_list":["post-1755","post","type-post","status-publish","format-standard","hentry","category-lorls","tag-installation","tag-lorls-in-a-box","tag-testing","tag-virtual-machine","count-0","even alt","author-cojpk","last"],"_links":{"self":[{"href":"https:\/\/blog.lboro.ac.uk\/lorls\/wp-json\/wp\/v2\/posts\/1755","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.lboro.ac.uk\/lorls\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.lboro.ac.uk\/lorls\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.lboro.ac.uk\/lorls\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.lboro.ac.uk\/lorls\/wp-json\/wp\/v2\/comments?post=1755"}],"version-history":[{"count":2,"href":"https:\/\/blog.lboro.ac.uk\/lorls\/wp-json\/wp\/v2\/posts\/1755\/revisions"}],"predecessor-version":[{"id":1957,"href":"https:\/\/blog.lboro.ac.uk\/lorls\/wp-json\/wp\/v2\/posts\/1755\/revisions\/1957"}],"wp:attachment":[{"href":"https:\/\/blog.lboro.ac.uk\/lorls\/wp-json\/wp\/v2\/media?parent=1755"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.lboro.ac.uk\/lorls\/wp-json\/wp\/v2\/categories?post=1755"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.lboro.ac.uk\/lorls\/wp-json\/wp\/v2\/tags?post=1755"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}