Sunday, 8 June 2014

Perforce Server Configuration and Client Configuration


Server Side Configuration....
=========================================
Step : 1 Download p4d (Binnary) (In Home Directory)

    http://ftp.perforce.com/perforce/r07.3/

     Install The Perforce Server,

     Export The Perforce Root Directory Path,

     export P4ROOT="/home/perforce/perforce_root"    
     
    Start Perforce Server, 

     /home/perforce/perforce_root/p4d -J /home/perforce/perforce_root/journal -L /var/log/p4err -p 1666 &


If you need stop Perforce Server ,

p4 -p 192.168.100.1:1666 -u  PUSER  -P  PPASSWORD -c WORKSPACE admin stop


Client Side Configuration....
====================================

Step : 1 Download p4 (Binnary) (In Home Directory)

http://ftp.perforce.com/perforce/r07.3/


Step : 2 Export the following Variable 


For Linux,
export P4PORT=(Perforce Server IP with Port) 192.168.100.1:1666
export P4USER=(Perforce User)
        export P4PASSWD=(Perforce Password)
export P4CLIENT=Worlspace name (which provided by me)

p4 -p 10.201.3.125:1666 -u cyberoam -P cyb3r2o13 -c build admin stop        Set P4PORT=(Perforce Server IP with Port) 192.168.100.1:1666
Set P4USER=(Perforce User)
        Set P4PASSWD=(Perforce Password)
Set P4CLIENT=Worlspace name (which provided by me)


After run the p4 command,


No comments:

Post a Comment