ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Deploying NodeBB 1.11.1 on CentOS 7 with MongoDB 4

    Scheduled Pinned Locked Moved IT Discussion
    nodebbcentos 7linuxmongodbmongodb 4.0howtocentosnodebb 1.11
    20 Posts 5 Posters 7.0k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • scottalanmillerS
      scottalanmiller @JaredBusch
      last edited by

      @JaredBusch said in Deploying NodeBB 1.11.1 on CentOS 7 with MongoDB 4:

      @scottalanmiller last install I did, I swear it used mongo by default.

      The setup wizard does, but the official NodeBB docs default to REDIS instructions. It's weird.

      JaredBuschJ 1 Reply Last reply Reply Quote 0
      • scottalanmillerS
        scottalanmiller @CloudKnight
        last edited by

        @StuartJordan said in Deploying NodeBB 1.11.1 on CentOS 7 with MongoDB 4:

        Personal preference really, I'm quite a Ubuntu Server Fan, but a lot of people here prefer Fedora and CentOs.

        Install variation should be tiny as long as you use similar NodeJS and MongoDB install instructions.

        1 Reply Last reply Reply Quote 0
        • JaredBuschJ
          JaredBusch @scottalanmiller
          last edited by

          @scottalanmiller said in Deploying NodeBB 1.11.1 on CentOS 7 with MongoDB 4:

          @JaredBusch said in Deploying NodeBB 1.11.1 on CentOS 7 with MongoDB 4:

          @scottalanmiller last install I did, I swear it used mongo by default.

          The setup wizard does, but the official NodeBB docs default to REDIS instructions. It's weird.

          Not particularly. Documentation is hard (read: time consuming) and always falls behind on almsot everything.

          1 Reply Last reply Reply Quote 1
          • scottalanmillerS
            scottalanmiller @bnrstnr
            last edited by

            @bnrstnr said in Deploying NodeBB 1.11.1 on CentOS 7 with MongoDB 4:

            What specific reasons for the CentOS recommendation here?

            Experience in production for this specific workload for one. And because we are installing all the key pieces separately from the OS. I assume Fedora would work flawlessly, but we want to avoid the temptation of using Fedora's RPM packages for NodeJS or MongoDB. CentOS appeals to a far wider audience when looking for a production deployment of something of this nature. Personally I'd prefer Fedora, yes.

            I think the instructions might work for both (best to swap YUM for DNF.)

            JaredBuschJ 1 Reply Last reply Reply Quote 1
            • JaredBuschJ
              JaredBusch @scottalanmiller
              last edited by

              @scottalanmiller said in Deploying NodeBB 1.11.1 on CentOS 7 with MongoDB 4:

              @bnrstnr said in Deploying NodeBB 1.11.1 on CentOS 7 with MongoDB 4:

              What specific reasons for the CentOS recommendation here?

              Experience in production for this specific workload for one. And because we are installing all the key pieces separately from the OS. I assume Fedora would work flawlessly, but we want to avoid the temptation of using Fedora's RPM packages for NodeJS or MongoDB. CentOS appeals to a far wider audience when looking for a production deployment of something of this nature. Personally I'd prefer Fedora, yes.

              I think the instructions might work for both (best to swap YUM for DNF.)

              So because you are preparing to deploy this as a business offering and want the "stabliity" of old?

              Otherwise, there is no reason to use CentOS, nor avoid the Fedora RPM packages.

              scottalanmillerS 2 Replies Last reply Reply Quote 0
              • scottalanmillerS
                scottalanmiller @JaredBusch
                last edited by

                @JaredBusch said in Deploying NodeBB 1.11.1 on CentOS 7 with MongoDB 4:

                @scottalanmiller said in Deploying NodeBB 1.11.1 on CentOS 7 with MongoDB 4:

                @bnrstnr said in Deploying NodeBB 1.11.1 on CentOS 7 with MongoDB 4:

                What specific reasons for the CentOS recommendation here?

                Experience in production for this specific workload for one. And because we are installing all the key pieces separately from the OS. I assume Fedora would work flawlessly, but we want to avoid the temptation of using Fedora's RPM packages for NodeJS or MongoDB. CentOS appeals to a far wider audience when looking for a production deployment of something of this nature. Personally I'd prefer Fedora, yes.

                I think the instructions might work for both (best to swap YUM for DNF.)

                So because you are preparing to deploy this as a business offering and want the "stabliity" of old?

                Because customers do, I'd prefer the "stability" of updated more if doing it for internal use.

                JaredBuschJ 1 Reply Last reply Reply Quote 0
                • JaredBuschJ
                  JaredBusch @scottalanmiller
                  last edited by

                  @scottalanmiller said in Deploying NodeBB 1.11.1 on CentOS 7 with MongoDB 4:

                  @JaredBusch said in Deploying NodeBB 1.11.1 on CentOS 7 with MongoDB 4:

                  @scottalanmiller said in Deploying NodeBB 1.11.1 on CentOS 7 with MongoDB 4:

                  @bnrstnr said in Deploying NodeBB 1.11.1 on CentOS 7 with MongoDB 4:

                  What specific reasons for the CentOS recommendation here?

                  Experience in production for this specific workload for one. And because we are installing all the key pieces separately from the OS. I assume Fedora would work flawlessly, but we want to avoid the temptation of using Fedora's RPM packages for NodeJS or MongoDB. CentOS appeals to a far wider audience when looking for a production deployment of something of this nature. Personally I'd prefer Fedora, yes.

                  I think the instructions might work for both (best to swap YUM for DNF.)

                  So because you are preparing to deploy this as a business offering and want the "stabliity" of old?

                  Because customers do, I'd prefer the "stability" of updated more if doing it for internal use.

                  Well, I don't deal with customers wanting these types of services, so I'll not comment further.

                  1 Reply Last reply Reply Quote 0
                  • scottalanmillerS
                    scottalanmiller @JaredBusch
                    last edited by

                    @JaredBusch said in Deploying NodeBB 1.11.1 on CentOS 7 with MongoDB 4:

                    Otherwise, there is no reason to use CentOS, nor avoid the Fedora RPM packages.

                    Actually there is, the RPM packages for MongoDB are "breaking". You can't auto-update with them without bringing your forum down. Several updates in the last two years were not just breaking, but very breaking. Fedora RPM for NodeJS is acceptable, but would put you several versions behind typically. For MongoDB, it would put you behind with updates while creating a risk that a seemingly trivial update to the OS would be expected to totally hose the database (3.4 to 3.6 to 4.0 are all updates that have to be manually handled for MongoDB with the actual data being massaged to handle it, but the OS just changes the engine version and lets the data stop working.)

                    black3dynamiteB 1 Reply Last reply Reply Quote 0
                    • black3dynamiteB
                      black3dynamite @scottalanmiller
                      last edited by

                      @scottalanmiller said in Deploying NodeBB 1.11.1 on CentOS 7 with MongoDB 4:

                      @JaredBusch said in Deploying NodeBB 1.11.1 on CentOS 7 with MongoDB 4:

                      Otherwise, there is no reason to use CentOS, nor avoid the Fedora RPM packages.

                      Actually there is, the RPM packages for MongoDB are "breaking". You can't auto-update with them without bringing your forum down. Several updates in the last two years were not just breaking, but very breaking. Fedora RPM for NodeJS is acceptable, but would put you several versions behind typically. For MongoDB, it would put you behind with updates while creating a risk that a seemingly trivial update to the OS would be expected to totally hose the database (3.4 to 3.6 to 4.0 are all updates that have to be manually handled for MongoDB with the actual data being massaged to handle it, but the OS just changes the engine version and lets the data stop working.)

                      Its probably be best to start using the MongoDB repo instead of using RHEL and Fedora repo, with the news about them planning on removing MongoDB from their repo.

                      JaredBuschJ scottalanmillerS 2 Replies Last reply Reply Quote 0
                      • JaredBuschJ
                        JaredBusch @black3dynamite
                        last edited by

                        @black3dynamite said in Deploying NodeBB 1.11.1 on CentOS 7 with MongoDB 4:

                        @scottalanmiller said in Deploying NodeBB 1.11.1 on CentOS 7 with MongoDB 4:

                        @JaredBusch said in Deploying NodeBB 1.11.1 on CentOS 7 with MongoDB 4:

                        Otherwise, there is no reason to use CentOS, nor avoid the Fedora RPM packages.

                        Actually there is, the RPM packages for MongoDB are "breaking". You can't auto-update with them without bringing your forum down. Several updates in the last two years were not just breaking, but very breaking. Fedora RPM for NodeJS is acceptable, but would put you several versions behind typically. For MongoDB, it would put you behind with updates while creating a risk that a seemingly trivial update to the OS would be expected to totally hose the database (3.4 to 3.6 to 4.0 are all updates that have to be manually handled for MongoDB with the actual data being massaged to handle it, but the OS just changes the engine version and lets the data stop working.)

                        Its probably be best to start using the MongoDB repo instead of using RHEL and Fedora repo, with the news about them planning on removing MongoDB from their repo.

                        I would assume that they will be added to RPMFusion. I plan to use it form there if so.

                        1 Reply Last reply Reply Quote 0
                        • scottalanmillerS
                          scottalanmiller @black3dynamite
                          last edited by

                          @black3dynamite said in Deploying NodeBB 1.11.1 on CentOS 7 with MongoDB 4:

                          @scottalanmiller said in Deploying NodeBB 1.11.1 on CentOS 7 with MongoDB 4:

                          @JaredBusch said in Deploying NodeBB 1.11.1 on CentOS 7 with MongoDB 4:

                          Otherwise, there is no reason to use CentOS, nor avoid the Fedora RPM packages.

                          Actually there is, the RPM packages for MongoDB are "breaking". You can't auto-update with them without bringing your forum down. Several updates in the last two years were not just breaking, but very breaking. Fedora RPM for NodeJS is acceptable, but would put you several versions behind typically. For MongoDB, it would put you behind with updates while creating a risk that a seemingly trivial update to the OS would be expected to totally hose the database (3.4 to 3.6 to 4.0 are all updates that have to be manually handled for MongoDB with the actual data being massaged to handle it, but the OS just changes the engine version and lets the data stop working.)

                          Its probably be best to start using the MongoDB repo instead of using RHEL and Fedora repo, with the news about them planning on removing MongoDB from their repo.

                          I do that anyway. MongoDB is very good about their repos.

                          black3dynamiteB 1 Reply Last reply Reply Quote 0
                          • black3dynamiteB
                            black3dynamite @scottalanmiller
                            last edited by

                            @scottalanmiller said in Deploying NodeBB 1.11.1 on CentOS 7 with MongoDB 4:

                            @black3dynamite said in Deploying NodeBB 1.11.1 on CentOS 7 with MongoDB 4:

                            @scottalanmiller said in Deploying NodeBB 1.11.1 on CentOS 7 with MongoDB 4:

                            @JaredBusch said in Deploying NodeBB 1.11.1 on CentOS 7 with MongoDB 4:

                            Otherwise, there is no reason to use CentOS, nor avoid the Fedora RPM packages.

                            Actually there is, the RPM packages for MongoDB are "breaking". You can't auto-update with them without bringing your forum down. Several updates in the last two years were not just breaking, but very breaking. Fedora RPM for NodeJS is acceptable, but would put you several versions behind typically. For MongoDB, it would put you behind with updates while creating a risk that a seemingly trivial update to the OS would be expected to totally hose the database (3.4 to 3.6 to 4.0 are all updates that have to be manually handled for MongoDB with the actual data being massaged to handle it, but the OS just changes the engine version and lets the data stop working.)

                            Its probably be best to start using the MongoDB repo instead of using RHEL and Fedora repo, with the news about them planning on removing MongoDB from their repo.

                            I do that anyway. MongoDB is very good about their repos.

                            You do the same with nodejs on Fedora too?

                            scottalanmillerS 1 Reply Last reply Reply Quote 0
                            • scottalanmillerS
                              scottalanmiller @black3dynamite
                              last edited by

                              @black3dynamite said in Deploying NodeBB 1.11.1 on CentOS 7 with MongoDB 4:

                              @scottalanmiller said in Deploying NodeBB 1.11.1 on CentOS 7 with MongoDB 4:

                              @black3dynamite said in Deploying NodeBB 1.11.1 on CentOS 7 with MongoDB 4:

                              @scottalanmiller said in Deploying NodeBB 1.11.1 on CentOS 7 with MongoDB 4:

                              @JaredBusch said in Deploying NodeBB 1.11.1 on CentOS 7 with MongoDB 4:

                              Otherwise, there is no reason to use CentOS, nor avoid the Fedora RPM packages.

                              Actually there is, the RPM packages for MongoDB are "breaking". You can't auto-update with them without bringing your forum down. Several updates in the last two years were not just breaking, but very breaking. Fedora RPM for NodeJS is acceptable, but would put you several versions behind typically. For MongoDB, it would put you behind with updates while creating a risk that a seemingly trivial update to the OS would be expected to totally hose the database (3.4 to 3.6 to 4.0 are all updates that have to be manually handled for MongoDB with the actual data being massaged to handle it, but the OS just changes the engine version and lets the data stop working.)

                              Its probably be best to start using the MongoDB repo instead of using RHEL and Fedora repo, with the news about them planning on removing MongoDB from their repo.

                              I do that anyway. MongoDB is very good about their repos.

                              You do the same with nodejs on Fedora too?

                              There are lots of ways to do it, but I like this model for control. NVM is good, too.

                              1 Reply Last reply Reply Quote 0
                              • scottalanmillerS
                                scottalanmiller @bnrstnr
                                last edited by

                                @bnrstnr said in Deploying NodeBB 1.11.1 on CentOS 7 with MongoDB 4:

                                What specific reasons for the CentOS recommendation here?

                                Revisiting a little...

                                Basically the three main Linux releases supported by MongoDB are CentOS, Ubuntu, and Debian. CentOS and Ubuntu here are mostly six of one. But CentOS 8 Stream I like a little more than the Ubuntu LTS options. We use Ubuntu a little more often than CentOS today, but in this case I feel that CentOS is slightly better for us. But really, all three options are perfectly fine. We just have to pick one.

                                1 Reply Last reply Reply Quote 0
                                • 1 / 1
                                • First post
                                  Last post