« Posts by admin

Installing Varnish on CentOs 5.5 for a single site

I hope this is not too much of a rip off… you should have some sort of web server running on 127.0.0.1 port 80 in order to test.

Follow then instructions here: http://www.varnish-cache.org/installation/redhat

For my reference i will repeat the steps here: »Read More

Setting up Apache 2 Worker MPM mod_fcgi PHP (APC) on CentOS 5.5

I have been looking for better performance than Apache in prefork mode with mod_php, i hope this is it. This whole tutorial is pieced together from other posts and is what worked for me. »Read More

Running Multiple Instances of SOLR on Apache Tomcat and CentOS

This is a quick step by step or how to on running multiple instances of SOLR on Apache Tomcat. We will also setup basic password protection so that SOLR can have some protection. Before installing make sure selinux and you firewall is configured properly or disabled.

# = command

1. Install Tomcat
See what is available
# yum search tomcat
»Read More

Magento Module – Admin Configurable Cron Job Example – clear all cache

It took me a fair amount of time to figure this out. So in the hope that it will save someone the trouble here it is.

Using Magento’s Cron functionality is fairly simple. Creating a module that allows the cron job to be configured in the admin is a little trickier. This post will demonstrate how to create a module that runs a Magento cron job. The job can be enabled or disabled and frequency/time can be configured all through the admin. This module was tested with Magento 1.3, 1.4 and 1.5. For simplicity the job will clear Magento’s cache, but could just as easily be something more usefull. If you are looking to clear Magento’s cache it would be much easier to run a shell script that deletes the cache, one line of code vs all this.
»Read More

Please Be Patient

I will start posting some good stuff over the next couple of weeks. I plan on sharing some of my Magento knowledge as soon as i get a chance. The first Magento article will be on creating cron jobs within a module.