התקנת Discourse ל-Debian 10.5

סיכום מבוסס בינה מלאכותית

A user attempts to install Discourse on Debian 10.5 but encounters issues. The initial problem is that discourse-setup is not found, which is resolved by using ./discourse-setup merefield. After setup, the user sees a default Nginx page instead of Discourse, indicating a port conflict. Falco explains that Nginx on the host machine must be removed since Discourse binds to port 80 by default. The user asks if Discourse can coexist with another Nginx application on the same VM, and Falco clarifies that while possible, it requires advanced setup involving reverse proxy configuration and is not recommended for inexperienced users. ITAS-Isti acknowledges the advice and thanks the community.

Hallo,

I just tried to install Discourse to Debian 10.5:

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.

You may be just missing ./

Try:

./discourse-setup

See: http://unix.stackexchange.com/questions/4430/ddg#4459

Thank you Robert, it was the solution. :slight_smile:
As I still have no final domain; i have simply used the internal hostname 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.

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

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?

It’s doable but it’s a more advanced setup, only recommended for experienced users: Run other websites on the same machine as Discourse.

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.

Ok, Thank you very much for your quick confirmation.

Regards

Istvan