Discourse with Apache, MySQL and PHP

Hello,

If users with Apache, MySQL, and PHP can install Discourse, I think the market capture of Discourse would increase greatly. Thank you.

Tom

Do users and community managers really care what something is written in?

I recommend reading Why Ruby?

1 „Gefällt mir“
 * and the references of that post
1 „Gefällt mir“

Many website administrators need LAMP to build their business websites in addition to Discourse. However, if they deploy Discourse on their LAMP server, the Apache had to use a different port. Some kind of trade off between Apache and Discourse.

But, I do really think that Discourse is a great work!

Well if apache is anything like nginx, i would expect it to be possible to forward different connections/subdomains/hosts to different local ports. discourse listens on one of those ports (or on a unix socket) and the php website listens on another.

i have the feeling we’re going off the original post’s subject.

I don’t know whether that is true, but I do know that will never happen.

What most people do is to run discourse on another server.

2 „Gefällt mir“

If two servers mean two public IP addresses. But many small home users only has one public IP address.

This means they must use iptables rules to set up a DNAT gateway.

Tom

Most admins surely sensibly host in the cloud? Just guessing but suspect that’s a cheaper approach than having business class broadband at home. For the price premium of that you surely could instead afford several VPS servers in the cloud with superior internet bandwidth?

It’s a trade off, man.

I have many data like movies files to stream for my home (via Plex). I have my home server with big size hard drives so that I could backup many of my documents and data there.

For example, you could upload public data to the home server and everyone in the private network could download them if permitted. I have my home private network of 1000 Mbps bandwidth, really fast. But with a cloud VPS, this is not a good plan. The bandwidth between your client and the cloud VPS server might be 100 Mbps or so, but it is unlike that it could be 1000 Mbps.

The cloud computer service has serious disk size limit for above intentions.

Actually, I have my cloud VPS server but I only use it to establish the IPsec connections.

Tom

But you don’t need 100’s of Gigs of storage for small to medium sized communities?

2 „Gefällt mir“

Ich bin gerade zufällig über diesen Beitrag gestolpert und dachte, ich gebe auch meine Gedanken dazu ab.

Obwohl in der Webentwicklung immer eine gewisse Stimmung für bestimmte neuere Sprachen herrscht, die die Zukunft sind, waren LAMP die grundlegenden Komponenten für das Hosten einer Website, insbesondere für kleine Unternehmen oder Organisationen – dieselbe Zielgruppe, die Discourse zur Erweiterung ihrer Communities benötigen würde, und sie möchten nicht die Vorstellung haben, etwas einrichten zu müssen, das völlig getrennt von ihrer Infrastruktur ist, und wir sollten nicht diejenigen sein, die beurteilen, wie sie ihre Infrastruktur aufbauen wollen. Es gibt immer triftige Gründe dafür, dass Leute Discourse auf LAMP benötigen, egal wie speziell der Fall sein mag.

Solange wir es aus der Sicht der Softwareentwicklung betrachten, bedeutet das Hinzufügen einer Variante lediglich Aufwand und Marktanteil, es muss nicht immer ein Ersatz für die andere Sprache sein.

Allerdings gibt es berechtigte technische Überlegungen hinsichtlich der Verwendung von LAMP, da Discourse einige Funktionen hat, die Echtzeitverarbeitung nutzen können und einen Daemon/Laufzeitumgebung erfordern, die immer im Speicher vorhanden ist, während Apache von Grund auf anders aufgebaut ist, um eher ad-hoc als immer präsent zu sein. Einige Anpassungen oder Mechanismen funktionieren möglicherweise auf einer völlig anderen Grundlage, um das gleiche Benutzererlebnis zu erzielen.

Vielleicht etwas plump, aber dann ist der Betrieb von Discourse nichts für sie. Wenn sie nicht die Mühe auf sich nehmen können, es selbst zu betreiben, sollten sie die gehosteten Optionen nutzen.

Discourse hinter einem Apache-Server (der auch PHP-Anwendungen mit MySQL hostet) zu betreiben, ist nicht unmöglich oder unglaublich schwierig. Man muss „nur“ in der Lage sein, Docker-Container auszuführen. Man kann entweder HTTP oder einen Unix-Socket verwenden, um den Apache-Verkehr an Discourses Nginx weiterzuleiten. All dies ist bei einem $10/Monat VPS je nach Traffic problemlos möglich.

3 „Gefällt mir“