Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 2

Request support team to spent spare time in developing a script to automate the process.

on p4 workspace, need to create a user id Steps to configure a new client on p4workspace: 1) Creating user on the system and its home directory. useradd priya passwd priya 2) mkdir /home/priya 3) chown priya /home/priya/ 4) chmod -R 744 /home/priya 5) Change default shell to 'bash'. vi /etc/passwd priya:x:1038:1039::/home/priya:/bin/bash 6) Log in as user a/c in another window and add following entried to the user pr ofile 'vi .profile' # export P4PORT=192.168.0.195:1666 export P4USER=p4user export P4CLIENT=priya alias ll='ls -lh' set -o vi 7) Login as root and create perforce client workspace p4 client -t builder priya 8) modify the root: '/home/priya/p4workspace' 9) Log in as user a/c in another window and create p4workspace on client m/c and sync perforce code. mkdir p4workspace cd p4workspace p4 sync ./... 10) Allow perforce client workspace to mount on build machines. Modify the following in 11) Login as root user and modify 'vi /etc/exports' /home/priya/p4workspace 192.168.0.0/24(rw,no_root_squash,no_subtree_check) /home/priya/p4workspace 192.168.1.0/24(rw,no_root_squash,no_subtree_check)

exportfs -a 12) After this Try to mount the workspace into any build machine mount 192.168.0.195:/home/priya/p4workspace /mnt/p4workspace/

You might also like