{"id":1909,"date":"2018-06-22T15:49:12","date_gmt":"2018-06-22T15:49:12","guid":{"rendered":"https:\/\/copyright.lboro.ac.uk\/lorls\/?p=1909"},"modified":"2018-08-06T12:19:23","modified_gmt":"2018-08-06T12:19:23","slug":"a-newcomers-guide-to-installing-lorls-in-a-box","status":"publish","type":"post","link":"https:\/\/blog.lboro.ac.uk\/lorls\/lorls\/a-newcomers-guide-to-installing-lorls-in-a-box","title":{"rendered":"A Newcomer\u2019s guide to installing &#8220;LORLS In A Box&#8221;"},"content":{"rendered":"<p>As has been mentioned in this blog before, back in the days when the MALS team was still the Library Systems team, they developed the Loughborough Online Reading List System (LORLS) to manage the resources for directed student reading.<\/p>\n<p>A recent rebranding of the University&#8217;s Library online presence means we now have a requirement to change the styling of our local installation of LORLS. I am still relatively new to the team and as yet have not had cause to look at the front end of LORLS, known affectionately as CLUMP, and this seemed like an ideal introduction for me.<\/p>\n<p>So where better to start than with the <a href=\"https:\/\/blog.lboro.ac.uk\/lorls\/documentation\/\">documentation<\/a> the team already put together. My first port of call is the installation instructions where I discover that some thoughtful techie has already built me a <a href=\"https:\/\/blog.lboro.ac.uk\/lorls\/lorls\/a-lorls-virtual-machine-image\">VM to play with<\/a>. Reading through the guide to the VM you can tell the techie in question was <a href=\"https:\/\/blog.lboro.ac.uk\/lorls\/author\/cojpk\">Jon<\/a>, the passwords used are a good clue but the giveaway is the advice to make a cup of tea and eat a biscuit whilst waiting for the download.<\/p>\n<p>The download and subsequent import into <a href=\"https:\/\/www.virtualbox.org\/\">Virtual Box<\/a> seem to happen with a minimum of fuss but here is where I make my first rookie mistake as I choose to reinitialise the MAC address of all network interfaces.<\/p>\n<p>CentOS maintains a mapping of MAC address to interface IDs and so it spots that the VM no longer has the MAC address it associated with <code>eth0<\/code> but does have an entirely new MAC address which it associates with <code>eth1<\/code>. The configuration of the VMs NIC is tied to eth0 and so I don\u2019t have a working network connection.<\/p>\n<p>This is quick and easy to fix. First I head to <code>\/etc\/sysconfig\/network-scripts<\/code> where I rename the file <code>ifcfg-eth0<\/code> to <code>ifcfg-eth1<\/code> (this is not essential but helps with sanity). I then edit this file and change the <code>DEVICE<\/code> value to be <code>eth1<\/code> and update the <code>HWADDR<\/code> value to be the new MAC address which can be found using <code>ifconfig -a<\/code>. Restart the network service and all is well.<\/p>\n<p>Of course if you don\u2019t reinitialise the MAC address when importing the VM then you shouldn\u2019t see this issue and it should just work straight away.<\/p>\n<p>When starting the VM, as described in Jon\u2019s instructions, displayed above the login prompt I am shown the IP address assigned to the VM by DHCP and the URL for my LORLS instance. Plugging these into my browser takes me to a vanilla installation of LORLS running on my VM. One note here, be sure to type <code>CLUMP<\/code> and not <code>clump<\/code> it is case sensitive.<\/p>\n<p>So all pretty straightforward to get up and running, in fact I am pleased I made the mistake with the MAC address as there would have been little of note to write about otherwise. Now onto setup and customisation but I may save that for another \u201cNewcomer\u2019s guide to LORLS\u201d blog post in the future.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>As has been mentioned in this blog before, back in the days when the MALS team was still the Library Systems team, they developed the Loughborough Online Reading List System (LORLS) to manage the resources for directed student reading. A recent rebranding of the University&#8217;s Library online presence means we now have a requirement to [&hellip;]<\/p>\n","protected":false},"author":372,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":"","_links_to":"","_links_to_target":""},"categories":[9,3],"tags":[53,84],"class_list":["post-1909","post","type-post","status-publish","format-standard","hentry","category-clump","category-lorls","tag-lorls-in-a-box","tag-testing","count-0","even alt","author-itdjtlboro-ac-uk","last"],"_links":{"self":[{"href":"https:\/\/blog.lboro.ac.uk\/lorls\/wp-json\/wp\/v2\/posts\/1909","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\/372"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.lboro.ac.uk\/lorls\/wp-json\/wp\/v2\/comments?post=1909"}],"version-history":[{"count":7,"href":"https:\/\/blog.lboro.ac.uk\/lorls\/wp-json\/wp\/v2\/posts\/1909\/revisions"}],"predecessor-version":[{"id":1920,"href":"https:\/\/blog.lboro.ac.uk\/lorls\/wp-json\/wp\/v2\/posts\/1909\/revisions\/1920"}],"wp:attachment":[{"href":"https:\/\/blog.lboro.ac.uk\/lorls\/wp-json\/wp\/v2\/media?parent=1909"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.lboro.ac.uk\/lorls\/wp-json\/wp\/v2\/categories?post=1909"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.lboro.ac.uk\/lorls\/wp-json\/wp\/v2\/tags?post=1909"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}