Monthly Archives: December 2011

install pmacctd on XenServer

Download

http://www.pmacct.net/#downloads

enable Base repo on Dom0

yum install gcc gcc-c++ autoconf make libpcap libpcap-devel

./configure
make
make install

GIT

I hate setting up new repo’s…

If you have a local repo that you would like to share, on the remote server create a new directory (with correct permissions).

then, cd into the dir

and type

git --bare init

or

git --bare init --shared=group

on the local machine you can now push your copy up, like this. (make sure you are in the directory)

git remote add origin [email protected]:/file/directory/
git add .
git commit -m "commit change"
git push origin master