You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@age.apache.org by jo...@apache.org on 2022/10/26 04:12:06 UTC

[age-website] branch master updated: Simplified Setup Intructions in Manual

This is an automated email from the ASF dual-hosted git repository.

joshinnis pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/age-website.git


The following commit(s) were added to refs/heads/master by this push:
     new 5b89224  Simplified Setup Intructions in Manual
5b89224 is described below

commit 5b892240002780395b20bfb7b4bd7c9b4051c30c
Author: Josh Innis <Jo...@gmail.com>
AuthorDate: Wed Oct 26 13:11:39 2022 +0900

    Simplified Setup Intructions in Manual
---
 docs/intro/setup.md | 38 +-------------------------------------
 1 file changed, 1 insertion(+), 37 deletions(-)

diff --git a/docs/intro/setup.md b/docs/intro/setup.md
index eb67d80..a451ff0 100644
--- a/docs/intro/setup.md
+++ b/docs/intro/setup.md
@@ -81,39 +81,6 @@ If the path to your Postgres installation is not in the PATH variable, add the p
 make PG_CONFIG=/path/to/postgres/bin/pg_config install
 ```
 
-#### Setting up multiple versions of PostgreSQL
-
-Install the intended version of PostgreSQL (11 or 12).
-
-Use the pg_config to check if it points to the intended version of PostgreSQL, if it does we will have to PGBINROOT. Open /usr/bin/pg_config in write mode (might require root previllages) and edit the PGBINROOT value
-
-```console
-sudo vi /usr/bin/pg_config
-```
-
-By default PGBINROOT is set to /usr/lib/postsgresql , the directory which contains all the postgres versions. Change this to /usr/lib/postgresql/[intended version of postgres]
-
-Check the PostgreSQL conf file of your PostgreSQL version to figure out which port its running on.
-The conf file is generally located in /etc/postgresql/[intended version of postgres]/main
-
-```console
-vi /etc/postgresql/11/main/postgresql.conf
-```
-
-Check the PORT the particular version of PostgreSQL runs on by default.
-
-Restart PostgreSQL
-
-```console
-sudo service postgresql restart
-```
-Change user to postgres connect to the PostgreSQL server
-
-```console
-sudo su - postgres
-psql --port PORT
-```
-
 ### Post Installation AGE Setup
 
 
@@ -144,8 +111,6 @@ docker run \
     apache/age
 ```
 
-
-
 | Docker variables | Description                                        |
 | ---------------- | -------------------------------------------------- |
 | `--name `        | Assign a name to the container                     |
@@ -154,7 +119,6 @@ docker run \
 | `-d`             | Run container in background and print container ID |
 
 
-
 ## Post Installation
 
 ### Per Session Instructions
@@ -171,7 +135,7 @@ We recommend adding ag_catalog to your search_path to simplify your queries. The
 SET search_path = ag_catalog, "$user", public;
 ```
 
-### Optional: allow non-superusers to use Apache AGE
+### Allow non-superusers to use Apache AGE
 
 * Non-superusers can only apply LOAD to library files located in `$libdir/plugins/` (see <https://www.postgresql.org/docs/11/sql-load.html>). A symlink can be created to allow non-superusers to LOAD the Apache AGE library: