.dev
My recommended default directory

Installation

Download and install Virtualbox from virtualbox.org.

Download vagrant from vagrantup.com and install the Application.

Clone this good default vagrant machine:
git clone git://github.com/ipf/VagrantTYPO3.git [[localDirectory]]

cd [[localDirectory]]
vagrant plugin install vagrant-vbguest
vagrant up

TYPO3 Installation

Enter a desired hostname above

By default the most recent TYPO3 Version ([[t3vers.latest_stable]]) will be installed.

sudo sh -c 'echo "192.168.50.50 [[hostname | lowercase]].dev" >> /etc/hosts'
export NEW_DIR=[[localDirectory]]/vHosts/[[hostname | lowercase]]/Web
mkdir -p $NEW_DIR && cd $NEW_DIR
wget "http://get.typo3.org/[[formData.selectedVersion]]" -O typo3_src.tgz
tar xvzf typo3_src.tgz
mv typo3_src-[[formData.selectedVersion]] typo3_src
ln -s typo3_src/typo3 typo3
ln -s typo3_src/index.php index.php
touch FIRST_INSTALL
Open in Browser: [[hostname | lowercase]].dev
Database username: root, password: vagrant
Use socket based connection
Create new database
Database name: t3_[[hostname| lowercase]]
Open typo3conf/LocalConfiguration.php and add
'trustedHostsPattern' => '[[hostname | lowercase]].dev'
in section 'SYS'

TYPO3 Version