summaryrefslogtreecommitdiffstats
path: root/docs/content/doc/installation/from-binary.en-us.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/content/doc/installation/from-binary.en-us.md')
-rw-r--r--docs/content/doc/installation/from-binary.en-us.md12
1 files changed, 12 insertions, 0 deletions
diff --git a/docs/content/doc/installation/from-binary.en-us.md b/docs/content/doc/installation/from-binary.en-us.md
index c7824c3480..5c8973fa94 100644
--- a/docs/content/doc/installation/from-binary.en-us.md
+++ b/docs/content/doc/installation/from-binary.en-us.md
@@ -80,6 +80,7 @@ git --version
Create a user to run Gitea (e.g. `git`)
```sh
+# On Ubuntu/Debian:
adduser \
--system \
--shell /bin/bash \
@@ -88,6 +89,17 @@ adduser \
--disabled-password \
--home /home/git \
git
+
+# On Fedora/RHEL/CentOS:
+groupadd --system git
+adduser \
+ --system \
+ --shell /bin/bash \
+ --comment 'Git Version Control' \
+ --gid git \
+ --home-dir /home/git \
+ --create-home \
+ git
```
### Create required directory structure