How would you enable swap for that?
Discourse-setup automatically creates a swap file.
Huh, it didn’t for me.
nvm fixed it
Correct, because your server doesn’t have enough physical RAM. It failed the system requirements check, so installation didn’t proceed.
You need 1GB RAM to install, and a 1GB system will also need swap. You don’t have 1GB, your system isn’t supported.
See:
I’ve tried this and the old adage rings true: you get what you pay for.
The default is image Oracle Linux, which does not have 1GB as advertised. I used the Ubuntu image that is eligible for the free tier and that did have 1GB. Or rather close enough for Discourse to install.
This was super helpful because I got lost in a maze of contradictory suggestions when following the script’s advice to Google “open ports oracle cloud”.
It was disappointing to see Oracle dropped free SMTP service, but setting up Mailjet wasn’t too complicated. You still get what you pay for, but at least you aren’t paying the price of a byzantine setup. And you’ll need an email provider if you move to a different hosting service anyway.
Having plowed through those troubles, I’m now getting this error from discourse-setup:
Launcher is up-to-date
cd /pups && git pull && /pups/bin/pups --stdin
fatal: unable to access 'https://github.com/discourse/pups.git/': Could not resolve host: github.com
I suspect I’ve messed something up while fighting with the firewall settings. It looks like this is still an option if you don’t want to spend any money, but I think I’m giving up for now. Hopefully these notes will help others in the future.
Oh. I also got an email from an Oracle sales person just now. Never change, Oracle. ![]()
That does seem to be the problem. I started over and worked out the kinks. I also wrote up the process on my blog. Gonna try it out for a while as my blog comment system and see how it goes. ![]()
Just chiming in here - big thanks to Jon and the blog post above he created! That helped me get up and running. Thanks!
Oracleの無料プランにDiscourseをインストールするための詳細なチュートリアルを作成しました。
これはWikiなので、自由に改善してください!
無料のOracleティアに1つの追加機能があります。新しい「Ampere」ARMインスタンスも選択できます。無料ティアでは最大4コアと12 GBのRAMを利用できます。Discourseのインストールは、ARMプロセッサでも問題なく機能するようで、パフォーマンスもかなり印象的です。インストールしたばかりなので、様子を見てみます。
面白いですね!それは新しい追加機能ですか?私はこの種のことに詳しくありませんが、それはDiscourseをサポートされているインストールとしてインストールできる「標準」の仮想マシンですか?
4コア12GBのRAMが無料というのは…奇妙ですね?
x86_64ではなくARMベースだからです。そしてDiscourseは最近ARMのサポートを得たばかりです。
無料のOracleティアでは、最大2台の仮想マシンを使用できます。これも1台分のスペースを使用しますか?
ええ、でも私は@Canapinと同じ意見です。プロセッサの種類に関係なく、4コアと12GBのRAMは無料ティアとしてはかなり多いように思えます。
この価格(無料ティア)では、もちろんサポートはほとんどないことに注意してください。そして…まあ、数週間前に私のディスコースサンドボックスが消えてしまい、新しいものを作成する可能性もなく、Ampereインスタンスの在庫が枯渇してしまったのを見て、かなりがっかりしました… ![]()
(しかし、それはかなりうまく機能していました)
ご自身で何か操作されたわけでもなく、Oracleからの警告もなく、自然に消えてしまったということでしょうか?
おそらく、ここで起こったことは、無料トライアルがあったということです。このようなより強力なインスタンスを短時間試すことができます。その後、支払う必要があります。
また、利用可能なままの非常に低電力の無料ティアもあります。
確かに、それは無料ティアの半分、2つのアンペアvcoreと12GBのRAMでした。
