LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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, 03:36 AM   #1
User247
Member
 
Registered: Mar 2013
Location: Canada
Distribution: fedoera 27 (was fedora 19)
Posts: 37

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, 03: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, 03:46 AM   #3
TenTenths
Senior Member
 
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7
Posts: 3,475

Rep: Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553
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, 03: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, 03:53 AM   #5
User247
Member
 
Registered: Mar 2013
Location: Canada
Distribution: fedoera 27 (was fedora 19)
Posts: 37

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, 03:59 AM   #6
TenTenths
Senior Member
 
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7
Posts: 3,475

Rep: Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553
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, 04:01 AM   #7
TenTenths
Senior Member
 
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7
Posts: 3,475

Rep: Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553
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, 04:07 AM   #8
User247
Member
 
Registered: Mar 2013
Location: Canada
Distribution: fedoera 27 (was fedora 19)
Posts: 37

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, 04: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, 05:36 AM   #10
User247
Member
 
Registered: Mar 2013
Location: Canada
Distribution: fedoera 27 (was fedora 19)
Posts: 37

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, 05:10 PM   #11
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,982

Rep: Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626
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, 09:38 PM   #12
lleb
Senior Member
 
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora/Pop!_OS
Posts: 2,983

Rep: Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551
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, 07:00 AM   #13
User247
Member
 
Registered: Mar 2013
Location: Canada
Distribution: fedoera 27 (was fedora 19)
Posts: 37

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, 04:48 PM   #14
lleb
Senior Member
 
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora/Pop!_OS
Posts: 2,983

Rep: Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551
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, 09:31 AM   #15
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fedora-35
Posts: 5,313

Rep: Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918
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



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 08:36 AM
Is FreeBSD a server distro or a desktop distro with good server capatabilities? matthew5 *BSD 16 06-06-2006 03:11 PM
Good distro for network/file/print/ftp/web server... AudioMechanic Linux - General 3 03-09-2005 10:12 AM
setting up password protected web forms on an apache web server AZDAVE Linux - Security 3 07-07-2004 12:03 PM
Good distro just for apache? stunhcterts Linux - Newbie 12 05-20-2003 09:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:00 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
Open Source Consulting | Domain Registration