Linux File Server. Which One Would You Pick?
-
Ubuntu Server :
-
Automated Security updates are easy to implement.
-
ufw is pleasure to work with.
-
-
@msff-amman-Itofficer said in Linux File Server. Which One Would You Pick?:
Ubuntu Server :
- Automated Security updates are easy to implement.
Easier than CentOS and Fedora?
-
@JaredBusch said in Linux File Server. Which One Would You Pick?:
@BRRABill said in Linux File Server. Which One Would You Pick?:
@JaredBusch said in Linux File Server. Which One Would You Pick?:
@BRRABill said in Linux File Server. Which One Would You Pick?:
@JaredBusch said in Linux File Server. Which One Would You Pick?:
@BRRABill said in Linux File Server. Which One Would You Pick?:
@travisdh1 said in Linux File Server. Which One Would You Pick?:
@BRRABill said in Linux File Server. Which One Would You Pick?:
@scottalanmiller said in Linux File Server. Which One Would You Pick?:
CentOS. Because there is no compelling reason to look at anything else and by default I always start there - it's the best known, most stable, best supported. So unless you have a specific reason to look elsewhere, that's what you use IMHO.
So @scottalanmiller and I were discussing offline the new Liuns server I set up for hosting my own web server.
After this who thread, of course I went with CentOS. I mean, after the above quote, why would anyone choose anything different.
Of course, @scottalanmiller says he uses Fedora for web servers. It would be silly to use anything else.
I of course, say WTF, yell to no one in particular that this is why Linux is so frustrating and confusing, and refer back to this thread, and also the thread he mentions all the distributions, and doesn't even mention Fedora.
So, ML, discuss! Is Fedora the best choice for web servers? Is this thread (where it is said CentOS is the clear choice) misleading? (Feel free to fork this if necessary.)
I'm a CentOS junkie, and I admit that fact. See, I'm at step #1.
Fedora is where RedHat/CentOS think it will be headed. The major reason for using Fedora over CentOS for a web server right now is that CentOS has an old version of PHP in their repository (5.4), whereas Fedora has a newer version. I'm not sure what version they're up to tho, is it still the 5.x series or 7 now?
I actually figured out how to update that yesterday. I should post that on the "WP on Centos" article @JaredBusch wrote.
I had a few small issues (with a ZIP program) that @scottalanmiller helped me figure out.
There are three real ways to update PHP beyond 5.4 on CentOS 7
I personally prefer to use the Remi repository as that is specifically for PHP only and it replaces everything 'in place'. The other methods leave you with multiple version of PHP installed. and you install them specifically as
yum install php56
for example.For beginners with only a single app running on a VM, it is silly complication. I understand why it is done, but the people that just want to run a website (WordPress) or file share (NextCloud) do not care or need to care about all that IMO.
Yeah, I ran into that issue. I didn't use Remi, and it was causing my theme to have all sorts of issues. I gave up, and restored a snapshot I took riiiiiiiiiiight before I started messing with PHP. (Love VMs.)
I found this, was awesomely helpful.
or you could have looked here first..
https://mangolassi.it/tags/remiright at the top of the NextCloud post....
#install Remi yum install -y http://rpms.famillecollet.com/enterprise/remi-release-7.rpm #enable PHP 7.1 by editing the repo file and changing enabled=0 to 1 yum-config-manager --enable remi-php71
I would have had to know what to look for first!
Think it makes sense to add that somewhere in you WP writeup, as well?
WordPress may recommend PHP7 but unless it is required, my guide stands as is. What happened that caused you to want PHP > 5.4
My theme (which displays a status page) pointed it out as below WordPress recommendations.
-
@scottalanmiller said in Linux File Server. Which One Would You Pick?:
@msff-amman-Itofficer said in Linux File Server. Which One Would You Pick?:
Ubuntu Server :
- Automated Security updates are easy to implement.
Easier than CentOS and Fedora?
My experience has the updates always asking odd questions I don't see on other distributions.
-
@JaredBusch said
The cost of having it up to date means a major OS update ever 3 months (i believe).
Not being funny, but is that an issue?
I assume it depends on what you are doing, right?
Like on a one site WP install, you could snapshot, do the install, and just roll back.
But obviously there are many scenarios it could become a big deal.
-
@BRRABill said in Linux File Server. Which One Would You Pick?:
@scottalanmiller said in Linux File Server. Which One Would You Pick?:
@msff-amman-Itofficer said in Linux File Server. Which One Would You Pick?:
Ubuntu Server :
- Automated Security updates are easy to implement.
Easier than CentOS and Fedora?
My experience has the updates always asking odd questions I don't see on other distributions.
Yeah, I find Ubuntu updates much more work and less obvious than any other. Poor updates is actually one of my complaints about it.
Unlike CentOS, RHEL, Fedora... Ubuntu requires two steps instead of one for normal update and it leaves all kinds of crap behind and when you use its tools to clean that up it breaks a bit too often. And I'm not sure how automation is easier, that's what I'm wondering about because automation on non-Ubuntu is SO good.
-
@BRRABill said in Linux File Server. Which One Would You Pick?:
@JaredBusch said
The cost of having it up to date means a major OS update ever 3 months (i believe).
Not being funny, but is that an issue?
I assume it depends on what you are doing, right?
Like on a one site WP install, you could snapshot, do the install, and just roll back.
But obviously there are many scenarios it could become a big deal.
I actually prefer it because I like the smaller changes that come with the shorter cycle. Fewer huge changes all at once so if something needs to be fixed, it is more likely to be small and easier to find.
-
@scottalanmiller said in Linux File Server. Which One Would You Pick?:
@BRRABill said in Linux File Server. Which One Would You Pick?:
@scottalanmiller said in Linux File Server. Which One Would You Pick?:
@msff-amman-Itofficer said in Linux File Server. Which One Would You Pick?:
Ubuntu Server :
- Automated Security updates are easy to implement.
Easier than CentOS and Fedora?
My experience has the updates always asking odd questions I don't see on other distributions.
Yeah, I find Ubuntu updates much more work and less obvious than any other. Poor updates is actually one of my complaints about it.
Unlike CentOS, RHEL, Fedora... Ubuntu requires two steps instead of one for normal update and it leaves all kinds of crap behind and when you use its tools to clean that up it breaks a bit too often. And I'm not sure how automation is easier, that's what I'm wondering about because automation on non-Ubuntu is SO good.
Since I started with Ubuntu, I keep expecting there to be two steps in CentOS as well!
-
Automating normal updates with CentOS is as easy as installing and configuring
yum-cron
-
@JaredBusch said in Linux File Server. Which One Would You Pick?:
Automating normal updates with CentOS is as easy as installing and configuring
yum-cron
And Fedora just replaced that with its DNF equivalent. Just as easy, too.
-
@scottalanmiller said in Linux File Server. Which One Would You Pick?:
@JaredBusch said in Linux File Server. Which One Would You Pick?:
While this is all very true, Fedora comes with its own issues. The cost of having it up to date means a major OS update ever 3 months (i believe).
Six, but it is an average, unlike Ubuntu, so it fluctuates. Three months here, nine months there. But twice a year average.
I don't see this as a negative to using Fedora?
-
@FATeknollogee said in Linux File Server. Which One Would You Pick?:
@scottalanmiller said in Linux File Server. Which One Would You Pick?:
@JaredBusch said in Linux File Server. Which One Would You Pick?:
While this is all very true, Fedora comes with its own issues. The cost of having it up to date means a major OS update ever 3 months (i believe).
Six, but it is an average, unlike Ubuntu, so it fluctuates. Three months here, nine months there. But twice a year average.
I don't see this as a negative to using Fedora?
That is a point of view. It is a negative to me. Because so much can change and break things. Yes, it is smaller incremental changes compared to CentOS going from 4 to 5 to 6 to 7. But any of those little changes could break things because some dependency changed or something else.
I choose CentOS specifically because almost nothing changes.
-
@JaredBusch said in Linux File Server. Which One Would You Pick?:
@FATeknollogee said in Linux File Server. Which One Would You Pick?:
@scottalanmiller said in Linux File Server. Which One Would You Pick?:
@JaredBusch said in Linux File Server. Which One Would You Pick?:
While this is all very true, Fedora comes with its own issues. The cost of having it up to date means a major OS update ever 3 months (i believe).
Six, but it is an average, unlike Ubuntu, so it fluctuates. Three months here, nine months there. But twice a year average.
I don't see this as a negative to using Fedora?
That is a point of view. It is a negative to me. Because so much can change and break things. Yes, it is smaller incremental changes compared to CentOS going from 4 to 5 to 6 to 7. But any of those little changes could break things because some dependency changed or something else.
I choose CentOS specifically because almost nothing changes.
CentOS is built from fedora. So the changes from say 5 to 6 are as big as the cumulative changes of the Fedora releases between the two. Almost, once in a while a change is made and not kept.
-
@scottalanmiller Would you happen to know of a way to subscribe to RSS or email for when CentOS has available updates? I have seen some feeds for other distros but can't find one for CentOS.
-
@msff-amman-Itofficer said in Linux File Server. Which One Would You Pick?:
Ubuntu Server :
-
Automated Security updates are easy to implement.
-
ufw is pleasure to work with.
I find firewalld easier than pretty much anything else.
-
-
@stacksofplates said in Linux File Server. Which One Would You Pick?:
@msff-amman-Itofficer said in Linux File Server. Which One Would You Pick?:
Ubuntu Server :
-
Automated Security updates are easy to implement.
-
ufw is pleasure to work with.
I find firewalld easier than pretty much anything else.
Definitely easier than UFW.
-
-
@wrx7m said in Linux File Server. Which One Would You Pick?:
@scottalanmiller Would you happen to know of a way to subscribe to RSS or email for when CentOS has available updates? I have seen some feeds for other distros but can't find one for CentOS.
I've not looked for one. Not sure.
-
@scottalanmiller said in Linux File Server. Which One Would You Pick?:
@wrx7m said in Linux File Server. Which One Would You Pick?:
@scottalanmiller Would you happen to know of a way to subscribe to RSS or email for when CentOS has available updates? I have seen some feeds for other distros but can't find one for CentOS.
I've not looked for one. Not sure.
I think officially updates are sent to the mailing list https://lists.centos.org/pipermail/centos-announce/
What's your goal?
-
@stacksofplates Thanks for the link. I would just like to know when security updates are released without having to actively look.