Web 2.0 … The Machine is Us/ing Us

Post by: tom on May 22nd, 2007 | File Under Multimedia
Tags:

great message … think about it ..
__
found at YouTube


Comments (No responses yet)



Using multiple logiles in one awstats config

Post by: tom on May 21st, 2007 | File Under Distributions, Monitoring

With awstats you can create great statistics and graphs about the access of your website. If you want to use more than one logfile in a configuration file, you can use logresolvemerge.pl which is included in the awstats package.

i.e.:
LogFile="/path2/awstats/tools/logresolvemerge.pl /var/log/apache/access_log /var/log/apache/another_log |"

Test your configuration:
/path2/awstats.pl -config=sitename -update


Comments (No responses yet)



Increase MySQL Performance

Post by: tom on May 14th, 2007 | File Under Databases

Keyword: MySQL Query Cache

If you want to increase the speed of your MySQL Database (answers), think about activating the Query Cache. That is available since Version 4. It’s really recommendable when you are working a lot with dynamic generated content, that does not change too often. Usually that is the fact for most webservers. In that case the Query Cache will give you back the answers for your sql queries without polling the database – as long as the tables do not change.

Insert in your config (/etc/my.cnf) i.e.:
query_cache_size = 8M

You can control the usage with a sql query:
SHOW STATUS LIKE 'Qcache%';

Thanks to Thomas Schefter for the hint.


Comments (No responses yet)