]> git.donarmstrong.com Git - neurodebian.git/blobdiff - sphinx/vm.rst
Merge branch 'master' into newdesign
[neurodebian.git] / sphinx / vm.rst
index 8beca2749d434cf0c7c6f93bd23d75eded942cf7..7a34c0e197a99738102e140f6976bd3735637890 100644 (file)
@@ -3,16 +3,17 @@
 NeuroDebian Virtual Machine
 ===========================
 
+`Installation`_ | `Working with the virtual machine`_ | `Troubleshooting`_ |
+`What has changed`_
+
 .. quotes::
    :random: 1
    :tags: vm
 
-For those who are not yet running a Debian-based operation system we offer a
-`virtual machine`_ that can be used with `VirtualBox`_, allowing users to benefit
-from a Debian-based research environment on other operating systems.
-This virtual machine initially comes as a compact Debian installation that can,
-once installed, be equipped with a large variety of neuroscience software with
-just a few mouse clicks (e.g. AFNI_, Caret_, FSL_, PyMVPA_).
+For all systems running a non-Debian-based operation system, such as MS Windows
+or Mac OS X, we offer a `virtual machine`_ that can be equipped with a large
+variety of neuroscience software with just a few mouse clicks (e.g. AFNI_,
+FSL_, PyMVPA_).
 
 .. _virtual machine: http://en.wikipedia.org/wiki/Virtual_machine
 .. _AFNI: http://afni.nimh.nih.gov/afni/
@@ -20,107 +21,24 @@ just a few mouse clicks (e.g. AFNI_, Caret_, FSL_, PyMVPA_).
 .. _FSL: http://www.fmrib.ox.ac.uk/fsl/
 .. _PyMVPA: http://www.pymvpa.org
 
-
-Downloads
----------
-
-* `NeuroDebian 6.0.6 image (32bit)
-  <http://neuro.debian.net/debian/vm/NeuroDebian_6.0.6_i386.ova>`_ [~559MB]
-
-  *This image should work on virtually all systems that are supported by*
-  VirtualBox_ *and can be used whenever the, otherwise preferable, 64bit image
-  is not compatible with a host machine.*
-
-* `NeuroDebian 6.0.6 image (64bit)
-  <http://neuro.debian.net/debian/vm/NeuroDebian_6.0.6_amd64.ova>`_ [~576MB]
-
-  *This image only works on 64bit host machines with active hardware
-  virtualization support. The should include all recent Apple hardware and most
-  64bit Windows systems.*
-
-Virtual appliances above carry guest additions for 4.x series of the
-VirtualBox. If you still have VirtualBox 3.x, use previous 6.0.2
-virtual appliances:
-
-* `NeuroDebian 6.0.2 image (32bit)
-  <http://neuro.debian.net/debian/vm/neurodebian_6.0.2_i386.zip>`_ [~545MB]
-
-* `NeuroDebian 6.0.2 image (64bit)
-  <http://neuro.debian.net/debian/vm/neurodebian_6.0.2_amd64.zip>`_ [~560MB]
-
-.. note::
-
-  This older virtual appliances are distributed as a `zip` file. Please
-  extract all files from the `.zip` file, using appropriate software
-  for your operating system.
-
-.. note::
-
-  You can verify that you have downloaded archives correctly using
-  `md5sums -c MD5SUMS
-  <http://neuro.debian.net/debian/vm/MD5SUMS>`_ . You can also verify
-  the authenticity of the `MD5SUMS
-  <http://neuro.debian.net/debian/vm/MD5SUMS>`_ itself using `gpg
-  --verify MD5SUMS.gpg
-  <http://neuro.debian.net/debian/vm/MD5SUMS.gpg>`_ signed with
-  NeuroDebian archive key.
-
-* `VirtualBox download page <http://www.virtualbox.org/wiki/Downloads>`_ (Windows, Linux, Mac,
-  Solaris)
-
-  *This webpage offers installers of the VirtualBox application, as well as the
-  documentation.*
-
-Changes
--------
-
-6.0.6 -- 01 Oct 2012
-
-      * Updated core system to Debian squeeze 6.0.6
-
-6.0.5 -- 10 Nov 2011
-
-      * Updated core system to Debian squeeze 6.0.3
-      * Updated shipped virtualbox-ose guest-utils and guest-x11 to 4.0.10
-
-        - ``~/host`` is now symlinked to correct path ``/media/sf_host``
-        - ``brain`` user is added to ``vboxsf`` group so mounted host
-          directories should become readily available
-
-      * Root partition size and swap space got doubled in size (40GB
-        and 2GB correspondingly).  Space is allocated dynamically so
-        the actual size of the virtual drive should not grow unless
-        you use it
-
-6.0.4 -- 13 Jun 2011
-
-      * Updated shipped virtualbox-ose guest-utils and guest-x11 to 4.0.4
-
-6.0.3 -- 12 Jun 2011 [Superseded in the archive by 6.0.4]
-
-      * Updated to Debian squeeze 6.0.1
-      * Updated VirtualBox guest additions to 4.0.4 from backports.debian.org
-      * Appliance is available as a single file (.ova) ready for the import
-
-6.0.2 -- 08 Feb 2011
-
-6.0.1 -- 01 Dec 2010
-
-Documentation
--------------
-
 The virtual machine contains an installation of `Debian 6.0 (squeeze)`_ with a
 GNOME_ desktop environment. All installed software comes from standard Debian
