Portal Home > Knowledgebase > Articles Database > For LAMP enviroment, what is the best Linux?


For LAMP enviroment, what is the best Linux?




Posted by danix4u, 10-10-2014, 03:41 PM
Gents, I am nto sure which Linux should I go with, Centos, Ubuntu, Fedora, etc. I need a fast, secure and reliable OS. So what do you recommend?

Posted by Purevoltage, 10-10-2014, 04:18 PM
That's one of those questions that can go either way. Most times it ends up coming down to what you know and are good at. My suggestions would be for CentOS and Ubuntu as they are two I know better than anything else.

Posted by 2saca, 10-10-2014, 04:34 PM
If you are asking you should really go with a managed server. The most secure Linux distribution is the one you are very familiar with.

Posted by Snoork Hosting, 10-10-2014, 04:38 PM
1 CentOS Go with the OS you are most familiar with.

Posted by Mr Terrence, 10-10-2014, 04:49 PM
1 CentOS - I think one of the most popular OS's used for LAMP. Fedora was hot some years back.

Posted by siteturn-joe, 10-10-2014, 04:52 PM
I've always like Debian, which is what Ubuntu and other distros are based on. It's clean and doesn't have a lot of baggage like RedHat type distros such as CentOS.

Posted by BrianHarrison, 10-10-2014, 05:09 PM
If you just need a stable LAMP stack, go with CentOS 6. The stability and thorough documentation on installation procedures is second to none.

Posted by TMS - JoseQ, 10-10-2014, 05:20 PM
The one you're most familiar with. They all offer similar performance and their own benefits and drawbacks... At the end of the day, if you have trouble managing a particular flavor of Linux, that is going to be a much bigger factor than the small performance gains you may get out of it.

Posted by saschoen, 10-10-2014, 08:24 PM
Gentoo is the best but you better have a neckbeard if you eanna be good

Posted by ElixantTech, 10-11-2014, 03:14 AM
Depends on the circumstances, are you running a multi-site environment? Are you experienced with SSH or Bash? Personally I would recommend going with a managed server if you don't have the experience. I personally primarilly use CentOS and Ubuntu. I've been deailing with CentOS/Redhat/FedoraCore for many years and have a great deal of experience with them, they are the most commonly used operating systems and thus you'll find more documentation on managing them. Going into Ubuntu which is based off of Debian, quite a bit easier to use in my opinion. But, when it comes down to the nitty gritty... Gentoo is going to be my choice for an enterprise server. Back on topic though, I'd recommend either you go with a managed provider or if you're determined to do it yourself, Ubuntu.

Posted by dalet11, 10-11-2014, 03:37 AM
1 CentOS - best for any LAMP or hosting.

Posted by Red Squirrel, 10-13-2014, 01:19 AM
I usually go CentOS. Either way if you are not familiar and need to decide on a distro you're probably best setting up a home server/VM first just to test before you spend money on a dedicated server that's open to the internet.

Posted by {wx} JeffH, 10-13-2014, 01:20 AM
1 for CentOS.

Posted by Dedicatedone, 10-13-2014, 11:22 AM
They're all pretty flexible but I would do some research on the software stack you're going with to see what OS is giving people trouble. You want to make sure it's stable with whatever you're going with but still offers the flexibility you need in case you make any changes.

Posted by gingir, 10-13-2014, 12:19 PM
I got started with CentOS which never gave me any reason to change. I am fairly confident other distros such as Ubuntu are fine too, though. Last edited by gingir; 10-13-2014 at 12:22 PM.

Posted by FR-Ammar, 10-13-2014, 10:18 PM
It depends on what you're used to and comfortable with. I personally hate using CentOS and stick to Debian wherever possible, but that's my own preference since I'm used to Debian.

Posted by danix4u, 10-14-2014, 11:27 AM
I want to test the LAMP environment with CENTOS6 or unbuntu on my home PC, where can I get free versions?

Posted by drahcir, 10-14-2014, 11:43 AM
I personally use Ubuntu, but I also like CentOS. I recommend getting a really cheap vps and play around with all versions you're considering then make your choice.

Posted by saschoen, 10-14-2014, 11:46 AM
just go to the website and download the ISO file. then write it to a flash drive using rufus or to a cd/dvd using imgburn. then boot your computer up with it (by selecting the disk drive in the boot menu) and then follow the installer.

Posted by drahcir, 10-14-2014, 11:47 AM
LAMP stands for Linux Apache MySQL PHP All you need to do is install the applications. There are plenty of how to's online for each distro.

Posted by danix4u, 10-14-2014, 11:52 AM
guys, I was reading about Ubuntu and CENTOS, and what I understood that Ubuntu releases more frequent patch updates than CENTOS and frankly, the last thing I want is to keep bringing the server down to patch the OS. But it this true?

Posted by Mike - Limestone, 10-14-2014, 12:26 PM
I almost always use CentOS for a LAMP environment. It's pretty easy to setup and manage in a server context. -mike

