אני חדש ב-Discourse ומנסה להקים פורום משלי. יש לי שרת ווב שרץ על Linux ו- WHM/Cpanel, שזה עבד בסדר עבור אתרי ה-Wordpress שלי.
הפעלתי שרת חדש שהיה מיועד לארח את האתר החדש והתקנת Discourse על בסיס אותו אתר (יהיה אתר ראשי למותג, עם תוסף WordPress של Discourse מותקן וקישור לפורום באתר). נראה שהכל הלך טוב עד שנושא התעודות וה-Auto SSL (לא הצלחתי למצוא את מפתחות הפרטי בקלות). קראתי שלא כדאי להריץ את certbot ואת Auto SSL של WHM על אותו מכשיר. אז העברתי את האתר לשרת WHM אחר והתחלתי מחדש עם Alma Linux חדש עם WHM, והכל עבד עם Discourse רץ. אחר כך הבנתי ש-WHM לא ממש נדרש.
הבעיה שלי היא שאני לא מנוסה ב-Linux; אני חושב שאוכל להתקין את זה על המחשב הבלעדי (ללא WHM), אבל אני לא בטוח שאני מספיק מיומן ב-Linux כדי לאבטח את המכשיר ולבצע תחזוקה שוטפת כמו גיבוי, מעקב אחר שימוש בדיסק ועוד. אני מאוד צריך ממשק גרפי ומרגיש קצת מפוחד ללכת בלי.
סיפור ארוך, אבל רציתי לתת רקע ולשאול באילו כלים אחרים משתמשים להריץ Docker ו-Discourse. מחיפוש באינטרנט, נראה שזה בדרך כלל ב-Ubuntu, אבל יכול שגוי.
אני רוצה שיהיה לי ממשק גרפי, תוכנה לגיבוי ויכולת לשחזור במהירות וקלים במקרי אסון, לבדוק את השימוש בדיסק, מעקב וכדומה.
האם Ubuntu הוא הפתרון וכי הוא יספיק להריץ אתר Discourse גדול? אני יודע שהחומרה תמשחק תפקיד גדול בזה, אבל רציתי לבדוק. למשל, אם בסבירות גבוהה אגיע ל-100,000 משתמשים או יותר, האם Ubuntu יהיה יציב?
Thanks very much NateDhaliwal. I will go with Ubuntu.
Unfortunately, I want to have the forum with my own domain name and as it is a new website, I don’t want to have to spend the money on the hosted tier that allows for that. If the website and forum go well I will definately change over.
Just as a side note I wonder if you know if it is possible to go from self hosted discourse to hosted. Would it be as simple as backing up the file on the self hosted and restoring to hosted?
A long time ago, I felt the same way. Eventually, you begin to feel differently. You begin to feel the control a Linux OS gives you as far as what you want to load on the system, how you want it to work and the freedom from closed source software. You learn to use command line tools intuitively and you begin to feel like you can ‘see’ the system much better then any GUI will afford.
No hard evidence, no tips or advise. Just a story about my own experiences
Thanks Andrew. Actually the thing that I am most freaked out about is backup and restore in a disaster situation. The server is virtual so I can’t do an ISO image. I’m not really sure the best way to backup and then restore from scratch. I’m used to GUI style backups and restores. I was looking at rclone and restic but they seemed complicated.
I want to test the whole disaster situation with a server running discourse, break it and test the plan works before I start configuring discourse for my forum.
I don’t think my hosting offers snapshots. I will ask them. I would really like to cut down the time having to reinstall the entire server with all the settings again, in the event of a disaster.