- Create a virtualbox 64bit ubuntu VM.. whatever you need (1024MB RAM and 1 proc work fine for me)
- Install Ubuntu Natty 11.04 Desktop amd64
sudo apt-get update && sudo sudo apt-get upgrade
.. make sure all updates are installed.sudo apt-get install git-core git-gui gitk curl build-essential autoconf automake bison screen openssl libreadline6 libreadline6-dev zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-0 libsqlite3-dev sqlite3 libxml2-dev libxslt-dev autoconf libc6-dev ncurses-dev uuid-dev vim-gnome vim-nox exuberant-ctags libnspr4-dev mercurial libasound2-dev libcurl4-openssl-dev libnotify-dev libxt-dev libiw-dev mesa-common-dev autoconf2.13 yasm libmozjs-dev cmake-gui codeblocks-dbg codeblocks-contrib codeblocks doxygen
sudo apt-get build-dep libsfml
mkdir ~/src ~/bin ~/lib ~/include ~/libexec ~/doc ~/share
- add
PATH=$PATH:/home/YOURUSERNAME/bin
to the end of your~/.bashrc
- Install node, npm and coffee
cd src && git clone git://github.com/joyent/node.git
cd node
.. do agit checkout
on the latest stable tag./configure --prefix=/home/YOURUSERNAME && make && make install
curl http://npmjs.org/install.sh | sh
npm install --global coffee-script
- install rvm and use ree
bash < <(curl -s https://rvm.beginrescueend.com/install/rvm)
echo '[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*' >> ~/.bashrc && source ~/.bashrc
- run
rvm notes
and follow the instructions to install needed packages for MRI on ubuntu (should all be included in Base System Setup step 1 above, but you never know). rvm install ree && rvm use --default ree
- Do
ruby -v
to ensure the right version is in use. Should be used globally for sessions by this user from now on. git config --global core.autocrlf false && git config --global user.name "Your Name" && git config --global user.email [email protected]
curl https://raw.github.com/carlhuda/janus/master/bootstrap.sh -o - | sh
Here's one to get you started
hardstatus alwayslastline
hardstatus string '%{= kG}[ %{G}%H %{g}][%= %{=kw}%?%-Lw%?%{r}(%{W}%n*%f%t%?(%u)%?%{r})%{w}%?%+Lw%?%?%= %{g}][%{B}%Y-%m-%d %{W}%c %{g}]'
# Default screens
screen -t top top
screen -t src
screen -t src2
screen -t repl bash --rcfile ~/.customrc
- In VM window, in Devices menu, select "Install Guest Additions" (Host+D)
sudo mkdir /mnt/cdrom && sudo mount /dev/cdrom /mnt/cdrom && sudo /mnt/cdrom/VBoxLinuxAdditions.run
- Add shared folder to wherever on your host and name it 'hostdir'
cd ~ && mkdir host
sudo vim /etc/fstab
and add:hostdir /home/jeff/host vboxsf defaults,rw,uid=1000,gid=100,dmode=1755 0 0
to the end of the file. Save and quit.- reboot the vm, ensure there's no error messages (esp. concerning mounting the share folder)
First, create an ~/.xsession file and fill it with:
gnome-settings-daemon &
nm-applet &
gnome-power-manager &
gnome-volume-manager &
synapse -s &
exec awesome
chmod +x ~/.xsession
2ln -sf /home/YOURUSERNAME/.xsession ~/.xinitrc
sudo apt-get install awesome
- Install synapse via
sudo add-apt-repository ppa:synapse-core/ppa && sudo apt-get update && sudo apt-get install synapse
- Log out and select 'user defined session' and log in