Skip to content

Update installation instructions for MongoDB#1135

Open
igroene wants to merge 1 commit into
8.0from
igroene-patch-3
Open

Update installation instructions for MongoDB#1135
igroene wants to merge 1 commit into
8.0from
igroene-patch-3

Conversation

@igroene

@igroene igroene commented Jun 2, 2026

Copy link
Copy Markdown
Member

No description provided.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the tarball-based installation instructions for Percona Server for MongoDB, adding guidance for running mongod under a dedicated user and (optionally) via a systemd unit.

Changes:

  • Adds steps to create a mongod user/group for tarball installs (RHEL/derivatives section).
  • Adds an optional systemd unit file example for running mongod as a service.
  • Normalizes formatting/indentation of the GLIBC rseq/TCMalloc environment snippet in the Debian/Ubuntu section.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread docs/install/tarball.md
Comment on lines +90 to +93
```bash
$ groupadd -r mongod
$ useradd -M -r -g mongod -d /var/lib/mongo -s /bin/false -c mongod mongod
```
Comment thread docs/install/tarball.md
Comment on lines +104 to +105
```bash
tee /usr/lib/systemd/system/mongod.service <<EOF
Comment thread docs/install/tarball.md
Comment on lines +138 to +139
EOF
```
Comment thread docs/install/tarball.md
Environment="MONGODB_CONFIG_OVERRIDE_NOFORK=1"
Environment="GLIBC_TUNABLES=glibc.pthread.rseq=0"
EnvironmentFile=-/etc/sysconfig/mongod
ExecStart=/usr/bin/mongod $OPTIONS
Comment thread docs/install/tarball.md
LimitMEMLOCK=infinity
TasksMax=infinity
TasksAccounting=false
Environment="OPTIONS=-f /etc/mongod.conf"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants