Information Technology Reference
In-Depth Information
you will need gitolite. Gitolite is an additional layer on top of git that is hosted with
ssh. This layer allows you to grant or revoke three types of privileges: read, write, and
forced write. Every privilege can be assigned for an arbitrary user for an arbitrary re-
pository and for an arbitrary branch.
I planned this topic to be a hands-on practical introduction. The recipes concerning
hosting git repositories can cause many headaches. Which is the right platform to work
with? How to prepare recipes that will work without any flaws on the different sys-
tems? How to avoid messing with the system that you currently work on? What if you
don't have root access to any machine? To avoid these problems, I decided to use a vir-
tual system. This is, in my opinion, the best way to practice the operating system ad-
ministration. Therefore you will be able to proceed with the recipes exactly as they are
written and if something does go wrong your system will stay untouched. I think that
these two advantages alone are sufficient reason to work with a virtual system.
The easiest solution to setting up a virtual machine is to use VirtualBox with
Vagrant. The first two recipes in this chapter give you the necessary introduction to this
subject.
11-1. Installing VirtualBox and Vagrant
Problem
You want to install VirtualBox and Vagrant on your machine.
Solution
1. Start your web browser, visit https://www.virtualbox.org/
wiki/Downloads and download VirtualBox 4.2.18 for your platform.
2. Install the VirtualBox 4.2.18 package on your computer. You can leave
the default values for all options.
3. Visit http://downloads.vagrantup.com and download Vagrant
1.3.1 for your platform.
4. Install Vagrant 1.3.1 on your computer with the default settings.
5. Start the command line and execute
Search WWH ::




Custom Search