root@server:/var/discourse# ./discourse-setup
WARNING: Discourse requires at least 2GB of swap when running with 2GB of RAM
or less. This system does not appear to have sufficient swap space.
Without sufficient swap space, your site may not work properly, and future
upgrades of Discourse may not complete successfully.
Ctrl+C to exit or wait 5 seconds to have a 2GB swapfile created.
install: cannot remove '/swapfile': Operation not permitted
fallocate: fallocate failed: Text file busy
mkswap: error: /swapfile is mounted; will not make swapspace
swapon: /swapfile: swapon failed: Device or resource busy
/swapfile swap swap auto 0 0
vm.swappiness = 10
Failed to create swap: are you root? Are you running on real hardware, or a fully virtualized server?
لدي خادم افتراضي (VPS) بسعة 2 جيجابايت من الذاكرة العشوائية (RAM) و50 جيجابايت من محرك الأقراص ذات الحالة الصلبة (SSD)، وقد قمت أيضًا بإعداد نطاق فرعي لـ Discourse.
حسناً، إذا اضطررت للتخمين، سأراهن على أنه ليس KVM لأنه ببساطة أكثر تكلفة. لكن أظن أنه لا يضر أن تسأل فريقهم، حيث أن الأسئلة الشائعة لديهم لا تذكر تقنية التماثل الافتراضي على الإطلاق.