Posts

Showing posts from November, 2009

Quick Perforce Setup

This serves as my personal quick guide to setting up perforce on Linux. Create a new directory (e.g. /u01/p4root), download p4d from http://www.perforce.com/ and copy it to the above folder. Set execute permissions and chown it to the Linux perforce user that will be running the server process. Start the Perforce server with: p4d Create a user: p4 user Set the email and save the user. Check the users: p4 users Set the security level to strong passwords: p4 counter -f security 2 Set the user's passwd: p4 passwd Restart your server and then login: p4 login Type your password, this will ensure your server is secure. Create a client workspace p4 client Give it a name, set the "revertunchanged", "share" for line ends, "rmdir" options. Depots List the depots: p4 depots Delete the default depot: p4 depot -d depot Create some depots: p4 depot ...name... List the depots again: p4 depots Map the depots to your client by using p4 client. Type Map