LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-28-2013, 04:36 AM   #1
User247
LQ Newbie
 
Registered: Mar 2013
Posts: 29

Rep: Reputation: Disabled
Smile Which distro of Apache is good for Web Server ?


Hi guys,

Can anyone recommend a distro of Apache that is good as a
Web Server. The main task the installation is to serve web pages
with php capabilities. I have review the list of resources on the mirror's
site and don't really know which good distro to choose for download.

Thanks very much for your reply.

User247
 
Old 08-28-2013, 04:40 AM   #2
Razaliel
LQ Newbie
 
Registered: Jul 2013
Distribution: Debian testing
Posts: 21

Rep: Reputation: 5
Hi,

Debian seems to be the most used distro for web servers, especially Apache.

http://w3techs.com/blog/entry/debian...on_web_servers
 
Old 08-28-2013, 04:46 AM   #3
TenTenths
Senior Member
 
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7
Posts: 2,166

Rep: Reputation: 751Reputation: 751Reputation: 751Reputation: 751Reputation: 751Reputation: 751Reputation: 751
Quote:
Originally Posted by Razaliel View Post
Hi,

Debian seems to be the most used distro for web servers, especially Apache.

http://w3techs.com/blog/entry/debian...on_web_servers
However, if you consider that CentOS and RedHat are effectively identical and should be considered the same then they beat Debian by a considerable margin.
 
Old 08-28-2013, 04:52 AM   #4
Razaliel
LQ Newbie
 
Registered: Jul 2013
Distribution: Debian testing
Posts: 21

Rep: Reputation: 5
Quote:
Originally Posted by TenTenths View Post
However, if you consider that CentOS and RedHat are effectively identical and should be considered the same then they beat Debian by a considerable margin.
Yeah I saw that, I'm just preaching for my parish.
 
Old 08-28-2013, 04:53 AM   #5
User247
LQ Newbie
 
Registered: Mar 2013
Posts: 29

Original Poster
Rep: Reputation: Disabled
Smile

Hi, thanks for the quick response.

I forgot to mentioned the distro of Linux I installed
is Fedora 19. I just downloaded and installed it
one day before. Have check the rpm packages and noted
Apache is not included in the installation. I think
I will stick with Fedora for a while before thinking
of switching and try out other distros.

User247
 
Old 08-28-2013, 04:59 AM   #6
TenTenths
Senior Member
 
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7
Posts: 2,166

Rep: Reputation: 751Reputation: 751Reputation: 751Reputation: 751Reputation: 751Reputation: 751Reputation: 751
Try CentOS, it's a free recompile of RedHat, and as such any tutorials for CentOS or RedHat will be equally valid.

Fedora is a "fast-track" distro, which is great if you want the latest versions of stuff.

However, in my experience, for a production web server or one that more closely mirrors the majority of web hosting platforms RedHat and CentOS are the way to go.
 
Old 08-28-2013, 05:01 AM   #7
TenTenths
Senior Member
 
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7
Posts: 2,166

Rep: Reputation: 751Reputation: 751Reputation: 751Reputation: 751Reputation: 751Reputation: 751Reputation: 751
Quote:
Originally Posted by Razaliel View Post
Yeah I saw that, I'm just preaching for my parish.
Nothing wrong with that!
 
Old 08-28-2013, 05:07 AM   #8
User247
LQ Newbie
 
Registered: Mar 2013
Posts: 29

Original Poster
Rep: Reputation: Disabled
Smile

I reckoned that Red Hat is a popular developer of Linux. I'll also look into Centos
since Fedora project is developed under Red hat.
 
Old 08-28-2013, 05:39 AM   #9
yilez
Member
 
Registered: Apr 2004
Distribution: Slackware
Posts: 127

Rep: Reputation: Disabled
Just my 2 cents:

Current version of Apache is 2.4.6, or something like that.

CentOS/RHEL/etc current version is 6.x. This was originally released 3 years ago. This means that the Apache that it ships with is at least 3 years old, only receiving security and bug fix updates. (apache version 2.2.15).

Debian current version is 7, released earlier this year. The apache it ships with is about 1 year old, again with security and bug fix updates. (apache versions 2.2.22)

The CentOS version is might be more stable than the Debian version. The Debian version is likely to have more features.

