LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
LinkBack Search this Thread
Old 08-27-2008, 06:28 AM   #1
grant-skywalker
Member
 
Registered: Jul 2005
Location: Jakarta / Kuala Lumpur
Distribution: Slackware, Debian, Ubuntu, Centos
Posts: 40

Rep: Reputation: 15
Multiple Apache - Front-end & Back-end in one server


Dear All,

I have a client that has this kind of set up:

The OS is Redhat, now changed to CentOS. In a physical server, compiled and installed a Front-end Apache server and multiple copies of Back-end Apache server.

Basically the front-end will still use port 80 while the back-end will be using various ports that any incoming request will reach the Front-end apache then proxy-pass to back-end apache.

The question is:

- Is this the most practical way to have separate the Apache to front-end and back-end?

- All apache has to be compiled as certain requirements required for different copies of the
apache, thus, it is very hard to maintain, is this advisable?

- If saying as one apache down, will not affect the others, or making changes to one apache,
won't affect the others, is this a good way of maintaining multiple copies of apache?

- If in Debian environment, can i achieve this by running just 1 copy of apache and keep it
updated using apt-get?

* I would like to recommend to change the OS from Redhat/CentOS to Debian for easier maintenance, will anyone shed a light on this? (Based on the existing requirement and configuration.

Thank you!

regards,
GS
 
Old 08-27-2008, 07:36 AM   #2
robertjinx
Member
 
Registered: Oct 2007
Location: Prague, CZ
Distribution: RedHat / CentOS / Ubuntu / SUSE / Debian
Posts: 546

Rep: Reputation: 58
CentOS/Redhat is the best for a productive system, doesnt matter what you do, also, its the same updateing the system: yum update or up2date -i. So apt-get doesnt really have a reason to switch from CentOS/Redhat to Debian. Also you will have from time to time issue with the apt-get, I have running Debian, and I wouldnt recommend this to a serious productive system.

When it comes to apache, I dont have idea why your client need it how it does.. you could try using frond-end nginx and back-end apache or something similar.

Or maybe not
 
Old 08-27-2008, 01:14 PM   #3
grant-skywalker
Member
 
Registered: Jul 2005
Location: Jakarta / Kuala Lumpur
Distribution: Slackware, Debian, Ubuntu, Centos
Posts: 40

Original Poster
Rep: Reputation: 15
Hi,

Thanks for your reply.

Besides some big brands (IBM/HP/Dell) has certified their hardware well tested and compatible with RH 4/5, i really don't get the point of being the best for production system. It's the same with a lot of sites using FreeBSD on the 'now consider low-end' HP/Compaq server but still running great.

I'm not denying your point, it's just that, there must be a reason why Debian would be in the market for such a long time. Maybe it doesn't follow the trend, doesn't have a HCL or something?

Just plainly my point. If you would like to show some example of the comparison of the two, i'm interested to hear your story though

Back to Apache case, what is nginx anyway?

Thanks!!


Quote:
Originally Posted by robertjinx View Post
CentOS/Redhat is the best for a productive system, doesnt matter what you do, also, its the same updateing the system: yum update or up2date -i. So apt-get doesnt really have a reason to switch from CentOS/Redhat to Debian. Also you will have from time to time issue with the apt-get, I have running Debian, and I wouldnt recommend this to a serious productive system.

When it comes to apache, I dont have idea why your client need it how it does.. you could try using frond-end nginx and back-end apache or something similar.

Or maybe not
 
Old 08-27-2008, 02:04 PM   #4
robertjinx
Member
 
Registered: Oct 2007
Location: Prague, CZ
Distribution: RedHat / CentOS / Ubuntu / SUSE / Debian
Posts: 546

Rep: Reputation: 58
Hey, I understand you too, but I am actually working in IBM and working with Redhat/Suse and if in case we would lets say go to "debian" we would be in deep shit when it comes to a lot of stuff. I know the debian is been around from the beginning but that doesnt also mean is ready for production. For a small server debian works I suppose, like I said I am using it too.

When it come to nginx (http://www.nginx.net) is a lightweight web server and mail server. I am using it as a web server on www.visualserver.org and I can say its fast, but I mean fast, low CPU usage and memory. I am using it with FastCGI (PHP). In my opinion this or lighttpd is the best way to go for a web server.

Also when it comes to debian, they have almost every release late and usually "test" or "unstable" version.

Anyway, you want something serios, go for CentOS, its free, enterprise idea for everything, structure, packages and so on. Also it comes with the most stables packages out there, which is very important, thats the difference between Debian and CentOS/Redhat.

Suse, well just dont go for it, I hate this distro, its more trouble then Windows.

Good luck!
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Mythbuntu front-end and back-end questions... Liambiscuit Linux - Software 4 09-28-2008 05:11 PM
How do I write a back end App for a Web Server using C++? Furrage Programming 4 11-13-2007 08:20 AM
virtualizing a front end web server??? steve_f60 Linux - Software 1 10-15-2007 01:14 PM
Apache+php => database front-end sylvaticus Linux - Server 0 01-09-2007 08:28 AM
Email Server Front-end kmccarn Red Hat 1 07-26-2005 06:59 AM


All times are GMT -5. The time now is 11:46 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration