Install p4:
1> Move p4 into /usr/bin, and chmod of it to allow any user to use it;
2> Optional: unzip p4v.zip, and do the software link of it;
3> Set some env vars in ~/.bash_profile:
P4CLIENT=xxx_xxx (client name)
P4PORT=sbjperf1.xxx.com:1667 (p4 server)
P4USER=xxx (user name)
P4ROOT=/root/workspace/sbjperf1.xxx.com_1667/ (your local dir)
source ~/.bash_profile
4> Try command “p4 client” and “p4v”;
-------------------------
305 p4 login -a -p
306 vim ~/.bash_profile
307 p4 client
308 echo $P4PASSWD
309 vim ~/.bash_profile
310 source ~/.bash_profile
311 p4 client
-------------------------------
P4CLIENT=ws-xxx
P4PORT=Sbjperf1.xxx.com:1667
#P4PORT=x.x.x.x:1667
P4USER=xxx
P4PASSWD=F092ADF2529C96B3CE549CF9028B0938
P4ROOT=/root/workspace/
export P4CLIENT P4PORT P4USER P4ROOT P4PASSWD