Douglas Haber :: Blog

Just another WordPress.com weblog

Blog Adrenaline :: Boost your blog traffic

Posted by Douglas Haber on July 16, 2008

My friend John Motson has written yet another great eBook, his second huge success. The book’s name is Blog Adrenaline.

In this ebook, he reveals many amazing ways to build up traffic to your blog. I recommend this book highly, it’s a great book with tons to learn.

Find more out about it here.

Use the coupon dnxpert to get a great discount.

Posted in Resources | Leave a Comment »

Sweet contest, $2500 for free!

Posted by Douglas Haber on June 1, 2008

http://hostingrealm.com/site-related/hostingrealm-launch-contest

Check out that contest! You can get $2,500 for free just by subscribing.

I’m in it.

Posted in Resources | Leave a Comment »

DNXpert announces a contest

Posted by Douglas Haber on May 19, 2008

John Motson is running an incredible contest over at DNXpert (www.dnxpert.com) with over $8,000 in prizes!

Check out the contest here.

The prizes include:

Posted in Resources | Tagged: , , , , , , , | 1 Comment »

Server monitoring script

Posted by Douglas Haber on May 14, 2008

I wrote this script that monitors the status of the services on your server.

You can grab it here.

Here is a screenshot: http://www.upload3r.com/serve/140508/1210796383.png

Posted in Resources | Tagged: , , , , , | 1 Comment »

Woopra!

Posted by Douglas Haber on May 6, 2008

Woopra is a new statistic program written by 3Tera, and LayeredTech hosts it. Visit it today (www.woopra.com).

This is an amazing statistic program, and it is live no less. Here are some screenshots.

http://static.woopra.com/images/main.png

Cool beans!

Posted in Resources | Tagged: , , , , , , , , | Leave a Comment »

Where to park domanis?

Posted by Douglas Haber on April 24, 2008

Why park?

When you don’t have time to develop a site, and want to put it somewhere where you might make some revenue in the mean time, you park it.

I park all of my domains at NameDrive. I’m very satisfied there. If you have domains, I would recommend parking them there! They are absolutely fantastic.

Visit them here.

Posted in Domains | Tagged: , , , | Leave a Comment »

The Domaining Manifesto

Posted by Douglas Haber on April 22, 2008

The Domaining Manifesto is a great eBook written by John Motson about domains and how they work.

The Domaining Manifesto is a detailed guide to successful domaining. You learn to manage, protect, secure, monetize, buy and sell your domain names like a professional.

The owner of NamePros, Ron James (-RJ-) had this to say about the book:

John, I’m concerned. Are you sure you want to release this to the public? You’ve included knowledge in this book that’s taken domain industry pros like us years to learn. This so called Domaining Manifesto of yours will give people an unfair jump start into making serious money with domain names.

Ron James – Owner of NamePros.com

Use the coupon douglas when ordering to receive $10 off the price of the book.

You can grab this great ebook here.

Posted in Domains, Resources | Tagged: , , , , , | 3 Comments »

Lighttpd and PHP5 FastCGI

Posted by Douglas Haber on April 6, 2008

First install MySQL on your server with yum:

Run: yum install nano mysql* -y

Now let’s begin the install. Change directory to /root and use “nano -w installer.sh”. Then paste the following in:

