The following instructions will allow you to get started quickly with PGX and to analyze graphs directly on your local machine. More advanced usage models, which include running PGX as a server, can be found at the end of this section.
Install the Oracle JDK 8, if it is not already on your system. Refer to your system administrator, or follow these instructions to install:
JAVA_HOMEenvironment variable points to the JDK8 home directory, e.g.
Unpack the downloaded zip file into a directory of your choice. For example,
unzip pgx-2.7.0-server.zip -d /opt/pgx.
cd into the installation directory. Verify PGX boots up by starting the PGX Shell:
cd $PGX_HOME ./bin/pgx
See our troubleshooting section if you encounter problems.
bin- PGX executables
conf- PGX configuration files
distributed- PGX distributed server binaries (multiple machine deployment)
examples- Example code (Java, Green-Marl) and example graph data
shared-memory- PGX shared-memory server binaries (single machine deployment)
yarn- libraries for Hadoop YARN deployment
Read in the following tutorials how to start the PGX server in shared memory mode (single machine, scale up) or distributed mode (multiple machines, scale out):
PGX also supports HDFS and runs on YARN. Details for these can be found in these tutorials:
You can also run shared memory PGX inside of a web application. PGX ships with a WAR-file which can be deployed directly into your favorite servlet container:
Do you already have a PGX server running? Refer to this tutorial to learn how to connect to a server: