Tag Archives: virtual machine

Unit 6 – DSpace Install notes and comments

I was able to install and configure DSpace with no problems;  we followed these steps:

We set up a new virtual machine, and built, not a LAMP stack, but a LTPJ stack: Linux-Tomcat-PostgreSQL-Java. Once those programs were installed, we needed to create all the structure for DSpace: we used sudo to create linux directories and users for DSpace, set their permissions, and then set up a related user and space in PostgreSQL. Then we set up a DSpace database and directories in Tomcat.

Once those structures were ready, then we downloaded the DSpace source code and set up a configuration file, then used maven to actually “build” the installation according to the configuration we specified. I’m guessing that means maven compiled all the code using the modules and settings we specified in the configuration files. The we used ant to do a “fresh install” – I guess it installed the compiled binary code that maven created.

The we had to create a DSpace administrator/user  at the linux command line and edit some configuration files to give that user privileges; then we rebooted the system and were then able to access DSpace from the browser and set up our collection.

—-

The alternate instructions Bruce suggests at

https://wiki.duraspace.org/display/DSPACE/Installing+DSpace+1.7+on+Ubuntu

or

http://wiki.lib.sun.ac.za/index.php/SUNScholar/Dspace

look like they would be followable; although the comments on those instructions show there is some room for error in interpretation.  The details of the steps are different than what Bruce gave us, but they seem to follow the same general outline. I’m not sure I could follow them without technical support. Bruce’s step-by-step commands are probably best if you are going to try to do this without support; but the screenshots in the second link are probably helpful; and I like the clear delineation of steps in the first link.

Advertisements

Leave a comment

Filed under dSPace, Operating systems, SIRLS 675

Unit 6 – Learning HTML and practice system update

Discuss briefly how you went about learning HTML and which resources you used. Comment briefly on how helpful they were (or not), and indicate any intermediate or advanced modules or sections you reviewed. Provide a brief status report on installation of your practice system, if you have elected to try to bring one up.

LEARNING HTML: I used the recommended tutorial http://www.w3schools.com/html/default.asp
I had previous exposure to HTML, but it was long ago, so I did all of the HTML basic sections. I found the tutorial very useful. I especially like how it allows you to test the HTML you are writing and see the result immediately in a split screen. I intend to go on and do the more advanced sections. I see that this site also has a CSS tutorial. So I guess that’s next!

PRACTICE SYSTEM: I elected to install another virtual machine on my computer rather than to use another physical machine. I followed the standard install instructions, and everything worked as described. I was then successful in assigning static IP addresses to each of my two VMs, and ping each of them as well as access the Apache web server on each of them. I also tried to access webmin, and could not for the new VM, so I had to go back to the Unit 4 instructions and install webmin on the new VM. That worked fine, and then everything tested OK. I then edited the HOSTS file, and now each VM has a name in the file. I was able to access each VM by using the host name in the browser address bar.

Leave a comment

Filed under LAMP architecture, Operating systems, SIRLS 672, Ubuntu Linux

Unit 2 – continued. Installation of Ubuntu through VM Fusion

Okay, thanks to Bruce I think I have the difference between the two virtual machines sorted out. The one we run through VPN Client is an Ubuntu Desktop virtual machine installed on the SIRLS Sandbox Server that we access through a remote desktop.  Because it is a desktop version of Ubuntu (i.e. a GUI-like interface) we have to find the terminal window to use the command line.

The Ubuntu Virtual Machine we have installed on our own computers is run through VM Fusion (for a Mac).  This is a server version of Ubuntu, so it just runs from a CLI, not a desktop GUI like the virtual machine on the Sandbox server.

My installation of the Ubuntu 10.04 server on my machine went fine, after a few snafus. I was able to access VMware Fusion just fine and it ran just fine. Fortunately, I had followed Bruce’s advice to watch the installation videos in their entirety before I tried the installation, because when I tried to run the videos in another window so I could follow them step by step, it worked until I had to press the start button. At first it seemed as if it wasn’t doing anything; I pressed the start/pause toggle repeatedly, but didn’t get the screen with the big play button on it like in the video. I tried to click in the window, but it wouldn’t let me. I finally went to the menu at the top of the screen and decided to change the view to full-screen. Once I did that, I got the window with the big play button—but then I couldn’t see the videos anymore, nor the menu! And I couldn’t escape from the full-screen view, although I tried the escape key and other alternatives (although I didn’t try ctrl-C or ctrl-Z because I didn’t want to abort the install). So I just went on with the installation, and I remembered most of the steps in the videos.  There were a couple of spots where I did not remember what options the videos said to choose, so I chose the default in those cases. I did install the LAMP server, the SSH server, and I also installed the database server, because I used to work as a database specialist and I wanted to play with that.  The install seemed to complete correctly, and I eventually got the command line!  Later, after I exited the system, I noticed the VMware icon in my taskbar and clicked on it, and behold the play window came up! I wonder if it had been there all along? The whole process took about two hours.

I know this description sounds vague, but I didn’t think to take a screen shot of the problem I was having. And once I got stuck in full-screen mode, I wouldn’t have been able to anyway!

Leave a comment

Filed under SIRLS 672, Ubuntu Linux