# Recommended server configuration

**URL:** <https://forum.gitea.com/t/recommended-server-configuration/956>\
**Category:** Install/Maintain/Configure\
**Created:** [February 21, 2019, 7:51pm UTC](https://forum.gitea.com/t/recommended-server-configuration/956 "2019-02-21T19:51:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bear](https://avatars.discourse-cdn.com/v4/letter/b/ac8455/32.png) [@Bear](https://forum.gitea.com/u/Bear)\
**Post date:** [February 21, 2019, 7:51pm UTC](https://forum.gitea.com/t/recommended-server-configuration/956/1 "2019-02-21T19:51:47Z")

</div>

Was installing and setting up Gitea last night using the [Installation from binary](https://docs.gitea.io/en-us/install-from-binary/) page when I noticed some of the issues with the “Recommended server configuration” section of the page.

Under the “Create required directory structure” it lists out these commands for you to create a _proper_ directory structure, but the commands seem to not make sense.

```auto
mkdir -p /var/lib/gitea/{custom,data,indexers,public,log}
chown git:git /var/lib/gitea/{data,indexers,log}
chmod 750 /var/lib/gitea/{data,indexers,log}
mkdir /etc/gitea
chown root:git /etc/gitea
chmod 770 /etc/gitea

```

It asks you to make `/var/lib/gitea/{custom,data,indexers,public,log}`, but doesn’t give permission to `/var/lib/gitea/{custom,public}`. Am I missing something or is this just a mistake in the docs?

---

<div class="post-metadata">

**Author:** ![Bear](https://avatars.discourse-cdn.com/v4/letter/b/ac8455/32.png) [@Bear](https://forum.gitea.com/u/Bear)\
**Post date:** [February 23, 2019, 7:11pm UTC](https://forum.gitea.com/t/recommended-server-configuration/956/2 "2019-02-23T19:11:03Z")

</div>

Went ahead and solved the issue while rewritting some of the docs for [Installation from binary](https://docs.gitea.io/en-us/install-from-binary/).

[https://pastebin.com/raw/dRFXqQre](https://pastebin.com/raw/dRFXqQre)

`indexers/` is still writing to the working directory and has no configuration option on install, nor after installation is there an option in `/etc/gitea/app.ini`. I’ll be making an issue on GitHub to hopefully have the docs fixed along with `indexers/` writing funny.

Update: [https://github.com/go-gitea/gitea/issues/6172](https://github.com/go-gitea/gitea/issues/6172)
