Skip to content

Commit

Permalink
Fix binary permission issues on run in production guide (#3023)
Browse files Browse the repository at this point in the history
  • Loading branch information
guimachiavelli authored Oct 16, 2024
1 parent d61a25b commit 1d86fb0
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion guides/running_production.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ Next, you need to make the binary accessible from anywhere in your system. Move
mv ./meilisearch /usr/local/bin/
```

Meilisearch is now running, but it is not publicly accessible.
Meilisearch is now installed in your system, but it is not publicly accessible.

## Step 2: Create system user

Expand All @@ -56,6 +56,12 @@ Running applications as root exposes you to unnecessary security risks. To preve
useradd -d /var/lib/meilisearch -s /bin/false -m -r meilisearch
```

Then give the new user ownership of the Meilisearch binary:

```sh
chown meilisearch:meilisearch /usr/local/bin/meilisearch
```

## Step 3: Create a configuration file

After installing Meilisearch and taking the first step towards keeping your data safe, you need to set up a basic configuration file.
Expand Down

0 comments on commit 1d86fb0

Please sign in to comment.