Changes between Version 28 and Version 29 of InstallationGuidelines/VirtualMachine


Ignore:
Timestamp:
11/11/11 10:30:25 (10 years ago)
Author:
Pat Tressel
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • InstallationGuidelines/VirtualMachine

    v28 v29  
    3737On the left side of the !VirtualBox Manager GUI, you should see your new "Eden Dev Env" virtual machine.
    3838
    39  * Click the virtual machine entry to select it.
    40  * Click Start (on the !VirtualBox Manager menu bar).
    41  * You may get several popups telling you that the VM is going to "capture" your mouse and keyboard, and the "host key" to press to free them up. Remember which one it is. (This is only needed temporarily -- mouse sharing issues get fixed later.) Click Ok to the popups.
    42  * You'll see a box asking you to enter a new "root" password. Click the mouse on the virtual machine window to give it focus. That will get you another popup telling you to let the VM "capture" your mouse. Click Ok. Your mouse pointer will disappear.
    43  * Type a new root password. Type Enter.
    44  * Retype your password. Type Enter.
    45  * On the TKLBAM box, just type Enter.
    46  * Next you'll get a box that asks you to install security updates. Updates can cause problems, so we don't want to do this now. Type Tab to highlight "Skip", then type Enter. [Note there is apparently a bug in the virtual machine at this point -- it does not skip the updates. At the moment, it takes rather a long while to complete the unwanted updates -- we're putting together an image that will not need (so many) updates.]
    47  * After the updates, you'll get a login prompt. Type "root" and Enter. For the password, type your new root password.
    48  * Next change the ''dev'' password. Type:[[br]]
    49    {{{passwd dev}}}[[br]]
    50    Enter a new password.
    51  * Reboot by typing {{{reboot}}} and then Enter.
     39 * Double-click the virtual machine entry to start it.
     40 * The Login screen should appear. User is ''dev'' and password is ''EastOfEden''.
     41 * After you're logged in, the Eclipse IDE will start -- ignore it for the moment.
    5242
    53 Reboot will take a little while. When it's done, the VM should start its GUI.
     43== Change your password. ==
    5444
    55  * This time, log in as ''dev'' with your new ''dev'' password.
     45 * Start a terminal window by double-clicking the LXTerminal icon.
     46 * To change your password, type {{{passwd}}} and follow the instructions.
    5647
    5748== Connect to the network ==
    5849
    59 Next tell the VM about your machine's network interface, so the guest can get to the network. There are two options for having the host and guest share the physical interface, NAT or bridged. NAT is less obtrusive but bridged provides more capability to the guest. See this discussion of the '''[http://www.virtualbox.org/manual/ch06.html differences between NAT and bridged modes]'''. This shows bridged setup (because everyone who we know who is using VirtualBox is using bridged networking...):
     50Next tell the VM about your machine's network interface, so the guest can get to the network.
    6051
    6152 * Scroll down on the right side of !VirtualBox Manager until you see Network -- click that.
     
    6455 * 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.)
    6556
    66 == Configure the guest system ==
    67 
    68 === Security and accounts ===
    69 The ''root'' password is set through a dialog box on first boot.
    70 
    71 The development environment is owned by the ''dev'' account. When first boot is complete, change its password too: Start a terminal window (from the accessories menu), and enter the command:
    72 {{{
    73 passwd dev
    74 }}}
    75 
    76 Then reboot:
    77 {{{
    78 reboot
    79 }}}
    80 and use the GUI to log in as user ''dev''.
     57== After logging in... ==
    8158
    8259=== Updating Web2py, Eden, and the operating system ===
     
    125102-----
    126103
    127 == What's in the image, and where did we hide the files? ==
     104== Notes on the configuration ==
    128105
    129106=== Which Linux is this? ===
     
    131108The virtual machine image is based on a [BluePrintlivecdinstaller blueprint] and is configured to use about 512MB of RAM. The virtual disk is configured to expand to 20GB. The virtual machine is built on [http://www.turnkeylinux.org/core TurnKey Linux's Core], which in turn is based on Ubuntu 10.04 (Lucid -- the most recent long-term support release). The machine runs [http://code.google.com/p/shellinabox/ Shellinabox], [http://www.webmin.com/ Webmin], and SSH/sftp as services from startup.
    132109
    133 The development environment is configured to launch [http://lxde.org LXDE], a lightweight desktop environment after the first boot.
     110The development environment uses [http://lxde.org LXDE], a lightweight desktop environment.
     111
     112=== Bridged networking vs. NAT ===
     113
     114There are two options for having the host and guest share the physical interface, NAT or bridged. NAT is less obtrusive but bridged provides more capability to the guest. See this discussion of the '''[http://www.virtualbox.org/manual/ch06.html differences between NAT and bridged modes]'''. The installation procedure shows bridged setup (because everyone who we know who is using VirtualBox is using bridged networking...).
    134115
    135116=== Tools ===