#!/bin/bash
echo “Lighttpd Installer”
echo “By Douglas Haber”
echo “http://douglashaber.com”
sleep 5
echo “Cleaning up the system and installing dependencies”
yum remove httpd -y
yum install libjpeg libjpeg-devel zlib zlib-devel libxml2 libxml2-devel libpng* gcc gcc-c++ make flex bison openssl* pcre* -y
yum install mysql* -y
echo “If this fails, press control C to stop the install right now”
echo “That means that your CentOS repositories are not sufficient”
echo “Install more repositories and run again”
echo “Halting for 10 seconds”
sleep 10
echo “Downloading software”
wget http://www.lighttpd.net/download/lighttpd-1.4.18.tar.gz
wget http://us3.php.net/get/php-5.2.5.tar.gz/from/this/mirror
sleep 2
echo “Untarring”
tar -xf lighttpd-1.4.18.tar.gz
tar -xf php-5.2.5.tar.gz
echo “Done”
sleep 2
echo “Beginning lighttpd compile”
cd lighttpd-1.4.18
./configure –with-bzip2 –with-pcre –with-mysql=/usr/bin/mysql_config –with-ldap
make
make install
echo “Finished, moving on to PHP”
cd ..
cd php*
./configure –enable-fastcgi –enable-discard-path –enable-force-redirect –with-gettext=/usr –with-exec-dir=/usr/bin –with-zlib –enable-magic-quotes –with-regex=system –with-ttf –with-db –enable-mbstring –enable-mbstr-enc-trans –enable-track-vars –enable-wddx=shared –enable-mm=shared –enable-xml –enable-ftp –disable-debug –with-libdir=/usr/lib
make
make install
echo “Final steps”
cp /root/lighttpd-1.4.18/doc/lighttpd.conf /etc
cd /var/run
mkdir lighttpd
cd ..
cd log
mkdir lighttpd
cd lighttpd
touch access.log
echo “Complete! Now it is up to you to enable PHP. Read on at http://douglashaber.com for further details.”

One this is finished, type:

nano -w /etc/lighttpd.conf

Find: # “mod_fastcgi”,

Replace with: “mod_fastcgi”,

Find:

#fastcgi.server = ( “.php” =>
# ( “localhost” =>
# (
# “socket” => “/tmp/php-fastcgi.socket”,
# “bin-path” => “/usr/local/bin/php-cgi”
# )
# )
# )

Replace with:

fastcgi.server = ( “.php” => ((
“bin-path” => “/usr/local/bin/php-cgi”,
“socket” => “/tmp/php.socket”
)))
Save and quit out of your editor. Now, it is complete. Let’s start lighttpd!

Run: lighttpd -f /etc/lighttpd.conf

Posted in Tutorials | Leave a Comment »

Pizza.com sells for $2,600,000

Posted by Douglas Haber on April 6, 2008

Chris Clark of North Potomac, Maryland bought Pizza.com in 1994 with the hope that the domain name would get his firm a consulting contract with a pizza company.

He closed down his firm in 2000 but continued to renew the domain name hoping that one day it would have a practical use for him.

After hearing about the $3 million sale of Vodka.com Chris decided to try his luck and see what kind of offers he would get for his domain, Pizza.com.

He paid the $20 renewal fee every year until today. Today, he sold the name for $2,600,000. That is a 130,000% profit on the name.

He says he regrets not buying more domain names back in 1994.

Posted in Domains | Tagged: , , , , , | Leave a Comment »

Disabling unnecessary and exploitable scripts

Posted by Douglas Haber on April 6, 2008

For cPanel servers, log in as root and run the following:

chmod 0000 /usr/local/cpanel/base/cgi-sys/mchat.cgi
chmod 0000 /usr/local/cpanel/base/cgi-sys/cgiecho
chmod 0000 /usr/local/cpanel/base/cgi-sys/cgiemail
chmod 0000 /usr/local/cpanel/base/cgi-sys/guestbook.cgi
chmod 0000 /usr/local/cpanel/base/cgi-sys/Count.cgi
chmod 0000 /usr/local/cpanel/base/cgi-sys/countedit.cgi
chmod 0000 /usr/local/cpanel/base/cgi-sys/formmail.cgi
chmod 0000 /usr/local/cpanel/base/cgi-sys/FormMail.cgi
chmod 0000 /usr/local/cpanel/base/cgi-sys/FormMail-clone.cgi
chmod 0000 /usr/local/cpanel/base/cgi-sys/formmail.pl
chmod 0000 /usr/local/cpanel/base/cgi-sys/FormMail.pl

It will disable FormMail and other very exploitable scripts.

Posted in Tutorials | Tagged: , , , , , , , | Leave a Comment »