# 关于在没有 root 权限的情况下安装 discourse

**URL:** <https://meta.discourse.org/t/regarding-installation-of-discourse-without-root-access/37521>\
**Category:** Self-hosting\
**Created:** [2016年一月6日 08:11 UTC](https://meta.discourse.org/t/regarding-installation-of-discourse-without-root-access/37521 "2016-01-06T08:11:28Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alankrit\_Choudh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/alankrit_choudh/32/119698_2.png) [@Alankrit\_Choudh](https://meta.discourse.org/u/Alankrit_Choudh)\
**Post date:** [2016年一月6日 08:11 UTC](https://meta.discourse.org/t/regarding-installation-of-discourse-without-root-access/37521/1 "2016-01-06T08:11:28Z")

</div>

Can discourse be installed on a new set up using the docker method. Without root. I have sudo to my new server.

---

<div class="post-metadata">

**Author:** ![mpalmer](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mpalmer/32/45740_2.png) [@mpalmer](https://meta.discourse.org/u/mpalmer)\
**Post date:** [2016年一月6日 08:53 UTC](https://meta.discourse.org/t/regarding-installation-of-discourse-without-root-access/37521/2 "2016-01-06T08:53:56Z")

</div>

sudo _is_ root; you use the sudo program to execute programs (or get a shell) with root privileges.

---

<div class="post-metadata">

**Author:** ![fefrei](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/fefrei/32/119538_2.png) [@fefrei](https://meta.discourse.org/u/fefrei)\
**Post date:** [2016年一月6日 08:54 UTC](https://meta.discourse.org/t/regarding-installation-of-discourse-without-root-access/37521/3 "2016-01-06T08:54:01Z")

</div>

Using Docker requires root privileges (or special privileges to use Docker, which effectively give you root access).

What do you mean by “without root”, but “I have sudo”? Do you mean that the root account is disabled, but you can use it using sudo?

---

<div class="post-metadata">

**Author:** ![Alankrit\_Choudh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/alankrit_choudh/32/119698_2.png) [@Alankrit\_Choudh](https://meta.discourse.org/u/Alankrit_Choudh)\
**Post date:** [2016年一月6日 11:02 UTC](https://meta.discourse.org/t/regarding-installation-of-discourse-without-root-access/37521/4 "2016-01-06T11:02:19Z")

</div>

The root account is disabled, the hosting has provided me a server with no root access.

Never mind just found a way.

Sudo su!

---

<div class="post-metadata">

**Author:** ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)\
**Post date:** [2024年六月8日 12:46 UTC](https://meta.discourse.org/t/regarding-installation-of-discourse-without-root-access/37521/5 "2024-06-08T12:46:00Z")

</div>

此主题已在 3076 天后自动关闭。不再允许回复。