Posted by hhw, 10-14-2014, 12:35 PM
For a plain LAMP stack, I'd definitely suggest stock Debian. Ubuntu makes some some changes to Debian that are poorly thought out, like breaking Software RAID as recently as in 11.04. Debian objectively not just has the best package management system, but the best curated package repositories. The upgrade process comprehensively updates a package, and doesn't just replace the binaries. CentOS is great for commercial software targeted towards RedHat, like cPanel. If you're not running anything like that however, you're better off with Debian. Personally, I don't see much benefit to Gentoo, despite being a FreeBSD user. The whole purpose of ports is to make the package management transparent to compiling packages from source using make. Having to use emerge instead defeats the purpose. If you actually need to custom compile packages, you're better of compiling only once and creating your own binary packages served by your own package repository using Debian. I can only really see an argument for using Gentoo if you only need to compile your own packages on a single, standalone system. But for obvious reasons, that doesn't scale. Last edited by hhw; 10-14-2014 at 12:40 PM.

Posted by WHR-Abner, 10-14-2014, 01:13 PM
When you are talking about reliability, BSD architecture comes to my mind before Unix.... I personally love FreeBSD, but I know it is not easy to manage and only high end applications and those who really know how to play with BSD use it. If you don't want to experiment first, go with the distro you have worked with earlier.. If not, try FreeBSD, you will love it.

Posted by Mdowdy, 10-14-2014, 07:50 PM
You can't go wrong with CentOS. I would shy away from Fedora due to the short release cycle.

Posted by rbstern, 10-14-2014, 08:58 PM
CentOS is my go to workhorse. Not sure about "bringing down the server" for OS patches. I've got CentOS servers running for 600+ days that are patched and never miss a beat. Reboot events are exceptionally rare in a stable, well-managed LAMP environment. If this is new territory for you, consider using Webmin and/or Virtualmin to help you manage the server.

Posted by jenok, 10-14-2014, 09:09 PM
CentOS for sure, but if you can get LNMP instead, nginx+php-fpm should be better than apache+php

Posted by K&T Host - Tim, 10-14-2014, 09:42 PM
I'll have to second some of the others here. FreeBSD is a great choice even if it's not (L)AMP.

Posted by rogriverac, 10-14-2014, 09:48 PM
CentOS has proven to be reliable, well supported and easy to manage. LAMP stack with CentOS is sure to last strong with minimum maintenance, updates/upgrades.

Posted by danix4u, 10-14-2014, 10:43 PM
I will go CentOS...but shall I go CentOS 7 or stick with 6 for now?

Posted by donmhico, 10-15-2014, 03:47 AM
It really all comes to personal preference. CentOS, Debian, Ubuntu, Fedora are all based on the Linux kernel. I personally favor CentOS and Ubuntu. CentOS - If in need of cPanel - If I don't need the latest packages / versions of software. Ubuntu - For development. - If the project doesn't need a cPanel. - If I need the latest packages / versions of software.

Posted by eva2000, 10-15-2014, 06:02 AM
go with whichever OS you're comfortable using for me that is CentOS usually

Posted by TheRealWaldo, 10-15-2014, 04:45 PM
Another vote on CentOS. CentOS has been great for many projects I have been involved in over the years; have deployed it on hundreds of servers, and it's extremely easy to manage. CentOS 7 is quite new, which means that there may not be a ton of assistance for the odd quirk that comes about with changes to the core. So if you're going into a production environment, I'd probably suggest 6 first. If in a development/non-production environment, no harm in trying out 7 first, as by the time you reach production, it may be time to upgrade anyways!

Posted by MPOV-Matas, 10-15-2014, 05:40 PM
CentOS has my vote. I started off using CentOS from day one and I will carry on using it. It's nice and simple. I personally think of Ubuntu as more for personal use.

Posted by funkywizard, 10-20-2014, 03:22 PM
Are you installing any control panels? If so the decision of OS will likely be determined by what control panel you're installing. For example, Cpanel requires Centos, whereas some other panels will require ubuntu or debian.

Posted by danix4u, 10-20-2014, 07:30 PM
What about Plesk? Oes I need CentOS or Ubuntu?

Posted by danix4u, 10-27-2014, 01:39 PM
What about Plesk? Does it need CentOS or Ubuntu?

Posted by MPOV-Matas, 10-27-2014, 01:45 PM
It supports both. For more information go to: http://sp.parallels.com/uk/products/plesk/requirements/

Posted by edigest, 10-27-2014, 09:54 PM
You don't need to reboot for every patch -- just kernel updates, typically. And even with kernel updates, you can go "rebootless" with something like KernelCare. Surprised nobody mentioned CloudLinux. In a shared-hosting environment, its hard to beat the security and stability of CloudLinux.

Posted by danix4u, 10-29-2014, 12:28 PM
Which OS comes with a built-in firewall? Does CENTOS has its own firewall or I need to rent ane external firewall? What about Anti-malware software? Which distrubtions has that by default or does Cpanel and Plesk have this?

Posted by TheRealWaldo, 10-29-2014, 12:33 PM
iptables exists by default, but is not configured. For tools that make configuration and management of iptables firewalls easier; If you are using cPanel, CSF is a good option, otherwise APF is also decent. Malware detection doesn't come standard with any Linux distribution that I am aware of. However, clamav is in standard repos, and maldet, rkhunter, and other such tools are easily installable.

Posted by danix4u, 11-15-2014, 02:22 AM
Guys, I am going with CENTOS but shall I go CENTOS 6.6 or direct to 7? Which one is more stable and secure?



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
Solusvm acting weird!! (Views: 800)
HTTP to HTTPS Redirect (Views: 783)


Language:

LoadingRetrieving latest tweet...

Back to Top Copyright © 2018 DC International LLC. - All Rights Reserved.