Jul 16

Got the following error while trying to run gitosis-init on Ununtu 9.04. After a bit of searching found it was a known bug. Workaround is to edit /usr/bin/gitosis-init to use python 2.5 instead of python 2.6.

mick@builder:/srv/gitosis$ sudo -H -u gitosis /usr/bin/gitosis-init < /tmp/id_rsa.pub
Traceback (most recent call last):
  File "/usr/bin/gitosis-init", line 5, in 
    from pkg_resources import load_entry_point
  File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 2562, in 
    working_set.require(__requires__)
  File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 626, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 524, in resolve
    raise DistributionNotFound(req)  # XXX put more info here
pkg_resources.DistributionNotFound: gitosis==0.2
mick@builder:/srv/gitosis$ /usr/bin/python2.

written by objects \\ tags: , , ,

Jul 14

By default a new virtual machine will only be accessible from the host machine. To make it available to the network you need to go into the Network sessings for the virtial machine and select Bridged (instead of NAT).

"Connect directly to a physical network (bridged)"

written by objects \\ tags: , , , ,

Feb 22

Apache installations often announce lots of information about what they are running such as what OS is being used, the version of Apache, and what Apache Modules are loaded.

To disable this, add the following to your httpd.conf
ServerSignature Off

written by objects \\ tags: , ,