1.3.1 Installing Oracle Graph Server
- Verify that you meet the following system requirements:
- Oracle Linux 7 or 8 x64 or a similar Linux distribution such as RedHat (Using the Machine Learning Library (PgxML) for Graphs requires Oracle Linux 7 or later)
- Oracle JDK 8, JDK 11, or JDK 17
Note:
- Due to a bug in Open JDK, it is recommended to avoid the
following Oracle JDK versions:
- JDK 11.0.9
- JDK 11.0.10
- JDK 11.0.11
- JDK 11.0.12
See this note for more details.
- Compiling custom graph algorithms using the PGX Algorithm API is not supported on Oracle JDK 17.
- Due to a bug in Open JDK, it is recommended to avoid the
following Oracle JDK versions:
- Verify if you already have an installed version of the graph
server, by running the following
command:
sudo rpm -q oracle-graph [sudo] password for oracle: oracle-graph-22.4.0-0.x86_64
Graph server installation may throw an error if an installation already exists. In that case, see Upgrading Oracle Graph Server to upgrade to a newer version.
systemctl status pgx
- If the graph server has successfully started, the response may
appear
as:
● pgx.service - Oracle Graph In-Memory Server Loaded: loaded (/etc/systemd/system/pgx.service; disabled; vendor preset: disabled) Active: active (running) since Wed 2021-01-27 10:06:06 EST; 33s ago Main PID: 32127 (bash) CGroup: /system.slice/pgx.service ├─32127 /bin/bash start-server └─32176 java -Dlogback.configurationFile=/etc/oracle/graph/logback-server.xml -Doracle.jdbc.fanEnabled=false -cp /opt/oracle/graph/pgx/bin/../../pgx/server/lib/jackson-databind...
The graph server is now ready to accept requests.
- If the graph server has not started, then you must check the log
files in
/var/log/oracle/graph
for errors. Additionally, you can also run the following command to view anysystemd
errors:sudo journalctl -u pgx.service
Additional installation operations are required for specific use cases, such as:
- Analyze property graphs using Python (see Installing the Python Client).
- Deploy the graph server as a web application with Oracle WebLogic Server (see Deploying to Oracle WebLogic Server).
- Deploy GraphViz in Oracle WebLogic Server (see Deploying the Graph Visualization Application in Oracle WebLogic Server).
- Deploy the graph server as a web application with Apache Tomcat (see Deploying to Apache Tomcat).
For instructions to deploy the graph server in Oracle WebLogic Server or Apache Tomcat, see:
You can also deploy the graph server behind a load balancer. See Deploying Oracle Graph Server Behind a Load Balancer for more information.
Parent topic: Oracle Graph Server and Client Installation