Create your own Primavera P6 EPPM Training environment - 2 of 3

This is part two of our series of blogs to get you up and running with your own Primavera P6 EPPM testing environment.  If you need part one visit here.

Primavera P6 is one of the leading planning tools used by enterprise organisations, and as with every activity, the only way to be good at it is to practice.  Whilst Primavera P6 PPM and other tools are easy to install, EPPM unfortunately, can be difficult to install.  This blog aims to get anybody up and running with an EPPM environment of their own.

So to begin, a reminder of the disclaimer.

DISCLAIMER

The steps provided in this blog are provided with no support and Wraith Solutions accept no responsibility for any issues caused by following the instructions.  It will not provide a production ready or secure environment, nor can we guarantee you sit within the licensing.  In order to build a production ready environment, contact us, or another vendor, and if you are unsure whether you need licensing, contact a Primavera P6 sales representation.  Oracle generally provide their software for free, providing it is only used for training and development purposes. 

That said, we will endeavor to answer any questions you have if you contact us at information@wraith-solutions.com

WHAT DO YOU NEED?

At the end of the last blog we provided you with a list of required software to continue with your build.  Since releasing the first blog we have received a number of questions on the how to download the software, to make sure you get what you need, the first part of this blog will take you through downloading the required software, including:-

  • Primavera P6 EPPM.
  • Oracle XE.
  • Java JDK.
  • Oracle WebLogic.

Along with this list of software you will require your Linux server that you built in part one up and running.

Power on your Virtual Server

1. Launch VirtualBox

2. Double click on your Primavera P6 server in the left hand pane

