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!
لقد أنشأتُ برنامجًا تعليميًا مفصلاً للمساعدة في تثبيت Discourse على الخطة المجانية لـ Oracle.
إنها ويكي: لا تتردد في تحسينها!
إضافة واحدة إلى طبقة Oracle المجانية - يمكنك أيضًا تحديد مثيلات ARM الجديدة “Ampere”، مع ما يصل إلى 4 نوى و 12 جيجابايت من ذاكرة الوصول العشوائي في الطبقة المجانية. يبدو أن تثبيت Discourse يعمل بسلاسة على معالجات ARM، والأداء مثير للإعجاب أيضًا. تم التثبيت للتو - سنرى كيف سيستمر.
مثير للاهتمام! هل هذا إضافة جديدة؟ لا أعرف الكثير عن هذه الأشياء، ولكن هل هذا مثل جهاز افتراضي “قياسي” يمكن تثبيت Discourse عليه كتثبيت مدعوم؟
4 أنوية و 12 جيجابايت من ذاكرة الوصول العشوائي مجانًا يبدو… غريبًا؟
ذلك لأنه يعتمد على ARM بدلاً من x86_64. و Discourse اكتسب الدعم لـ ARM مؤخرًا.
تسمح طبقة Oracle المجانية بما يصل إلى جهازي كمبيوتر افتراضيين. هل يأخذ هذا واحدًا من المساحات أيضًا؟
نعم، لكنني مع @Canapin. تبدو 4 نوى و 12 جيجابايت من ذاكرة الوصول العشوائي كثيرًا بالنسبة لمستوى مجاني، بغض النظر عن نوع المعالج.
كن على علم بأنه لهذا السعر (المستوى المجاني) لا يوجد تقريبًا أي دعم بالطبع، و… حسنًا، لقد شعرت بخيبة أمل كبيرة لرؤية أن بيئة اختبار Discourse الخاصة بي قد اختفت قبل بضعة أسابيع، دون إمكانية إنشاء بيئة جديدة، ونفاد مخزون مثيلات Ampere… ![]()
(لكنها عملت بشكل جيد جدًا)
هل تقصد أنها اختفت من تلقاء نفسها، دون أي إجراء منك، أو أي تحذير من Oracle؟
أعتقد أن ما حدث هنا هو وجود فترة تجريبية مجانية. يمكنك تجربة مثيلات ذات طاقة أعلى مثل هذه لفترة قصيرة. بعد ذلك، يتعين عليك الدفع.
هناك أيضًا مستوى مجاني منخفض الطاقة للغاية يظل متاحًا.
بالتأكيد، كان ذلك نصف الطبقة المجانية، 2 نواة Ampere و 12 جيجابايت من ذاكرة الوصول العشوائي
- مثيلات الحوسبة Ampere A1 (معالج Arm): تحصل جميع المستأجرين على أول 3000 ساعة OCPU و 18000 جيجابايت ساعة شهريًا مجانًا لمثيلات VM التي تستخدم VM.Standard.A1.Flex الشكل، والذي يحتوي على معالج Arm. بالنسبة للمستأجرين المجانيين دائمًا، هذا يعادل 4 OCPUs و 24 جيجابايت من الذاكرة.
أواجه صعوبة في الفهم، ولكن… هل هذا يعني أنه كلما زاد استخدامنا لسعته، زاد عدد “الساعات” التي يقضيها اعتمادًا على مواصفاته أو شيء من هذا القبيل؟
