LinuxQuestions.org
Visit Jeremy's Blog.
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 06-29-2011, 03:11 AM   #1
Shahnawaz Uqaili
Member
 
Registered: May 2011
Location: Karachi, Sindh Pakistan
Distribution: RHEL, CentOS, Debian/Ubuntu, Microsoft Windows
Posts: 46

Rep: Reputation: Disabled
Apache Optimization


Hello friends,

Please guide me about the optimization of Apache. I am using ubuntu 10.04.1 LTS.

I have read many documentation but i didn't understand. I have assigned a task of how we can optimize apache. please help me as i'm not an expert in this field..

Cheers
 
Old 06-29-2011, 03:52 AM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,822

Rep: Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408
If you do not understand the Apache documentation ?????
http://httpd.apache.org/docs/2.2/
The Doc's are very strait forward and easy to use .
the httpd.conf is VERY well documented - so documented in fact that once you remove that it is 1/10th the size.

then you have a problem
what you might want to do is start from scratch
remove the deb install and install from source .That way YOU LEARN how to set it up and configure it .

you might also want to go over to Amazon and buy a book
form : O'reilly
"Apache - the definitive guide "
 
Old 06-29-2011, 03:56 AM   #3
Shahnawaz Uqaili
Member
 
Registered: May 2011
Location: Karachi, Sindh Pakistan
Distribution: RHEL, CentOS, Debian/Ubuntu, Microsoft Windows
Posts: 46

Original Poster
Rep: Reputation: Disabled
Thanks for quick response John

Actually i have some experience of apache, now i'm at my job and everything is setup here. They only ask me to optimize apache and php, if whenever our server goes down what we should do on that time?
 
Old 06-29-2011, 10:19 AM   #4
travisdh1
Member
 
Registered: Sep 2008
Distribution: Fedora
Posts: 129

Rep: Reputation: 21
Apache can run it's own cluster services so you could setup another machine with the exact same apache/php things and just configure that. See the httpd.conf and man pages for details.

You can also do things like caching the compiled php pages rather than making the server compile them every time someone requests a page (big performance increase there when using a single server as the web host.) If the site gets large enough you can also do some sql caching, but you really have to have an overloaded sql server for that to make sense performance wise. (Not knowing how much traffic your site gets I'm just throwing these two things out.) Sorry I don't have time to find some links for you to look at.
 
  


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
Apache optimization for Xeon 2.8, 1GB RAM zurih Linux - Server 1 09-04-2006 08:36 AM
Init optimization ponds Slackware 1 04-05-2004 04:10 PM
kde optimization? alaios Linux - General 2 09-14-2003 03:55 PM
mpg123 optimization? uem-Tux Linux - Software 1 07-02-2003 03:14 AM
Apache - default module optimization trumpcar Linux - Software 0 01-11-2003 07:54 PM


All times are GMT -5. The time now is 09:22 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