3. Once your server has booted up you will be presented with a list of users (or in your case probably just the user you created as part of Blog one.  Click on this and enter the password you set.

Download required software

1. When the login has completed launch the Firefox web browser, accesible from the Applications -> Internet menu

2. The first software download is Primavera P6 EPPM.  This is available from http://edelivery.oracle.com and is free for training and development.

3. If you have an account, click "Sign In" and enter your credentials.  If not, click "New User? Register Here" underneath the "Sign In" button and follow the forms presented to create an account.  Once you have an account sign in.

4. When you are signed in you will be presented with the "Oracle Software Delivery Cloud".  In the search box enter "EPPM" and select the product presented.  Now click "Select Platform" and check the box next to "Linux x86-64".  Now click "Select".

5. The "Download Queue" pane should now show "Primavera P6 Enterprise Project Portfolio Management" in the list.  Now click "Continue".

6. Click "Continue".  Read the provided terms and restrictions and if acceptable check the box at the bottom, then click "Continue".

7. You will now be presented with a list of software packages.  The only one you need at this stage is "Primavera P6 Enterprise Project Portfolio Management 16 R2 for Linux x86-64".  The version may be slightly different depending on when you performed these steps.  Click on the filename to the left of this package.  Select the "Save File" option on the next prompt and click "OK".

8. Next on the list is Oracle XE.  This is Oracle's express edition of their popular database software.  This software can be found at http://www.oracle.com/technetwork/database/database-technologies/express-edition/downloads/index.html.  Once on the download page you first need to read the "OTN License Agreement" and if you are happy check the "Accept License Agreement" radio button.  Now click on the link to "Oracle Database Express Edition 11g Release 2 for Linux x64".  Please note the version may vary.  On the prompt select "Save File" and click OK.

9. Now we need the Java JDK.  For this version of Primavera P6 EPPM the tested version required is JDK 8 Update 101, although a newer version should be fine.  This can be found at http://www.oracle.com/technetwork/java/javase/downloads/java-archive-javase8-2177648.html#jre-8u101-oth-JPR.  As with Oracle XE you need to read and accept the license agreement.  The download you need from the list provided is the Linux x64 version (as P6 EPPM is 64 bit) with the .rpm extension (e.g. jdk-8u101-linux-x64.rpm).  Click the link and in the pop up select "Save File" and click "OK"

10. Next we require Oracle WebLogic.  This can be found at http://www.oracle.com/technetwork/middleware/weblogic/downloads/wls-main-097127.html.  For this you need to ensure you get version 12.1.3 as this is the tested version and newer versions do have problems.  Follow the same steps as previous, selecting the "Generic" link underneath the correct version of WebLogic.

11. Finally we need that blooming file that I cannot remember the name of!

Install JDK

1. Launch the Terminal via Applications -> Utilities.

2. By default this build of Linux installs OpenJDK, which is incompatible with the WebLogic installer.  We could repoint the default, but it is easier to uninstall it prior to installing the Oracle version.  You do this by entering the command "sudo yum remove java-1.8.0-openjdk-headless" and pressing "Enter".  Enter your password if required.  This will remove a number of other unnecessary applications as well.  Please note, the version of java may vary.  You can check by running the command "yum list installed | grep java".

3. By default terminal will launch to your user profile.  If you have been using the terminal for anything else you can switch to this folder by entering "cd ~" or "cd /home/{username}".  From here you need to enter "cd Downloads" followed by "Enter".

4. If you enter the command "ls" you will receive a list of files.  One of those files will look similar to jdk-8u101-linux-x64.rpm.  To install this you need to enter the command "sudo rpm -ivh jdk-8u101-linux-x64.rpm" followed by "Enter".  This will prompt you for your password, enter this and press "Enter".  Note that it will not present you with any typed data.  To make it easier Linux allows you to press tab to quickly finish off a unique filename, so entering jdk and pressing tab should be enough to autofill the rest! 

5. Once complete, you can confirm that it is install by entering the command "java -version" and pressing "Enter".  This should present you with the version information for java.

Install Oracle XE

1. Oracle XE is provided as a zip file.  The first command you need is "unzip oracle-xe-11.2.0-1.0.x86_64.rpm.zip".  Note the filename may differ, so feel free to autocomplete the filename using Tab.

2. The unzipped archive will now have created a new folder called "Disk1".  Change directory to this folder using the command "cd Disk1" followed by "Enter".  This folder contains the file oracle-xe-11.2.0-1.0.x86-64.rpm.  Now run the rpm command "sudo rpm -ivh oracle-xe-11.2.0-1.0.x86-64.rpm" followed by "Enter".  Enter your password again if prompted.

3. To run initial database configuration enter the command "sudo /etc/init.d/oracle-xe configure" and press "Enter".  Enter your password if required.

4. Press Enter on the first two questions to accept defaults.  On the password prompt enter a memorable password and press enter, followed by a password confirmation.  Press "Enter" on the started on boot question.  Once complete the database will be in a usable state.

Install WebLogic

1. In your Terminal, switch back to the Downloads folder by entering the command "cd ..".

2. Run the WebLogic installer by running the command "java -jar fmw_12.1.3.0.0_wls.jar".  The software will perform a number of checks and then launch the "Oracle Universal Installer".

3. On the first page, accept the defaults and click "OK".  Depending on the power of your desktop the next page may not show for some time.

4. On the Welcome page click "Next".

5. On the Installation Location pane, make a note of the Oracle Home option and click "Next".

6. On the Installation Type pane ensure "WebLogic Server" is selected and click "Next".

7. Once the prerequisite checks are complete click "Next".  Note you may get an Unknown result for the Operating System certification check.  This is fine.

8. Uncheck the "I wish to receive security updates via My Oracle Support" and leave the other boxes blank and click "Next".  On the pop up window click "Yes".

9. On the Installation Summary pane, click "Install".  Make a cup of tea, this may take a while.

10. When the installation is complete, click "Finish".

Install Primavera P6 EPPM

1. Primavera P6 EPPM is provided as a zip file.  The first step is to unzip this by running the following command "unzip V789755-01.zip".  The filename may differ depending on the download P6 version, so feel free to autocomplete.

2. Once complete this will create a folder called P6_R162.  Change directory using the command "cd P6_R162/Disk1/install/".

3. By default the files unzipped do not have permission to execute.  Run the following commands to assign the correct permissions.  "chmod +x runInstaller", "chmod +x runInstaller.sh" and "chmod +x unzip".

4. Run the installer using the following command "./runInstaller".

5. After the checks have completed successfully it will open the Oracle Universal Installer.  On the first page click "Next".  On the "Specify Inventory directory and credentials" accept the defaults and click "Next".

6. On the "Specify Home Details" page make a note of the Name and Path options and click "Next".

7. On the list of components page ensure only P6 16.2.0.0 is selected and click "Next".  If you wish to configure Team member, select this option and contact us at information@wraith-solutions.com for the instructions.

8. On the "Specify JDK Home" page click "Browse".  On the directory list, navigate to "/usr/java/latest" and click "Next"

9. Finally click "Install".

10. On the "Execute Configuration Scripts" popup, click "OK" and "OK" again at the "Error" pop up.

11. Click "Exit".

12. When the "P6 EPPM Configuration Wizard" pops up, click "Cancel", as this will be covered in the next blog.

13. Back in the Terminal window run the following command "sudo /home/{username}/oraInventory/orainstRoot.sh"

Summary

The software required for your training environment is now installed.  The next blog will cover how to configure your Database, WebLogic domain and link it all together.  Until then, feel free to contact us with any queries or comments.