Showing posts with label Unit 3. Show all posts
Showing posts with label Unit 3. Show all posts

Tuesday, June 9, 2009

Playing catch-up

Nothing like three days being sick and a weekend out-of-town without (unexpectedly) Internet access to put one way behind...

I have had no luck at all, despite several reinstalls of the VM server, at reaching the VIM tutor. However, I managed all the Nano edits with no problems (other than typos). Following the last re-install, the sudo aptitude install vim-runtime appeared to execute successfully, but not the sudo aptitude install vim-full. I am anxious to know if the other student, having the exact problem as I, has had any further success.

The question was posed, "why don't you need the sudo command [to reconfigure the .bashrc file]?" The .bashrc file is located in my home directory, so I have permission to edit the file. No one else can edit the file without employing the sudo command, however -- unless the permissions are changed (I think).

It has been so long since I have edited files with MS-DOS, I really do not have any memory of exactly how it compares to Nano. I do recall writing and editing .bat or batch files, for results much like the alias command used in Assignment 2 of Unit 3 -- i.e., using one command to reach another.

Using batch files, I was able to create a text menu in DOS that presented upon boot-up, and the batch files corresponded to numbers on the menu. Selecting a number ran the batch file, which generally executed the steps necessary to begin a process or program. Somewhere, I actually still have that stuff on a floppy!

As noted in the lecture, I've used Notepad extensively within Windows to edit (or peruse) source files for internet documents, either my own or those of others.

I feel a bit like a wallflower. Invited to the party, but Vim Tutor won't dance with me.

Sunday, May 31, 2009

VM Installs

I was reminded Thurday night how much slower my old little (as in tech specs) Averatec laptop is than my new little (as in overall size) Asus EeePC netbook. It took about two hours for the VM install of the Ubuntu desktop on the Averatec (working from the ISO file on the hard drive). Friday morning (working from the ISO file on a flash drive), in 35 minutes I was logging in to my VM Ubuntu desktop and accessing a terminal window.

There is, of course, a great difference in hard drive space between the two laptops (40Gb vs. 160Gb), as well as RAM (1Gb vs. 2Gb), though little in processor speed (1.53GHz Mobile AMD Athlon vs. 1.6GHz Intel Atom). So, I have to wonder how much “thrashing” was going on the night of the Averatec install.

My next query was, with the installation of Ubuntu as a VM taking even 35 minutes -- that’s a lot of "evening" time to someone who works full-time and spends nearly 2 hours commuting each day -- can one leave the VM running? And if so, for how long? The answer is that is installations can be suspended or powered off, waiting to be rebooted as required. In just a few minutes, the Ubuntu desktop or server is ready to go.