Brief Introduction:
If you are about to install PostgreSQL and Apache AGE on a Windows machine in a step-by-step manner, then this is the right post for you. This post will help you to have a fully functional Apache AGE graph & PostgreSQL, ready to use application.
PostgreSQL:It is the one of the famous open-source database management system refer to as simply "Postgres". It is designed to handle a wide range of workloads, from single-machine applications to large-scale enterprise databases.
Apache AGE
Apache AGE (Advanced Graph Extensions) is a graph database that is built on top of Postgres SQL. AGE allows you to store, query, and analyze graph data using familiar SQL syntax and the PostgreSQL ecosystem.
Installation Guidelines:
There is a step-by-step guide to installing Apache AGE (Advanced Graph Extensions) on a Linux-based system, specifically Ubuntu:
Step 1: Install PostgreSQL
Open terminal & run the following command
sudo apt-get update
sudo apt-get install postgresql
Step 2: Dependencies Installatio**
Run the following command in the terminal
sudo apt-get install libpq-dev build-essential git
Step 3: Cloning Apache AGE Repository
https://github.com/apache/incubator-age.git
git clone https://github.com/apache/incubator-age.git
Step 4: Downloading & Installing AGE
cd age/
# install
sudo make PG_CONFIG=/home/<your pc name>/age_installation/pg/postgresql-11.18/bin/pg_config install
# install check
make PG_CONFIG=/home/<your pc name>//age_installation/pg/postgresql-11.18/bin/pg_config installcheck
Note: PG_CONFIG require the path to the pg_config file. Give the path from the recently installed PostgreSQL.
Step 5: Configuration of Apache AGE
sudo nano /etc/postgresql/<postgresSQL version>/main/postgresql.conf
Add shared_preload_libraries = 'age'
to enable Apache AGE.
Step 6: Starting Postgres SQL
sudo service postgresql restart
Verify the installation SELECT age_version();
If Apache AGE is installed properly, it will show the version information.
If you are done with all the above steps then you are successful in installing ApacheAGE on your Ubuntu.
Good luck with that...
Top comments (0)