Changes between Version 27 and Version 28 of InstallationGuidelines/VirtualMachine


Ignore:
Timestamp:
11/11/11 10:04:39 (13 years ago)
Author:
Pat Tressel
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • InstallationGuidelines/VirtualMachine

    v27 v28  
    6464 * Under that, for "Name", select the appropriate network interface, e.g. wireless if that's what you're using. (Keep this setting in mind -- you may need to change it if you sometimes use a wired network, and sometimes wireless.)
    6565
    66 == Install the "guest additions" ==
    67 
    68 The "guest additions" kit makes sharing the mouse and keyboard between host and guest more natural, and allows a larger screen size for the guest.
    69 
    70  * On the VM window menu: Devices -> Install Guest Additions... (This inserts a virtual CD-ROM with the guest additions installer in the virtual drive.)
    71  * Inside the VM window, start a terminal (double-click the LXTerminal icon). The following commands use "sudo" to execute privileged commands. The first use will ask you to enter your password -- that's the ''dev'' account password. Type:[[br]]
    72    {{{sudo mkdir /mnt/cdrom
    73 sudo mount -t iso9660 -r /dev/cdrom /mnt/cdrom
    74 cd /mnt/cdrom
    75 sudo ./VBoxLinuxAdditions.run}}}
    76 
    7766== Configure the guest system ==
    7867
     
    9180and use the GUI to log in as user ''dev''.
    9281
     82=== Updating Web2py, Eden, and the operating system ===
    9383
    94 === Updating Web2py, Eden, and the operating system ===
    95 /usr/local/bin contains three helpful scripts. To run them, start a terminal window and enter the commands below. They are in the path, so may be executed from any working directory.
     84'''''GHC Codeathon participants, take note! You don't need to update anything -- skip this.'''''
     85
     86The Eden code is updated (much) more frequently than is the VM image, so the Eden branch supplied in the image will be out of date.  So, too, will be Web2py and the Linux distribution, but those will typically not need frequent updating. We recommend only updating Eden unless you know that new versions of the others are needed.
    9687
    9788==== Update web2py ====
     
    9990To update Web2py to the latest revision:
    10091{{{
    101 update_web2py
     92cd /home/web2py
     93bzr update
    10294}}}
    10395To update to a specific revision, do the following with nnnn replaced by the revision you want.
    10496{{{
    105 update_web2py nnnn
     97cd /home/web2py
     98bzr update -r nnnn
    10699}}}
    107100
     
    109102You will almost certainly want the latest revision of Eden.
    110103{{{
    111 update_eden # updates Eden to current revision
     104cd /home/web2py/applications/eden
     105bzr pull
    112106}}}
    113107If, for some reason, you need a specific revision, do the following with nnnn replaced by the revision you want:
    114108{{{
    115 update_eden nnnn # updates Eden to revision nnnn
     109cd /home/web2py/applications/eden
     110bzr pull -r nnn
    116111}}}
    117112
     
    123118sudo apt-get upgrade
    124119}}}
    125 
    126 === Web2Py shell ===
    127 One can get a Python command line with the Web2py and Eden environments loaded with this script (apologies for the odd name):
    128 {{{
    129 import_eden
    130 }}}
    131 This executes the {{{python web2py.py ...}}} command shown previously.
    132120
    133121=== Eclipse ===
     
    147135=== Tools ===
    148136
    149 Several useful tools installed:
     137Several useful tools have been installed:
    150138 * Bazaar (bzr) -- revision control system used on Launchpad, where Sahana eden sources are hosted.
    151139 * Firefox with Firebug for examining what is sent to the browser, and viewing HTTP messages sent to and from the browser.
    152140 * Eclipse with PyDev for editing and debugging Python code.
    153141 * Scripts for updating the Eden code and other tools.
    154  * iPython -- a fancier Python command line than the standard.
     142 * iPython -- a fancier Python command line than the standard. (Note not everyone prefers this.)
    155143 * irssi
    156144
    157145== Notes on using Linux (mainly for non-Linux users) ==
    158 
    159146
    160147=== File locations ===
     
    177164}}}
    178165
    179 
    180 
    181166-----
    182167