If this is a serious web server, I would avoid using Fedora, or any other rapid release (non-LTS ubuntu, mageia, etc) or rolling release (arch, gentoo). LTS ubuntu might suit, but I would choose Debian given the choice between the two.

CentOS vs Debian is a personal preference. I prefer CentOS out of the two. Others disagree.

Slackware is an option too. Slackware 14.0 comes with Apache 2.4.3 in the default install and it is easy enough to start on boot. Again, newer than the Debian and CentOS versions, but I don't know what that means for stability.

Best for you depends on what you want.
 
Old 08-28-2013, 06:36 AM   #10
User247
LQ Newbie
 
Registered: Mar 2013
Posts: 29

Original Poster
Rep: Reputation: Disabled
the Apache Server install will be a trial Server
for hosting a few web sites.

Thanks.
 
Old 08-28-2013, 06:10 PM   #11
jefro
Moderator
 
Registered: Mar 2008
Posts: 15,383

Rep: Reputation: 2199Reputation: 2199Reputation: 2199Reputation: 2199Reputation: 2199Reputation: 2199Reputation: 2199Reputation: 2199Reputation: 2199Reputation: 2199Reputation: 2199
There are also pre-made virtual machines and I think some distro's that are set up already.
For simple sites, maybe a more simple server would do?
 
Old 08-28-2013, 10:38 PM   #12
lleb
Senior Member
 
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora
Posts: 2,630

Rep: Reputation: 495Reputation: 495Reputation: 495Reputation: 495Reputation: 495
Quote:
Originally Posted by User247 View Post
Hi, thanks for the quick response.

I forgot to mentioned the distro of Linux I installed
is Fedora 19.
User247
Fedora is a desktop flavor of Linux with roughly an 18mo life cycle. You are not going to be well served using Fedora as any type of server. You will want CentOS or Debian. As you are already familiar with Fedora, Id go with CentOS for reasons mentioned above not to mention its what I use currently and CentOS 7 (RHEL 7) will be built on the Fedora 19 kernel and systemd.

such a massive upgrade over sysV using systemd.

Put CentOS 6.4 on there now, then when CentOS 7 goes live near the end of the year give it about 1mo or so then replace 6.4 with 7 and enjoy the massive benefits
 
Old 08-29-2013, 08:00 AM   #13
User247
LQ Newbie
 
Registered: Mar 2013
Posts: 29

Original Poster
Rep: Reputation: Disabled
Smile

Since CentOS is recommended by many LQ members, certainly it is worth for trying it out.

please also see my new thread on: (unable to compile Apache after unpacking tarball) posting soon.

Thanks.
 
Old 08-30-2013, 05:48 PM   #14
lleb
Senior Member
 
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora
Posts: 2,630

Rep: Reputation: 495Reputation: 495Reputation: 495Reputation: 495Reputation: 495
Quote:
Originally Posted by User247 View Post
Since CentOS is recommended by many LQ members, certainly it is worth for trying it out.

please also see my new thread on: (unable to compile Apache after unpacking tarball) posting soon.

Thanks.
as you are running CentOS, there is zero reason to unpack any tarball, use yum to install apache and apache2 if required or any other web application for that matter:


http://www.howtoforge.com/quick-n-ea...er-centos-rhel
 
Old 09-01-2013, 10:31 AM   #15
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fc-15/ fc-20-live-usb/ aix
Posts: 5,027

Rep: Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845
I'm running apache on fc-15 (i'm a bad little boy).
It came installed by default, just had to turn it on: sudo system httpd start

If not then just do: sudo yum install httpd
And it will install apache and any dependencies you need.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
is that distro good for perl and php and web dynamic adam_blackice Programming 5 11-10-2006 09:36 AM
Is FreeBSD a server distro or a desktop distro with good server capatabilities? matthew5 *BSD 16 06-06-2006 04:11 PM
Good distro for network/file/print/ftp/web server... AudioMechanic Linux - General 3 03-09-2005 11:12 AM
setting up password protected web forms on an apache web server AZDAVE Linux - Security 3 07-07-2004 01:03 PM
Good distro just for apache? stunhcterts Linux - Newbie 12 05-20-2003 10:19 PM


All times are GMT -5. The time now is 12:37 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration