Skip to content

Commit d8bb930

Browse files
authored
Update the TAR/ZIP steps to include decoupling of files from binaries (#2092) (#2096)
Cherry-picked from #2092
1 parent c9f0cbd commit d8bb930

File tree

3 files changed

+25
-10
lines changed

3 files changed

+25
-10
lines changed

modules/ROOT/pages/installation/linux/tarball.adoc

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,14 @@ chown -R neo4j:adm /opt/neo4j-enterprise-{neo4j-version-exact}
4343
----
4444
chown -R neo4j /opt/neo4j-enterprise-{neo4j-version-exact}
4545
----
46-
. From Neo4j 5.4 onwards, you are required to accept either the commercial or the evaluation license agreement before running the Neo4j Enterprise Edition.
46+
. xref:configuration/file-locations.adoc#file-locations-file-locations[Change the default locations] of the _data_, _conf_, _certificates_, _licenses_, and _plugins_ (if you plan to use custom plugins) directories by setting the environment variable `NEO4J_CONF` and the respective xref:configuration/configuration-settings.adoc#_server_directories_settings[`server.directories.*`] settings to point to the desired locations.
47+
+
48+
[NOTE]
49+
====
50+
Storing your Neo4j files outside `NEO4J_HOME` will simplify the upgrade process later because you will be able to replace the DBMS binaries without affecting the configuration and state.
51+
Otherwise, these Neo4j files will remain in the old installation folder and may be accidentally overwritten during an upgrade or deleted during a subsequent uninstall.
52+
====
53+
. Accept either the commercial or the evaluation license agreement before running the Neo4j Enterprise Edition.
4754
If you are using Community Edition, you can skip this step.
4855
* Use one of the following options to accept the commercial license agreement.
4956
See the link:https://neo4j.com/terms/licensing/[Neo4j licensing] page for details on the available agreements.
@@ -54,8 +61,6 @@ See the link:https://neo4j.com/terms/licensing/[Neo4j licensing] page for detail
5461
+
5562
** Set the environment variable `NEO4J_ACCEPT_LICENSE_AGREEMENT=eval`.
5663
** Run `<NEO4J_HOME>/bin/neo4j-admin server license --accept-evaluation`.
57-
. (Optional) Decouple the data and configuration directories from the binary files by setting the environment variable `NEO4J_CONF` and `server.directories.data` to point to the desired locations.
58-
Storing your data and configuration on a separate disk or partition can simplify the upgrade process later.
5964
. Before starting up the database for the first time, it is recommended to use the `set-initial-password` command of `neo4j-admin` to define the password for the native user `neo4j`.
6065
+
6166
If the password is not set explicitly using this method, it will be set to the default password `neo4j`.

modules/ROOT/pages/installation/osx.adoc

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,14 @@ Select the appropriate tar.gz distribution for your platform.
2020
. Extract the contents of the archive, using `tar -xf` <filename>.
2121
For example, `tar -xf neo4j-community-{neo4j-version-exact}-unix.tar.gz`.
2222
. Place the extracted files in a permanent home on your server and set the environment variable `NEO4J_HOME` to point to the extracted directory, for example, `export NEO4J_HOME=/path/to/_<NEO4J_HOME>` to make it easier to refer to it later.
23-
. From Neo4j 5.4 onwards, you are required to accept either the commercial or the evaluation license agreement before running the Neo4j Enterprise Edition.
23+
. xref:configuration/file-locations.adoc#file-locations-file-locations[Change the default locations] of the _data_, _conf_, _certificates_, _licenses_, and _plugins_ (if you plan to use custom plugins) directories by setting the environment variable `NEO4J_CONF` and the respective xref:configuration/configuration-settings.adoc#_server_directories_settings[`server.directories.*`] settings to point to the desired locations.
24+
+
25+
[NOTE]
26+
====
27+
Storing your Neo4j files outside `NEO4J_HOME` will simplify the upgrade process later because you will be able to replace the DBMS binaries without affecting the configuration and state.
28+
Otherwise, these Neo4j files will remain in the old installation folder and may be accidentally overwritten during an upgrade or deleted during a subsequent uninstall.
29+
====
30+
. Accept either the commercial or the evaluation license agreement before running the Neo4j Enterprise Edition.
2431
If you are using Community Edition, you can skip this step.
2532
* Use one of the following options to accept the commercial license agreement.
2633
See the link:https://neo4j.com/terms/licensing/[Neo4j licensing] page for details on the available agreements.
@@ -31,8 +38,6 @@ See the link:https://neo4j.com/terms/licensing/[Neo4j licensing] page for detail
3138
+
3239
** Set the environment variable `NEO4J_ACCEPT_LICENSE_AGREEMENT=eval`.
3340
** Run `$NEO4J_HOME/bin/neo4j-admin server license --accept-evaluation`.
34-
. (Optional) Decouple the data and configuration directories from the binary files by setting the environment variable `NEO4J_CONF` and `server.directories.data` to point to the desired locations.
35-
Storing your data and configuration on a separate disk or partition can simplify the upgrade process later.
3641
. Before starting up the database for the first time, it is recommended to use the `set-initial-password` command of `neo4j-admin` to define the password for the native user `neo4j`.
3742
+
3843
If the password is not set explicitly using this method, it will be set to the default password `neo4j`.

modules/ROOT/pages/installation/windows.adoc

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,15 @@ Select the appropriate ZIP distribution.
1818
.. Using the appropriate commands for your platform, display the `SHA-256` hash for the file that you downloaded.
1919
.. Ensure that the two are identical.
2020
. Right-click the downloaded file and click *Extract All*.
21-
. Place the extracted files in a permanent home on your server and set the environment variable `NEO4J_HOME` to point to the extracted directory, for example, `export NEO4J_HOME=/path/to/_<NEO4J_HOME>` to make it easier to refer to it later.
22-
. From Neo4j 5.4 onwards, you are required to accept either the commercial or the evaluation license agreement before running the Neo4j Enterprise Edition.
21+
. Place the extracted files in a permanent home on your server and set the environment variable `NEO4J_HOME` to point to the extracted directory, for example, `export NEO4J_HOME=\path\to\_<NEO4J_HOME>` to make it easier to refer to it later.
22+
. xref:configuration/file-locations.adoc#file-locations-file-locations[Change the default locations] of the _data_, _conf_, _certificates_, _licenses_, and _plugins_ (if you plan to use custom plugins) directories by setting the environment variable `NEO4J_CONF` and the respective xref:configuration/configuration-settings.adoc#_server_directories_settings[`server.directories.*`] settings to point to the desired locations.
23+
+
24+
[NOTE]
25+
====
26+
Storing your Neo4j files outside `NEO4J_HOME` will simplify the upgrade process later because you will be able to replace the DBMS binaries without affecting the configuration and state.
27+
Otherwise, these Neo4j files will remain in the old installation folder and may be accidentally overwritten during an upgrade or deleted during a subsequent uninstall.
28+
====
29+
. Accept either the commercial or the evaluation license agreement before running the Neo4j Enterprise Edition.
2330
If you are using Community Edition, you can skip this step.
2431
* Use one of the following options to accept the commercial license agreement.
2532
See the link:https://neo4j.com/terms/licensing/[Neo4j licensing] page for details on the available agreements.
@@ -30,8 +37,6 @@ See the link:https://neo4j.com/terms/licensing/[Neo4j licensing] page for detail
3037
+
3138
** Set it as an environment variable using `set NEO4J_ACCEPT_LICENSE_AGREEMENT=eval`.
3239
** Run `$NEO4J_HOME\bin\neo4j-admin server license --accept-evaluation`.
33-
. (Optional) Decouple the data and configuration directories from the binary files by setting the environment variable `NEO4J_CONF` and `server.directories.data` to point to the desired locations.
34-
Storing your data and configuration on a separate disk or partition can simplify the upgrade process later.
3540
. Before starting up the database for the first time, it is recommended to use the `set-initial-password` command of `neo4j-admin` to define the password for the native user `neo4j`.
3641
+
3742
If the password is not set explicitly using this method, it will be set to the default password `neo4j`.

0 commit comments

Comments
 (0)