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.
-
@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.
-
@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.
-
@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.)
-
@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.
-
@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.
-
@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.
-
@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.)
-
@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.
-
@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.
-
@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.
-
@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?
-
@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.
-
@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.