# Installing Discourse to Debian 10.5

**URL:** https://meta.discourse.org/t/installing-discourse-to-debian-10-5/200085
**Category:** Self-hosting
**Created:** [August 11, 2021, 4:00pm UTC](https://meta.discourse.org/t/installing-discourse-to-debian-10-5/200085 "2021-08-11T16:00:50Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![ITAS-Isti](https://avatars.discourse-cdn.com/v4/letter/i/87869e/32.png) [@ITAS-Isti](https://meta.discourse.org/u/ITAS-Isti)
#### Post date: [August 11, 2021, 4:00pm UTC](https://meta.discourse.org/t/installing-discourse-to-debian-10-5/200085/1 "2021-08-11T16:00:50Z")

</div>

Hallo,

I just tried to install Discourse to Debian 10.5:

```plaintext
root@itas-vm-2:/var/discourse# ls
bin cids containers discourse-doctor discourse-setup image launcher LICENSE README.md samples scripts shared templates tests
root@itas-vm-2:/var/discourse# discourse-setup
-bash: discourse-setup: command not found
root@itas-vm-2:/var/discourse#

```

Docker is already installed and active. If I would like to start “discourse-setup” it is not found even thought, it is in the directory.

What is wrong at my test?

Best regards

I.

---

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [August 11, 2021, 4:13pm UTC](https://meta.discourse.org/t/installing-discourse-to-debian-10-5/200085/2 "2021-08-11T16:13:11Z")

</div>

You may be just missing `./`

Try:

```plaintext
./discourse-setup

```

See: [http://unix.stackexchange.com/questions/4430/ddg#4459](http://unix.stackexchange.com/questions/4430/ddg#4459)

---

<div class="post-metadata">

### Author: ![ITAS-Isti](https://avatars.discourse-cdn.com/v4/letter/i/87869e/32.png) [@ITAS-Isti](https://meta.discourse.org/u/ITAS-Isti)
#### Post date: [August 11, 2021, 4:27pm UTC](https://meta.discourse.org/t/installing-discourse-to-debian-10-5/200085/3 "2021-08-11T16:27:23Z")

</div>

Thank you Robert, it was the solution. 🙂  
As I still have no final domain; i have simply used the internal hostname [XXXX-vm-2.XXX.kit.edu](http://XXXX-vm-2.XXX.kit.edu)

If I open it in the domain I receive only a NGINX page:

==================

# Welcome to nginx!

If you see this page, the nginx web server is successfully installed and working. Further configuration is required.

For online documentation and support please refer to).  
Commercial support is available at ).

# _Thank you for using nginx._

What ist the exact URL of a default Discourse installation?  
I think If i finished the Config with e. g. SMTP, the Discourse should be already started, correct?

Bootsstrapping should be already finished.

I.

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [August 11, 2021, 4:47pm UTC](https://meta.discourse.org/t/installing-discourse-to-debian-10-5/200085/4 "2021-08-11T16:47:57Z")

</div>

You need to remove the nginx installed in the host machine. Discourse wants to bind to the port 80 by default.

---

<div class="post-metadata">

### Author: ![ITAS-Isti](https://avatars.discourse-cdn.com/v4/letter/i/87869e/32.png) [@ITAS-Isti](https://meta.discourse.org/u/ITAS-Isti)
#### Post date: [August 11, 2021, 4:57pm UTC](https://meta.discourse.org/t/installing-discourse-to-debian-10-5/200085/5 "2021-08-11T16:57:11Z")

</div>

Hi Rafael, NGINX is needed for an other application as well.  
In this case there is no way to install Discourse on the same VM?

A generell question: can the hostname of the vm used as domain for Discourse or are these technically not equal?

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [August 11, 2021, 4:59pm UTC](https://meta.discourse.org/t/installing-discourse-to-debian-10-5/200085/6 "2021-08-11T16:59:46Z")

</div>

> [@ITAS-Isti](#):
>
> NGINX is needed for an other application as well.  
> In this case there is no way to install Discourse on the same VM?

It’s _doable_ but it’s a more advanced setup, only recommended for experienced users: [Run other websites on the same machine as Discourse](https://meta.discourse.org/t/running-other-websites-on-the-same-machine-as-discourse/17247).

If you aren’t already familiar with hosting multiple domains and nginx reverse-proxy configuration it’s easier and faster to use another server for it.

---

<div class="post-metadata">

### Author: ![ITAS-Isti](https://avatars.discourse-cdn.com/v4/letter/i/87869e/32.png) [@ITAS-Isti](https://meta.discourse.org/u/ITAS-Isti)
#### Post date: [August 11, 2021, 5:02pm UTC](https://meta.discourse.org/t/installing-discourse-to-debian-10-5/200085/7 "2021-08-11T17:02:20Z")

</div>

Ok, Thank you very much for your quick confirmation.

Regards

Istvan

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [September 13, 2021, 11:00am UTC](https://meta.discourse.org/t/installing-discourse-to-debian-10-5/200085/9 "2021-09-13T11:00:24Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
