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
 * and the references of that post
「いいね!」 1

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

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

たまたまこの投稿を見かけ、私もここに考えを書き留めておこうと思いました。

ウェブ開発には常に、特定の新しい言語が「未来」であるという感情がありますが、LAMPはウェブサイトをホストするための基本的なコンポーネントであり続けてきました。特に、コミュニティを成長させるためにDiscourseを必要とする可能性のある中小企業や組織にとって、彼らはインフラストラクチャとは完全に切り離されたものをセットアップするという考えを好まないでしょうし、彼らがインフラストラクチャをどのように構築するつもりかを判断するのは私たちの役目ではありません。DiscourseをLAMPで必要とするのには、どのようなに特殊なケースであっても、常に正当な理由があります。

ソフトウェア開発の観点から考えると、バリアントを追加することは、単に労力と市場シェアを意味し、必ずしも他の言語の代替となる必要はありません。

とはいえ、Discourseには、常にインメモリで存在する必要のあるデーモン/ランタイムを必要とするリアルタイム処理を利用する可能性のある機能がいくつかあるため、LAMPを使用することには正当な技術的考慮事項があります。Apacheは、常時稼働するのではなく、アドホックであるように根本的に異なる構築がされています。同じユーザーエクスペリエンスを実現するために、完全に異なる基盤で機能するいくつかの調整やメカニズムがあるかもしれません。

少しぶっきらぼうかもしれませんが、Discourseを運用するのは彼ら向けではないでしょう。自分で運用する努力ができないのであれば、ホストされているオプションを使うべきです。

Apacheサーバー(PHPアプリケーションとMySQLもホストしている)の背後でDiscourseを動かすことは不可能ではありませんし、信じられないほど難しいわけでもありません。必要なのは「Dockerコンテナ」を実行できることだけです。ApacheトラフィックをDiscourseのnginxにプロキシするために、HTTPまたはUnixソケットを使用できます。トラフィックに応じて、これらはすべて月額10ドルのVPSで容易に実現可能です。

「いいね!」 3