Skip to content

Commit c89c028

Browse files
committed
Improve deployment documentation
1 parent 0971314 commit c89c028

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

content/collections/create.en.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -183,8 +183,8 @@ Before proceeding with deployment, ensure that the server meets the following re
183183

184184
- Make sure that a non-root user has been set up on the server, if not you can create by following:
185185

186-
- Once logged in on your server, create a new user: `adduser <user>`. Follow the prompts to set a password for the new user and provide any additional information if required.
187-
- Grant sudo privileges: `usermod -aG sudo <user>`.
186+
- Once logged in on your server, create a new user: `adduser <username>`. Follow the prompts to set a password for the new user and provide any additional information if required.
187+
- Grant sudo privileges: `usermod -aG sudo <username>`.
188188

189189
- Grant `sudo` rights to the designated user without requiring a password prompt. To achieve this:
190190

@@ -193,7 +193,7 @@ Before proceeding with deployment, ensure that the server meets the following re
193193
- Add the following line at the end of this section:
194194

195195
```shell
196-
<user> ALL=(ALL) NOPASSWD:ALL
196+
<username> ALL=(ALL:ALL) NOPASSWD:ALL
197197
```
198198

199199
### Define the inventory
@@ -312,7 +312,7 @@ On your local machine:
312312

313313
#### Create the SSH key
314314

315-
- Create a new SSH key: `ssh-keygen -t ed25519 -C [email protected] -P "" -f ./<collection_name>-key`
315+
- Create a new SSH key: `ssh-keygen -t ed25519 -C [email protected] -P "" -f ~/.ssh/<collection_name>-key`
316316
- Copy the generated private key file
317317

318318
#### Encrypt private key and update deployment

0 commit comments

Comments
 (0)