Skip to content

Commit b2d5879

Browse files
committed
Merge branch 'master' of github.com:redis-developer/redis-developer.github.io into master
2 parents 53fef29 + d8fe831 commit b2d5879

File tree

2 files changed

+13
-13
lines changed

2 files changed

+13
-13
lines changed

docs/create/docker/index-docker.mdx

+10-10
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import RedisCard from '@site/src/theme/RedisCard';
2222

2323
Ensure that Docker is installed in your system. Follow https://docs.docker.com/engine/install/ if you haven’t installed yet.
2424

25-
## Run the Redis container
25+
## Step 1: Run the Redis container
2626

2727
Execute the following command to run Redis container in the background in a “detached” mode.
2828

@@ -35,15 +35,15 @@ myredis is the name of Docker container
3535
-d represent running Redis in a background in a “detached” mode.
3636
redis is the name of Docker Image that it fetches from Docker Hub.
3737

38-
## Verify if Redis container is running or not:
38+
## Step 2: Verify if Redis container is running or not:
3939

4040
```
4141
$ docker ps
4242
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
4343
241f2411637e redis "docker-entrypoint.s…" 2 minutes ago Up 2 minutes 6379/tcp myredis
4444
```
4545

46-
## Connecting to Redis Server using redis-cli client
46+
## Step 3: Connect to your database
4747

4848
The below CLI uses the first three alphanumeric character of Container ID and opens up "sh" shell of Redis Docker container:
4949

@@ -52,7 +52,7 @@ $ docker exec -it 241 sh
5252
# redis-cli
5353
```
5454

55-
## Testing Redis container
55+
## Step 4: Testing Redis container
5656

5757
Execute the below command to test the Redis server:
5858

@@ -63,7 +63,7 @@ PONG
6363

6464
Please note: By default, Redis has 0-15 indexes for databases, you can change that number databases NUMBER in redis.conf.
6565

66-
## Running Redis container with Persistent Storage
66+
## Step 5: Running Redis container with Persistent Storage
6767

6868
In order to enable persistence, you have to pass the "appendonly" option as "yes" as shown in the below example:
6969

@@ -96,23 +96,23 @@ docker run -d --cap-add sys_resource --name rp -p 8443:8443 -p 9443:9443 -p 1200
9696

9797
In the web browser on the host machine, go to https://localhost:8443 to see the Redis Enterprise Software web console.
9898

99-
## Click on “Setup”
99+
## Step 1: Click on “Setup”
100100

101101
Click Setup to start the node configuration steps.
102102

103103

104104
![My Image](images/resoftware-1.png)
105105

106106

107-
## Enter your preferred FQDN
107+
## Step 2: Enter your preferred FQDN
108108

109109
In the Node Configuration settings, enter a cluster FQDN such as demo.redislabs.com. Then click Next button.
110110

111111
![My Image](images/resoftware-2.png)
112112

113113
Enter your license key, if you have one. If not, click the Next button to use the trial version.
114114

115-
## Enter the admin credentials
115+
## Step 3: Enter the admin credentials
116116

117117
Enter an email and password for the admin account for the web console.
118118

@@ -123,7 +123,7 @@ Click OK to confirm that you are aware of the replacement of the HTTPS SSL/TLS c
123123

124124

125125

126-
## Create a Database:
126+
## Step 4: Create a Database:
127127

128128
Select “redis database” and the “single region” deployment, and click Next.
129129

@@ -138,7 +138,7 @@ You now have a Redis database!
138138

139139

140140

141-
## Connecting using redis-cli
141+
## Step 5: Connecting using redis-cli
142142

143143
After you create the Redis database, you are ready to store data in your database. redis-cli is a built-in simple command-line tool to interact with Redis database. Run redis-cli, located in the /opt/redislabs/bin directory, to connect to port 12000 and store and retrieve a key in database1
144144

docs/create/from-source/index-from-source.mdx

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ slug: /create/from-source/
77

88

99

10-
### Download, extract and compile Redis
10+
## Step 1: Download, extract and compile Redis
1111

1212
```
1313
wget http://download.redis.io/redis-stable.tar.gz
@@ -27,13 +27,13 @@ Or just using ```sudo make install.```
2727
The binaries that are now compiled are available in the src directory.
2828

2929

30-
### Running Redis Server
30+
### Step 2: Running Redis Server
3131

3232
```
3333
$ redis-server
3434
```
3535

36-
### Interacting with Redis Client
36+
### Step 3: Interacting with Redis Client
3737

3838
```
3939
$ src/redis-cli

0 commit comments

Comments
 (0)