]> git.donarmstrong.com Git - neurodebian.git/blob - sphinx/vm.rst
DOC: Initial docs for the VM setup.
[neurodebian.git] / sphinx / vm.rst
1 Standart Debian install
2
3 hostname: neurodebian
4 domain: ''
5
6 all file in one partition
7
8 root: not there
9 user: brain
10 pwd: neurodebian
11
12
13 Do a minimal install
14 --------------------
15
16 make separte vdi images for
17
18 * /
19 * /tmp
20 * /var/cache/apt
21 * swap
22
23 just base system, run selection, but no tasks
24
25
26 install new stuff
27 -----------------
28
29 Add sources.list for backports and neurodebian
30
31 wget -O - http://backports.org/debian/archive.key | apt-key add -
32 wget -O - http://neuro.debian.net.asc | apt-key add -
33
34 install kernel 2.6.27 (or later) from backports to have support for OpenGL
35 direct rendering in VirtualBox
36
37 # a basic desktop
38 aptitude install \
39  alacarte desktop-base evince file-roller gcalctool gdm gksu gnome-core
40  gnome-keyring gnome-utils gnome-volume-manager gnome-mount gthumb
41  bash-completion less mc gnome-themes
42
43 # cleanup unwanted stuff
44 # video drivers (all but vesa)
45 aptitude purge $(apt-cache search --names-only --installed xserver-xorg-video | grep xserver-xorg-video | cut -d ' ' -f 1,1) xserver-xorg-video-vesa+
46 # random stuff
47 aptitude purge radeontool sound-juicer
48
49 # prepare for kernel module building (guest additions)
50 aptitude install module-assistant
51 module-assistant prepare
52 bash /media/cdrom/VBoxLinuxAdditions-amd64.run (need 2.6.27+ kernel for direct rendering)
53
54 #make sure that xorg.conf has 'vboxvideo' as device driver and also
55 echo "vboxvideo" >> /etc/modules
56
57 # make user brain allowed to execute sudo without a password
58 adduser brain sudo
59 visudo
60 # and uncomment the respective line at the end of the file
61 # (make sure there is nothing below it
62
63 # configure shared folders
64 mkdir /mnt/host
65 mount -t vboxsf host /mnt/host
66 # better put the following into the session startup config of the user
67 sudo mount -t vboxsf -o defaults,uid=brain,gid=brain host /mnt/host
68
69
70 # neuro-stuff
71 aptitude install afni afni-atlases amide caret dicomnifti fsl fsl-atlases lipsia
72  minc-tools odin psychopy python-mvpa python-pyepl
73
74 # general scientifically useful stuff
75 aptitude install ipython
76
77 mkdir -p .config/backgrounds
78 cp /mnt/host/.config/awesome/hotbrain.png .config/backgrounds/
79
80 #change menu icon
81 sudo cp /mnt/host/hacking/neurodebian/artwork/icon.svg /usr/share/icons/Mist/scalable/places/start-here.svg