Client-Only Tutorial Installation for P4 Server
Instructions for automated installation of PiClient, PiExtras, and VersIC.
The Client install (install_all.bash) script will:
- Install VersIC
- Install the Self-Extracting version of the pi client.
- Install the Self-Extracting version of PiExtras and place it in the new client directory.
- Generate an 'mdx.bash' file that contains environment settings.
The main install script is located at: /usr/share/mdx/products/piextras/install_scripts/client/install_all.bash (after Installing PiExtras)
)
- Work with Perforce support during an initial installation.
Pre-Requisites
Prior to tutorial installation, complete the following step:
-
Install PiExtras
Installation Procedure
root> cd /usr/share/mdx/products/piextras/install_scripts/client
2. Edit the configure.txt file, this contains all the settings used by the install scripts.
a. set 'CLIENT_INSTALL_DIR' to the directory in which to install VersIC, PiExtras, and IPLM CLI. Once installed this directory is self-contained.
b. 'PISERVERNAME' to the fully qualified hostname of the machine hosting the Perforce IPLM server
c. Set 'USERNAMEMDX' and 'PASSWORDMDX' to the values provided by Perforce to access the MDX download site.
d. If you are performing an offline install, need to set the SET_OFFLINE_INSTALL to YES. In this case you will need to edit the configure_offline.txt file to point to the pre-downloaded PiCLI .run and pilib files andversic installation tar ball. Instructions on downloading the tarball can be found in configure_offline.txt file. If you are performing the standard installation this step should be skipped.
root> /usr/share/mdx/products/piextras/install_scripts/client/install_all.bash
After the script completes you will have installations of Piclient, PiExtras, and VersIC, as well as a 'mdx.bash' file containing the environment variables necessary to run the tools.
Getting Started with Perforce IPLM
root> su - mdx
mdx> source $MDX_CONFIG_DIR/config/mdx.bash
mdx> pi login admin
mdx> pi ip load mdx_tutorial.proj_top /tmp/ws1
mdx> cd /tmp/ws1
mdx> pi ws st -v