peter's blog

Installing Bugzilla on centos - perl modules and other issues

Thu, 07/02/2009 - 04:13 - peter | |

Here are a few tips I can share from my recent experience installing bugzilla on centos. I won't say this is the best way or the only way, or that it will work with your centos (or god forbid non-centos), but it did work for me, and this roadmap might help you a little.

How to Preview Your Site ie6-8 In Vista Using Virtual PC and localhost

Mon, 06/15/2009 - 00:15 - peter | |

If you've done any slightly-complex theming, and actually have people viewing your site, you know that many people still use old versions of Microsoft's ie browser.  May 2009 Browser Percentage for Site

As you can see, ie7, ie6, and firefox each have about 30% of the visits to one of my sites for May 2008.  Since I use firefox and chrome for my basic site building and testing, they always display properly.  But because two thirds of my users are using problematic browsers (ie6 and ie7) I need to do testing of my pages whenever I do any display changes.

Thumbs Up/Down on Name.com, Goddady, Pacificrack, Pair.com

Wed, 06/10/2009 - 05:36 - peter | |

My recommendations for the week: Name.com serves my domains well.  Pacificrack.com delivers on dedicated servers.

On the way out of my favorite list is pair.com (high prices, low disk space quotas, and no support for mod deflate in shared hosting) -- though pair.com is reliable at least.

CentOS at Pacificrack.com: Fix Yum Hang with rpm and db files

Wed, 06/03/2009 - 23:55 - peter | |

I killed one yum process as it was doing an install, and my punishment was quick and severe: yum from that point forward just hang on most commands, doing nothing.  After consulting a variety of internet sites and forums, etc, trying out their solutions, here's what I did that worked (thanks http://www.linux-archive.org/centos/33529-yum-hangs-when-reading-local-rpmdb.html):

cd /var/lib/rpm

rm *__*   [3 db files]

rpm --rebuilddb

 

Testing:

yum list available

 

 

Setting Up a Dedicated Server at PacificRack.com: Simple DNS and Apache Configuration

Wed, 06/03/2009 - 20:52 - peter | |

Yesterday I wrote an intial entry about setting up a dedicated server at Pacificrack.com.  Today we'll continue with further DNS and apache configuration.

DNS configuration

The simple answer with DNS configuration is to allow the registrar to provide it.  Whether that's godaddy, name.com, etc, the registrar has several options for how to host your names.  You'll have to learn a little about the configuration interface to your registrar - if you follow my example, you won't be changing the name of the DNS servers, but rather changing the IP address only, but keeping the DNS server hosted by your registrar.

Setting Up a Dedicated Server at PacificRack.com: Choosing a Server and Installing Bare Bones Apache Webserver

Tue, 06/02/2009 - 19:03 - peter | |

I've been with pair.com for almost a year now, and overall it's not been a bad webhost: good support and reliability.  However, I decided for a variety of reasons to make a switch to a dedicated server elsewhere:

Check For Localhost From Smarty To Disable Adsense When Testing

Mon, 05/18/2009 - 07:25 - peter | |

I like to disable adsense in my development environment.  This has one definite benefit (I don't erroneously click on an adsense ad, thereby marking my adsense account as a potential click fraud perpetrator) and one possible benefit (I believe that sites with higher click-through rates get served higher-CPC ads by google).

Since on one site I am using smarty php templates, I had to add a few lines of code to my main index.php file:

$smarty->assign('phpservername', $_SERVER['SERVER_NAME']) ;

(that should be set just before the call to $smarty->display() )

Layout of a Fixed Content Column With Javascript-Updated Fluid-Like Margin Widths

Sun, 05/10/2009 - 07:37 - peter | |

In one website I am developing, I want to have a huge background canvas that does not repeat - but I don't want scrollbars and also want all my text content to behave as a normal fixed layout in 960px, without meandering around on a background.  The background is going to ultimately blend in visually with additional elements I add later to the foreground, so it has to be fixed.  I spent a few days considering whether this could be done with straight html/css, but I wasn't able to come up with a solution.  One last thing - I wanted the center 960px background above the fold to load first, to give the viewer something to look at immediately while the rest of the page elements download.

To What Extent Does Google Use Visitor Time vs. Links in Page Rank / SERPs?

Sun, 05/03/2009 - 00:49 - peter | |

I think I remember reading Matt Cutts or someone else from google stating maybe 6 months back that Page Rank and/or SERP results don't take into account the attention users give to pages directly (by tracking user activity), but only indirectly (by making links to appreciated pages).  The argument was that it was too easy to create pseudo-software-solutions that could fake user visits.  I just tried to find a reference to that but I failed.

Be Careful With Clicksor: Their Javascript Embeds Links Even If You Only Add a Banner

Sun, 05/03/2009 - 00:03 - peter | |

I recently set up a clicksor account, because I wanted to be able to compare google adsense revenue with a competitor.  This was my first time with clicksor.  I submitted the site through the standard review process, and I clearly indicate in the "get my javascript embed code" check list that I did not want any of their in-text features or pop-up features - just the banner.  Unfortunately, as soon as I installed the banner code, my site was also peppered with intext-links.  I did a quick search, and noticed that I wasn't the only one who came across the problem.  Here's another example of clicksor gone wrong.