Skip to content

Commit

Permalink
docs: minor changes in the dcache minimal installation part
Browse files Browse the repository at this point in the history
  • Loading branch information
khys95 committed Sep 13, 2024
1 parent c165794 commit b9c9466
Showing 1 changed file with 10 additions and 13 deletions.
23 changes: 10 additions & 13 deletions docs/TheBook/src/main/markdown/dcache-minimal-installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,11 @@ about how dCache works and explore some of the details of dCache
configuration and administration without being overwhelmed. As far as
possible, you can simply copy the commands and end up with a working
dCache. We've included some example commands that perform some basic
tests, so you can have some confidence that everything is OK so far,
before moving on to the next step.
tests, so you can have confidence as you progress through the steps.
Please note that, although this tutorial will provide you with a
working dCache instance, your production instance should be more complex. There are many ways to configure
working dCache instance, your production instance would be more complex as there are many ways to configure
dCache. The optimal choice depends on which hardware you wish to use
and how dCache's users will interact with the system. So, there is no a single recipe that will provide the optimal solution in
and how dCache's users will interact with the system. There is no a single recipe that will provide the optimal solution in
all cases.

### Minimum System Requirements
Expand All @@ -40,7 +39,7 @@ help you with your system specifications. Just contact us: <[email protected]>.

#### Software:

- OpenJDK 11 (java 11 , and java 17 for dCache staring from version 10.1)
- OpenJDK 11 (java 11, and java 17 for dCache staring from version 10.1)

> yum install java-11-openjdk
>
Expand Down Expand Up @@ -74,18 +73,16 @@ First we install PostgreSQL:

> dnf -y install postgresql-server
With the database packages installed, we can initialise the database
the service. Note that we do not start the database at this point,
With the database packages installed, we can initialise the database service. Note that we do not start the database at this point,
as we will make some tweaks to the configuration.

> postgresql-setup --initdb
...

[root@neic-demo-1 centos]# postgresql-setup --initdb
* Initializing database in '/var/lib/pgsql/data'
* Initialized, logs are in /var/lib/pgsql/initdb_postgresql.log

...

The simplest configuration is to allow password-less access to the database.

Expand All @@ -102,8 +99,8 @@ host replication all 127.0.0.1/32 ident
host replication all ::1/128 ident
```

To allow local users to access PostgreSQL without requiring a password, make sure the following three lines
are the only uncommented lines in the file **/var/lib/pgsql/data/pg_hba.conf**
To allow local users to access PostgreSQL without requiring a password, make sure only the following three lines
are in the file **/var/lib/pgsql/data/pg_hba.conf**

>vi /var/lib/pgsql/data/pg_hba.conf
>
Expand All @@ -116,8 +113,8 @@ are the only uncommented lines in the file **/var/lib/pgsql/data/pg_hba.conf**
```


> **NOTE**: the path to **/pg_hba.conf** is different for PostgreSQL 13 and higher versions.
> It is **/var/lib/pgsql/data/pg_hba.conf**
**NOTE**: the path to **/pg_hba.conf** is different for PostgreSQL 13 and higher versions.
It is **/var/lib/pgsql/data/pg_hba.conf**



Expand Down

0 comments on commit b9c9466

Please sign in to comment.