On a Debian system supporting Apt, this can be done with:
```
sudo apt-get install python-pip postgresql python-virtualenv nginx \
- virtualenvwrapper git libxml2-dev p7zip-full \
+ virtualenvwrapper git libxml2-dev p7zip-full libffi-dev \
postgresql-server-dev-9.1 libxslt1-dev \
libmemcached-dev python-dev rabbitmq-server \
cmake libpng-dev libjpeg-dev libgtk2.0-dev \
(usually found at `~/.ssh/config`). This can be done more simply by typing this
on the host machine:
- vagrant ssh-config >> ~/.ssh/config
+ vagrant ssh-config --host karmavm >> ~/.ssh/config
The VM will, by default, route its SSH connection through localhost port 2222
on the host machine and the base user with be vagrant. Point Fabric there when
running fab commands from `{project_root}`. So the command will look like this:
- fab -H 127.0.0.1 --port=2222 -u vagrant <commands>
+ fab -H karmavm <commands>
In unix, it might be convenient to create and use an alias like so:
- alias vmfab='fab -H 127.0.0.1 --port=2222 -u vagrant'
+ alias vmfab='fab -H karmavm'
vmfab <commands>
Removing a unix alias is done with `unalias`.