Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Wed Nov 10, 2010 11:02 pm 
Offline
Newbie

Joined: Wed Nov 10, 2010 10:27 pm
Posts: 4
Hi, just wondering if somebody could point me in the right direction. I am new to operating a server in a root environment, migrating from shared hosting so its a wonderful and daunting experience at the same time :D

I'm running Ubuntu 10.04 on a Linode 512 and would be very grateful for pointers in the right direction for each of the main packages I'm running. When I finish migrating we will be serving 2000-3000 page views per day, one zen cart store, two wordpress sites, and an email marketing software. So four mysql databases.

These are the questions I have;

1. What would be recommended for configuration settings for Apache2?
2. And for MySql? I found Linode Library's config settings but the directive asked for a couple of settings to be changed that weren't even in the conf file.
3. PHP5? At the moment I have the default php5 package from the repository installed - should I be installing a performance cache or something like that? If so, what would be recommended?
4. Postfix? If I'm doing a mail-out I wouldn't want SMTP to erode performance of the websites.

Thanks for helping a noob out!!


Top
   
PostPosted: Thu Nov 11, 2010 11:00 am 
Offline
Senior Member
User avatar

Joined: Sat Aug 30, 2008 1:55 pm
Posts: 1739
Location: Rochester, New York
nscrivener wrote:
1. What would be recommended for configuration settings for Apache2?


I'd probably set the KeepAliveTimeout to 1 second or so, and MaxClients to about 20-25. If you hit the MaxClients limit, then it's probably time to either consider more memory or offloading static objects (images, CSS, JS, etc) from Apache.

Quote:
2. And for MySql? I found Linode Library's config settings but the directive asked for a couple of settings to be changed that weren't even in the conf file.


There's going to be a default for each of those options, if they aren't in the config file. MySQL's documentation for your particular version should have those.

Quote:
3. PHP5? At the moment I have the default php5 package from the repository installed - should I be installing a performance cache or something like that? If so, what would be recommended?


A lot of folks seem to use APC with good effect. Unless you have a really, really, mind-bogglingly good reason to do so, use the Apache/MySQL/PHP/etc packages from your distribution's repository.

Quote:
4. Postfix? If I'm doing a mail-out I wouldn't want SMTP to erode performance of the websites.


Postfix's major impact would be on disk I/O, since it has to write and read each message to disk and append stuff to a log file. If everything else is set up correctly, your web site shouldn't need to do much disk I/O to do its job, and everyone will be happy.

(There are ways to rate limit Postfix if required, too.)

_________________
Code:
/* TODO: need to add signature to posts */


Top
   
 Post subject:
PostPosted: Thu Nov 11, 2010 7:37 pm 
Offline
Newbie

Joined: Wed Nov 10, 2010 10:27 pm
Posts: 4
Thank you very much for your reply, those were pretty straight forward to find and configure.

What I'm not sure of now is appropriate settings for APC for the Linode 512, and where to find the config file? If someone could point me in the right direction I would be very grateful :-)


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group