For CPanel Servers, ConfigServer firewall a must

The crew at ConfigServer have created an awesome (Free) firewall plugin for CPanel that makes security a breeze. I’ve loaded it on all our servers and am really impressed. You can hop over to more information about ConfigServer, or follow the simple instructions I’m archiving here:


###############################################################################
# Copyright 2006-2009, Way to the Web Limited
# URL: http://www.waytotheweb.com
# Email: sales@waytotheweb.com
###############################################################################

Installation
============
Installation is quite straightforward:

rm -fv csf.tgz
wget http://www.configserver.com/free/csf.tgz
tar -xzf csf.tgz
cd csf
sh install.sh

Next, test whether you have the required iptables modules:

perl /etc/csf/csftest.pl

Don't worry if you cannot run all the features, so long as the script doesn't
report any FATAL errors

You should not run any other iptables firewall configuration script. For
example, if you previously used APF+BFD you can remove the combination (which
you will need to do if you have them installed otherwise they will conflict
horribly):

sh /etc/csf/remove_apf_bfd.sh

That's it. You can then configure csf and lfd by edit the files
directly in /etc/csf/*, or on cPanel servers use the WHM UI

csf installation for cPanel is preconfigured to work on a cPanel server with all
the standard cPanel ports open.

csf installation for DirectAdmin is preconfigured to work on a DirectAdmin
server with all the standard DirectAdmin ports open.

csf auto-configures your SSH port on installation where it's running on a non-
standard port.

csf auto-whitelists your connected IP address where possible on installation.

You should ensure that kernel logging daemon (klogd) is enabled. Typically, VPS
servers have this disabled and you should check /etc/init.d/syslog and make
sure that any klogd lines are not commented out. If you change the file,
remember to restart syslog.

See the readme.txt file for more information.

Webmin Module Installation/Upgrade
==================================

To install or upgrade the csf webmin module:

Install csf as above
Install the csf webmin module in:
Webmin > Webmin Configuration > Webmin Modules >
From local file > /etc/csf/csfwebmin.tgz > Install Module

Uninstallation
==============
Removing csf and lfd is even more simple:

On cPanel servers:

cd /etc/csf
sh uninstall.sh

On DirectAdmin servers:

cd /etc/csf
sh uninstall.directadmin.sh

On generic linux servers:

cd /etc/csf
sh uninstall.generic.sh

Posted in Web Development

Custom 404 Error Pages in Codeigniter (the easy way)

For those who have worked with the Codeigniter framework, you may have wanted to customize your error pages, specifically the 404. It looks like most of the developers on the forums are coming up with more complicated ways then necessary. The easiest way is to edit the following file:

/includes/application/errors/error_404.php

I opted for a customized background image, specific link and some modified copy. You could of course treat this like a view and do more dynamic things… but really? it’s a 404 page, let’s keep it simple people.

Here is an example of the one I put together: http://www.campuslive.com/somecrazyjibberishurl

Posted in Web Development

My Power Adapter from Dell just caught fire…

I was hoping not to join the “My D830 Power Cord is Dead” club that the rest of my office is in. Their adapters randomly stopped working, some are on their 2nd or 3rd replacement for the Latitudes.

Today – MINE CAUGHT ON FIRE!

dell_d830_cordfire

Posted in Unbelievable

Small != Tall

I love being in Starbucks, waiting for my order, when another customer asks for a small coffee.

Starbucks Cashier: Hi, what can I get for you today?
Customer: A small coffee please
Starbucks Cashier: A Tall coffee?
Customer: A small coffee (a little sternly)
Starbucks cashier to Barista®: One Tall coffee

So would it have killed the cashier to let the customer use the generally accepted term for the smallest amount of coffee you can buy? Perhaps after being ignored this will be his last time visiting a Starbucks.

Make customer service the #1 priority at your company and your customers will come time and again (and likely bring a friend).

Posted in customer service

Great song: James Morrison – Under the influence

can’t get this one out of my head. who agrees?

Posted in Uncategorized

Funny e-mail marketing response

Anytime you we do email marketing there are alway a few awesome replies that give us all a good laugh. We recently sent out emails to ASU as a result of referrals from other users. We received this awesome reply:

———————————-

Hi,

Asu did not accept me to a phd program. It is offensive to receive an email from you. Please adjust your marketing strategy accordingly. Thanks.

———————————-

I kind of feel bad for this guy – funny that he finds us offensive though!

Posted in Business

A fix for Eaccelerator filling up /tmp folder – WHM & CPanel

UPDATE: If you simply want to clean out the /tmp/eaccerlator folder, the following command does the trick on CentOS and RedHat systems.

tmpwatch --mtime --all 336 /tmp/eaccelerator

———–

I just found a fix for the /tmp folder filling up with session files from Eaccelerator.

The trick is to move the cache folder to a larger partition. In our case our /tmp folder is 1GB and it was hitting 90% full regularly.

Login as root :

# pico /usr/lib/php.ini

Find :

eaccelerator.cache_dir=”/tmp/eaccelerator

and change it from /tmp/eaccelerator to /var/cache/eaccelerator and save the file.

# mkdir /var/cache/eaccelerator

#service httpd stop

#rm -rf /tmp/eaccelerator

#service httpd start

Posted in Computers & Internet, Questions Answered

Great Quote – Tom Kelly, Head of Sales for Avon

“When we say we are burned out, I hope it means that we were once at least on fire”

via friend Keith Ferrazzi on twitter

Posted in Uncategorized

To truly realize progress, look back two years.

I found this ripped piece of paper from just over 2 years ago when CampusLIVE was in it’s infancy. Boris and I were in a small office, just under 300sq ft. This was our first organizational chart. I can remember how exciting it felt to create this. Fast forward 2 years: from 1 school to 88. From 2 employees to 10. Progress

Look back through your notes from 2 years ago. It will show you that you truly have made progress, even in the times you question it.

company-plan-2-yrs-ago-1

Reblog this post [with Zemanta]
Posted in Business, Entrepreneurship
Tags: ,

An open letter to Neil Mellen, President of Town Fair Tire

[Sent via US Postal Service on 8/20/2009]

Jared Stenquist
CampusLIVE, Inc.
9 East Pleasant Street
Amherst, MA 01002
August 20, 2009

Neil Mellen, President
Town Fair Tire
460 Coe Avenue
East Haven, CT 06512

Dear Neil,
I wanted to take the time to provide feedback from a recent visit to your West Springfield location. As a business owner myself I make it a point to offer easy ways for our customers to provide feedback. Since the invoice I received from Town Fair Tire requested my input at the bottom, I felt I should oblige. I rarely take the time to write letters – only in circumstances of really great or really poor service. Hopefully my time writing will help out future customers.

I made an appointment for 8/6/2009 to have four new tires put on my car. I arrived at 11am to meet my salesman – Dave. He was pleasant enough. I could tell he was knowledgeable. We ended up deciding on a different pair of tires than requested, mostly because he said you didn’t guarantee Goodyear tires – Toyos were the way to go. I’m not sure if this is because you really don’t guarantee them, or because the Toyos were $25 more per tire.

The process of choosing between tires was in my opinion, meant to be extremely confusing. I expected this from a tire salesman as that’s the stereotype. I had hoped to be pleasantly surprised. In an archaic method, Dave spit out 5 different options on a calculator in less than a minute, and tried to explain each, in about 5 seconds. With (25) dollar values per printout and no line item description next to each, they were near impossible to understand – and I’m 25. I can’t imagine what an elderly person goes through.

Suggestion – Why not walk customers through tire options on the computer screen and explain what each item is. It’s easy, and customers won’t feel like you’re just confusing the hell out of them to get them to nod their head. Maybe even some diagrams – what is a front end alignment? What is a rear “thrust” alignment? If your customers learn something while they’re there I bet they’ll be inclined to return.

I had an appointment for 11am, but expected to wait, as most auto shops are very busy. I asked Dave for a rough estimate on the waiting time. He said from start to finish, 90 minutes. For all the work being done I didn’t feel this was bad. I killed some time next door at Staples doing some office shopping. I returned at 12:15pm to find (now one hour after I paid) that my car was still sitting out front, untouched. I remained patient and waited another 30 minutes. The car was still not touched – the only one sitting in front of the bay for over an hour.

I’m a very patient guy – extremely patient I would say. What really got me, was that while I was sitting on the bench out front waiting for them to start my work, there were (5) employees, whistling at or what we could refer to as “hitting on” a female customer who pulled up in a jeep out front. That’s right FIVE! Once they hit 18 minutes I had to go find Dave to see what the deal was. 5 employees x 18 minutes doing nothing = 90 minutes they could have worked on my car. And to top it off, an employee walked out of the front of the shop and yelled to the (5) saying something along the lines of “YO! You boys still off the clock yet?” to which a resounding “NOPE” was heard.

Dave just gave a little chuckle when I mentioned his (5) stellar employees who still hadn’t touched my car now 1 hour and 45 minutes since I paid him $646.00. Another 35 minutes of waiting and someone finally noticed my car (the only one parked in front of the bays).

Suggestion – Maybe you need a manager or some sort of person in charge who makes sure cars don’t sit for 2 hours before they’re seen. Maybe install a timer like that have at McDonald’s, Jiffy Lube, Dunkin Donuts Etc.. that shows the vehicle waiting the longest. There must be some way to do this. Anything to keep your customers from waiting 3.5 hours for a tire change.

I have one more thought that may help your company in the long run. A conversation with my father about how my new tires looked gave me the thought. He asked where I took my car to get the tires done. I told him Town Fair, to which he replied – “I’m surprised they didn’t make any attempt to even wipe your rims down. I went to Direct Tire and they even cleaned my wheels thoroughly”

I thought about it and he was right – Not only because it would look like you guys were “Going the extra mile”, but because cleaning the rims makes the tires look better! If I see my car come out of the bay with shiny tires and rims, that image will stick in my head for next time my tires go. This is why I go to AutoExpress in Amherst, MA – unlike Jiffy Lube, they go the extra mile and vacuum my carpets. I know I need to do a better job cleaning my rims, but I guarantee you that giving your customers rims a quick once over for 30 seconds a rim will impact your bottom line in a very positive way.

I thank you for taking my feedback. I hope it will help your business in some way.

Sincerely Yours,

[signature]

Jared Stenquist

CEO/Founder
CampusLIVE, Inc.

jared.stenquist@campuslive.com
413.259.6777

Posted in customer service