WebFund 2013F: Tutorial 1: Difference between revisions

From Soma-notes
No edit summary
Line 1: Line 1:
For this class you will be using a [http://www.lubuntu.net/ Lubuntu] virtual machine appliance.  We will be using [https://www.virtualbox.org/ VirtualBox] as our preferred virtualization platform; however, VMware Workstation/Fusion and other virtualization platforms should be able to run the appliance as well.  In this first tutorial you will be becoming familiar with [http://nodejs.org/ node.js]-based development environment provided by this appliance.


==Running the VM==
==Running the VM==
In the SCS labs you should be able to run the VM by starting Virtualbox (listed in the Applications menu) and selecting the COMP 2406 or Lubuntu virtual machines.  After the VM has fully booted up you can login to the student account using the password "tneduts!".  This account has administrative privileges; in addition, there is the admin account in case your student account gets corrupted for any reason.  The password for it is "nimda!".
If you want to run the appliance on your own system (running essentially any desktop operating system you want), just download the [http://homeostasis.scs.carleton.ca/~soma/webfund-2013f/Lubuntu.ova Lubuntu.ova] [http://people.scs.carleton.ca/~soma/webfund-2013f/Lubuntu.ova (alternate source)] virtual appliance file and import.  If the application is not VirtualBox, you'll need to:
* Have the VM platform ignore any errors in the structure of the appliance;
* Uninstall the VirtualBox guest additions by typing starting a terminal application and running <tt>sudo /opt/VBoxGuestAdditions-4.2.16/uninstall.sh</tt>
* Install your platform's own Linux guest additions, if available.
Note as we will explain, you will have the ability to easily save the work you do from any VM to your SCS account and restore it to any other copy of the class VM.  Thus feel free to play around with VMs; if you break anything, you can always revert.  Remember though that in the labs you '''must''' save and restore your work; the any changes you make to them during your session are otherwise deleted upon logout!


==Hello, World!==
==Hello, World!==

Revision as of 11:45, 6 September 2013

For this class you will be using a Lubuntu virtual machine appliance. We will be using VirtualBox as our preferred virtualization platform; however, VMware Workstation/Fusion and other virtualization platforms should be able to run the appliance as well. In this first tutorial you will be becoming familiar with node.js-based development environment provided by this appliance.

Running the VM

In the SCS labs you should be able to run the VM by starting Virtualbox (listed in the Applications menu) and selecting the COMP 2406 or Lubuntu virtual machines. After the VM has fully booted up you can login to the student account using the password "tneduts!". This account has administrative privileges; in addition, there is the admin account in case your student account gets corrupted for any reason. The password for it is "nimda!".

If you want to run the appliance on your own system (running essentially any desktop operating system you want), just download the Lubuntu.ova (alternate source) virtual appliance file and import. If the application is not VirtualBox, you'll need to:

  • Have the VM platform ignore any errors in the structure of the appliance;
  • Uninstall the VirtualBox guest additions by typing starting a terminal application and running sudo /opt/VBoxGuestAdditions-4.2.16/uninstall.sh
  • Install your platform's own Linux guest additions, if available.

Note as we will explain, you will have the ability to easily save the work you do from any VM to your SCS account and restore it to any other copy of the class VM. Thus feel free to play around with VMs; if you break anything, you can always revert. Remember though that in the labs you must save and restore your work; the any changes you make to them during your session are otherwise deleted upon logout!

Hello, World!

Your First Web App

Simple Changes

Saving your work