GNR on Debian Lenny

Revision as of 13:43, 26 February 2010 by Benjamin (talk | contribs) (first steps)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This document explains some tricks & tips on how to build ZCS on Debian Lenny (x86 or x86_64).

Latest version: March 2010

a very simple vserver with minimal packages has been used to build it.

First, create a zimbra user, and ensure that your user account (here "benjamin") can write to /opt/zimbra and /opt/public-src

 sudo adduser zimbra
 sudo mkdir -p  /opt/zimbra /opt/public-src
 sudo chown -R benjamin.benjamin /opt/zimbra /opt/public-src

Download the Perforce P4 command line client from here : http://www.perforce.com/perforce/downloads/platform.html use your platform (typically linux 32bits or linux 64bits)

Add p4 binary to your path, example :

 sudo cp p4 /usr/local/bin/
 sudo chmod a+x /usr/local/bin/p4
 export P4PORT=codes.zimbra.com:2666
 p4 -u public -P public1234 -c public-view sync -f //depot/zcs/GNR-605/...

(yes, the ... must be included in the command line, use this command as written. You may replace 605 by 606 or 607 if a new version of ZCS 6.x has been published)

Jump to: navigation, search