-packages, or prospective Debian packages from NeuroDebian. This means that all
-contained software is readily available for any system running a Debian
-operating system (or a recent Ubuntu release). The virtual machine can be seen
-as a showcase of what Debian for neuroscience research feels like. Moreover,
-once downloaded this virtual machine can be kept up to date, just as any other
+packages, or prospective Debian packages from NeuroDebian. The virtual machine
+can be seen as a showcase of what Debian for neuroscience research feels like.
+Once downloaded this virtual machine can be kept up to date, just as any other
 Debian installation. Using convenient graphical package management tools users
 will benefit from security bug fixes provided by the Debian project for the
 whole operating system, as well as from software updates for
 neuroscience-related packages.
 
+Even on Debian-based systems this virtual machine is an excellent way to
+maintain an analysis environment that remains identical throughout the lifetime
+of a study and that can be archived alongside acquired data and publications.
+This is a much more practical way than freezing the entire software stack of a
+whole workstation, where it quickly becomes troublesome to combine the desire
+for latest research methodology for new studies and the need for stability for
+ongoing projects.
+
 .. _Debian 6.0 (squeeze): http://www.debian.org/releases/squeeze
 .. _GNOME: http://www.gnome.org/
 
@@ -128,31 +46,25 @@ neuroscience-related packages.
 Installation
 ~~~~~~~~~~~~
 
-The following video shows how to get the NeuroDebian virtual machine running
-on your machine. The installation is shown for Mac OS X. It should, however, be
-very similar on a Windows box. If you cannot watch the video, please take a
-look at the written instructions below.
-
-.. raw:: html
-
-  <iframe title="YouTube video player"
-          class="youtube-player"
-          type="text/html"
-          width="640"
-          height="375"
-          src="http://www.youtube.com/embed/eqfjKV5XaTE?hd=1"
-          frameborder="0"></iframe>
+The following instructions demonstrate how to install the NeuroDebian virtual
+machine -- here shown exemplary for Mac OS X, but the procedure is virtually
+identical on a Windows box. There is also a video tutorial at coffee break
+length. `[Virtual machine setup video tutorial]
+<http://www.youtube.com/watch?v=eqfjKV5XaTE>`_.
 
-First download and install a recent version of VirtualBox_. VirtualBox is a
-virtualization software that is freely available for Windows, MacOS X, Solaris,
-and Linux. VirtualBox comes with a comprehensive manual that should answer
-potential questions regarding installation and maintenance.
+If you don't have t already, first download and install a recent version of
+VirtualBox_. VirtualBox is a virtualization software that is freely available
+for Windows, MacOS X, Solaris, and Linux. VirtualBox comes with a comprehensive
+manual that should answer potential questions regarding installation and
+maintenance.
 
 .. _VirtualBox: http://www.virtualbox.org
 
-Next, download the most recent version of the NeuroDebian virtual machine from
-the Downloads_ section.  Start VirtualBox and select "Import Appliance" from the file
-menu.
+Obtain the most recent version of the NeuroDebian virtual machine by visiting
+http://neuro.debian.net and selecting your operating system and a download
+server on the frontpage.
+
+Start VirtualBox and select "Import Appliance" from the file menu.
 
 .. image:: pics/vm_import_app.jpg
 
@@ -203,10 +115,15 @@ connection you can update the contained software packages at any time.
 
 .. image:: pics/vm_settings.jpg
 
-The virtual machine logs yourself in automatically. The name of the virtual
-machine user is `brain` and the password is `neurodebian`. The *root* password
-is also `neurodebian`. In most cases, however, you should not be forced to type
-the password, since `sudo` is configured to work without it.
+The virtual machine logs yourself in automatically. This is the default account:
+
+:user: brain
+:password: neurodebian
+
+:root password: neurodebian
+
+In most cases you should not be forced to type the password, because ``sudo``
+is configured to work without it.
 
 .. note::
 
