Skip to content

Commit 9de386d

Browse files
committed
change shell to bash
1 parent 4f21a16 commit 9de386d

File tree

1 file changed

+15
-15
lines changed
  • modules/ROOT/pages/installation/linux

1 file changed

+15
-15
lines changed

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

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -34,15 +34,15 @@ Installation instructions can be found on the manufacturer's website:
3434
. Import the Neo4j GPG public key into the system’s RPM keyring.
3535
The key is required to verify the authenticity of the Neo4j packages you will install.
3636
+
37-
[source, shell, subs="attributes"]
37+
[source, bash]
3838
----
3939
rpm --import https://debian.neo4j.com/neotechnology.gpg.key
4040
----
4141

4242
. Create a `neo4j.repo` file in the `/etc/yum.repos.d/` directory.
4343
This file contains the repository configuration for Neo4j.
4444
+
45-
[source, shell, subs="attributes"]
45+
[source, bash]
4646
----
4747
cat <<EOF > /etc/yum.repos.d/neo4j.repo
4848
[neo4j]
@@ -62,7 +62,7 @@ If you are upgrading from Neo4j 5.x or earlier, you may need to clear the packag
6262

6363
. Verify that the Neo4j repository is set up correctly by listing the available Neo4j packages versions:
6464
+
65-
[source, shell]
65+
[source, bash]
6666
----
6767
yum list neo4j --showduplicates
6868
----
@@ -73,7 +73,7 @@ Install Neo4j as `root` using the following commands depending on which edition
7373

7474
* Community Edition
7575
+
76-
[source, shell, subs="attributes"]
76+
[source, bash, subs="attributes"]
7777
----
7878
yum install neo4j-{neo4j-version-exact}
7979
----
@@ -84,7 +84,7 @@ Accept either the commercial or the evaluation license agreement before running
8484
The following are examples of using an interactive prompt and a non-interactive installation:
8585
+
8686
.Interactive installation of Enterprise Edition under the commercial license
87-
[source, shell, subs="attributes"]
87+
[source, bash, subs="attributes"]
8888
----
8989
yum install neo4j-enterprise-{neo4j-version-exact}
9090
----
@@ -95,7 +95,7 @@ This should be done in the same line as the package is installed, to ensure bash
9595
As in the following example:
9696
+
9797
.Non-interactive installation of Enterprise Edition under the commercial license
98-
[source, shell, subs="attributes"]
98+
[source, bash, subs="attributes"]
9999
----
100100
NEO4J_ACCEPT_LICENSE_AGREEMENT=yes yum install neo4j-enterprise-{neo4j-version-exact}
101101
----
@@ -107,7 +107,7 @@ For SUSE-based distributions, the steps are as follows:
107107

108108
. Use the following as `root` to add the repository:
109109
+
110-
[source, shell, subs="attributes"]
110+
[source, bash, subs="attributes"]
111111
----
112112
zypper addrepo --refresh https://yum.neo4j.com/stable/latest neo4j-repository
113113
----
@@ -116,7 +116,7 @@ zypper addrepo --refresh https://yum.neo4j.com/stable/latest neo4j-repository
116116
+
117117
* Community Edition
118118
+
119-
[source, shell, subs="attributes"]
119+
[source, bash, subs="attributes"]
120120
----
121121
zypper install neo4j-{neo4j-version-exact}
122122
----
@@ -127,7 +127,7 @@ Accept either the commercial or the evaluation license agreement before running
127127
The following are examples of using an interactive prompt and a non-interactive installation:
128128
+
129129
.Interactive installation of Enterprise Edition under the commercial license
130-
[source, shell, subs="attributes"]
130+
[source, bash, subs="attributes"]
131131
----
132132
zypper install neo4j-enterprise-{neo4j-version-exact}
133133
----
@@ -136,7 +136,7 @@ You have to choose either a link:https://legal.neo4j.com/[commercial license] or
136136
For a non-interactive installation, you can set the `NEO4J_ACCEPT_LICENSE_AGREEMENT` to `yes` (for the commercial license) or `eval` (for the evaluation license) as in the following example:
137137
+
138138
.Non-interactive installation of Enterprise Edition under the commercial license
139-
[source, shell, subs="attributes"]
139+
[source, bash, subs="attributes"]
140140
----
141141
NEO4J_ACCEPT_LICENSE_AGREEMENT=yes zypper install neo4j-enterprise-{neo4j-version-exact}
142142
----
@@ -185,7 +185,7 @@ This must be one single command, and Neo4j Cypher Shell must be the first packag
185185
+
186186
* Community Edition
187187
+
188-
[source, shell, subs="attributes"]
188+
[source, bash, subs="attributes"]
189189
----
190190
rpm --install cypher-shell-{neo4j-version-exact}-1.noarch.rpm neo4j-{neo4j-version-exact}-1.noarch.rpm
191191
----
@@ -195,14 +195,14 @@ rpm --install cypher-shell-{neo4j-version-exact}-1.noarch.rpm neo4j-{neo4j-versi
195195
Accept either the commercial or the evaluation license agreement before running the Neo4j Enterprise Edition.
196196
The following example uses an interactive prompt:
197197
+
198-
[source, shell, subs="attributes"]
198+
[source, bash, subs="attributes"]
199199
----
200200
rpm --install cypher-shell-{neo4j-version-exact}-1.noarch.rpm neo4j-enterprise-{neo4j-version-exact}-1.noarch.rpm
201201
----
202202
You have to choose either a link:https://legal.neo4j.com/[commercial license] or an link:https://neo4j.com/terms/enterprise_us/[evaluation license] before the interactive installation is allowed to complete.
203203
For a non-interactive installation, you can set the `NEO4J_ACCEPT_LICENSE_AGREEMENT` to `yes` (for the commercial license) or `eval` (for the evaluation license) as in the following example:
204204
+
205-
[source, shell, subs="attributes"]
205+
[source, bash, subs="attributes"]
206206
----
207207
NEO4J_ACCEPT_LICENSE_AGREEMENT=yes rpm --install cypher-shell-{neo4j-version-exact}-1.noarch.rpm neo4j-enterprise-{neo4j-version-exact}-1.noarch.rpm
208208
----
@@ -212,7 +212,7 @@ NEO4J_ACCEPT_LICENSE_AGREEMENT=yes rpm --install cypher-shell-{neo4j-version-exa
212212

213213
To enable Neo4j to start automatically on system boot, run the following command:
214214

215-
[source, shell]
215+
[source, bash]
216216
----
217217
systemctl enable neo4j
218218
----
@@ -236,7 +236,7 @@ Follow these steps to uninstall Neo4j:
236236
. (Optional) Create a xref:/backup-restore/index.adoc[backup] to avoid losing your data.
237237
. Uninstall Neo4j:
238238
+
239-
[source, shell]
239+
[source, bash]
240240
---
241241
sudo yum remove neo4j
242242
---

0 commit comments

Comments
 (0)