How to install discourse on hosting?

Hello i like your comunity and i desided to run discourse on my hosting but its confused to install it im runing centos eny help?

stuck on

[root@server public_html]# ./discourse-setup
which: no docker.io in (/sbin:/bin:/usr/sbin:/usr/bin)
which: no docker.io in (/sbin:/bin:/usr/sbin:/usr/bin)
Port 80 appears to already be in use.

This will show you what command is using port 80
COMMAND   PID   USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
httpd     467   root    4u  IPv6 616054      0t0  TCP *:http (LISTEN)
httpd     472 nobody    4u  IPv6 616054      0t0  TCP *:http (LISTEN)
httpd     473 nobody    4u  IPv6 616054      0t0  TCP *:http (LISTEN)
httpd     474 nobody    4u  IPv6 616054      0t0  TCP *:http (LISTEN)
httpd   13038 nobody    4u  IPv6 616054      0t0  TCP *:http (LISTEN)

If you are trying to run Discourse simultaneously with another web
server like Apache or nginx, you will need to bind to a different port

See meta discourse org/t/17247

If you are reconfiguring an already-configured Discourse, use

./launcher stop app

The issue is right in the output youā€™ve shared. Something else on your server is using port 80, which Discourse needs to use. If youā€™re not running anything else on the server you should disable NGINX, Apache, or whatever is using port 80. If you are running something else, you need to follow the instructions in the topic linked above, meta.discourse.org/t/17247.

1 Like

its runing ather sites the hosting holding about 20 websites so apache on port 80 is runing the server using cwp ā€¦ so i cant shut down all server ā€¦

Maby im created wrong question is it posible tu runn discourse without shell aqess ?

No, it is not possible to run Discourse without shell access and root permissions.

ok if i got root premissions and i like to run discourse jus on one domain?

You need to configure the front web server to forward traffic to the docker container.

5 Likes

So i need to reinstall my whole server fresh install discourse and then configurate ngix to run ather sites yap ?

Or figure out an Apache equivalent to the ā€œCreate an NGINX ā€˜siteā€™ for the outer nginxā€ section.

Some discussion to that effect here:
https://meta.discourse.org/t/run-discourse-with-or-alongside-existing-apache-sites/19514

5 Likes

Also, there are many problems with CentOS and docker. Judging from the questions youā€™re asking, Iā€™m guessing that itā€™ll take you several hours and a bunch of down time on all of your web sites to figure out how to install Discourse with your Apache server. First, though, youā€™ll need to figure out how to get Docker installed.

For $60/year, you could host it on its own droplet at Digital Ocean (or others).

5 Likes

no i ges its cheaper to place new server with PentiumĀ® Dual-Core CPU E5500 @ 2.80GHz install fresh ubuntu and run it it cost me 80 euros for that :slight_smile:

Done https://tavopc.lt runing on centos all ather sites moved to ather server ā€¦ :frowning: system is awesom!

1 Like