@@ -217,20 +134,13 @@ the password, since `sudo` is configured to work without it.
 Working with the virtual machine
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
-The next video is a demonstration of some basic desktop integration features.
-It shows how to use the virtual machine in full-screen and seamless mode, shared
-folder access, software installation, as well as suspending and resuming the
-virtual machine.
-
-.. raw:: html
-
-  <iframe title="YouTube video player"
-          class="youtube-player"
-          type="text/html"
-          width="640"
-          height="375"
-          src="http://www.youtube.com/embed/OV7fYSEoOeQ?hd=1"
-          frameborder="0"></iframe>
+The NeuroDebian virtual machine has very low maintenance demands. We have
+prepared a short video demo that shows most typical procedures that you will
+probably perform while working with NeuroDebian inside a virtual machine:
+use the virtual machine in full-screen and seamless mode, shared folder access,
+software installation, as well as suspending and resuming the
+virtual machine. `[Virtual machine handling video tutorial]
+<http://www.youtube.com/watch?v=OV7fYSEoOeQ>`_
 
 
 .. _chap_vm_troubleshooting:
@@ -238,8 +148,11 @@ virtual machine.
 Troubleshooting
 ~~~~~~~~~~~~~~~
 
-Updating the VM or installing new packages doesn't work.
+.. raw:: html
+
+  <div class="expandinstructions">Click on an item to expand it</div>
 
+Updating the VM or installing new packages doesn't work
   The VM uses as service that tries to figure out the best/closest package
   repository for you. In some network environments this service might not work
   well, or not at all. To check if this is a problem, you can modify the
@@ -260,8 +173,18 @@ Updating the VM or installing new packages doesn't work.
   Only modify lines that refer to ``geomirror`` (all of them), but do **not**
   modify entries for ``security.debian.org``.
 
-I cannot hear sounds played in the virtual machine.
+Our proxy setup at work prevents APT from downloading packages
+  APT needs to be told how to access the proxy. Talk to your local sysadmin
+  and ask for the proxy's address (maybe a username and password too), as well
+  as the ports for HTTP and FTP proxies. With this information add the following
+  lines in the file, /etc/apt/apt.conf.d/80proxy. This will ensure that after an
+  upgrade changes won't be lost::
 
+    Acquire::http::proxy "http://<username>:<password>@<proxy>:<port>/";
+    Acquire::ftp::proxy "ftp://<username>:<password>@<proxy>:<port>/";
+    Acquire::https::proxy "https://<username>:<password>@<proxy>:<port>/";
+
+I cannot hear sounds played in the virtual machine
   By default the sound is muted. To enable playback launch the mixer applet by
   clicking on the mixer icon in the task bar. Unmute the master volume control.
   Now click on the "Volume control" to load the channel mixer dialog. Unmute
@@ -269,9 +192,7 @@ I cannot hear sounds played in the virtual machine.
   now be able to hear sounds played within the virtual machines through your
   host computer's speakers.
 
-I have upgraded VirtualBox from 3.x series to 4.x, and my VM lost
-mounted host directories.
-
+My VM lost mounted host directories after upgrading from VirtualBox from 3.x to 4.x
   NeuroDebian VMs prior 6.0.3 were shipped with guest additions from
   3.x series of VirtualBox and some initial versions of VirtualBox in
   4.x series have failed to mount host directories properly.
@@ -285,3 +206,42 @@ mounted host directories.
          virtualbox-ose-guest-utils  virtualbox-ose-guest-x11
 
   and reboot VM.
+
+
+What has changed
+----------------
+
+.. raw:: html
+
+  <div class="expandinstructions">Click on an item to expand it</div>
+
+6.0.6 -- 01 Oct 2012
+
+  * Updated core system to Debian squeeze 6.0.6
+
+6.0.5 -- 10 Nov 2011
+  * Updated core system to Debian squeeze 6.0.3
+  * Updated shipped virtualbox-ose guest-utils and guest-x11 to 4.0.10
+
+    - ``~/host`` is now symlinked to correct path ``/media/sf_host``
+    - ``brain`` user is added to ``vboxsf`` group so mounted host
+      directories should become readily available
+
+  * Root partition size and swap space got doubled in size (40GB
+    and 2GB correspondingly).  Space is allocated dynamically so
+    the actual size of the virtual drive should not grow unless
+    you use it
+
+6.0.4 -- 13 Jun 2011
+  * Updated shipped virtualbox-ose guest-utils and guest-x11 to 4.0.4
+
+6.0.3 -- 12 Jun 2011 [Superseded in the archive by 6.0.4]
+  * Updated to Squeeze 6.0.1
+  * Updated VirtualBox guest additions to 4.0.4 from backports.debian.org
+  * Appliance is available as a single file (.ova) ready for the import
+
+6.0.2 -- 08 Feb 2011
+  * Minor update
+
+6.0.1 -- 01 Dec 2010
+  * Minor update