Installing Apache + PHP + MySQL + MSSQL Extension on CentOS5

This is a short guide that will show you how to install Apache, PHP, MySQL, and MSSQL Extensions on a CentOS5 Server or VPS.  All “quote” blocks are to be executed in SSH (shell) as root.

Getting the server ready to build applications from source:

Check for any RPM installations of the applications.

rpm -qa | grep -i apache
rpm -qa | grep -i httpd
rpm -qa | grep -i php
rpm -qa | grep -i mysql

Remove any RPM installations found with the “rpm -e” command:

rpm -e application_name_here

Install some base requirements to compile and install the software. Continue reading

Share

Are you a host-jumper?

hostjumpWeb hosting providers rely upon long term client/provider relationships to reduce costs and to help pay for attracting new customers.  In my personal experiences it costs approximately $150 to attract the average new client to a hosting provider.  When you compare the average monthly hosting bill of around $5 to the cost to attract a customer you will very quickly see why a hosting provider needs long-term clients.

There are clients that see purchasing web hosting as a long-term relationship with their provider and they look forward to reliability, service, and support for a long time to come.  Realistically most clients tend to stay with their provider until their needs drastically change and this is how things really should be.

No host is perfect – every host is going to experience issues from time to time and what is more important than whether or not they ever have issues is whether the host is directly at fault for the issue or if the issue was something that shouldn’t be held against them such as hardware failure.  Just because your host experiences an issue is not reason alone to leave that provider unless they could have prevented the issue and chose not to or they simply handled the situation poorly.  Most clients understand that issues happen and as long as they are kept informed as to what has happened and what is being done to resolve the issue they are willing to work through the issue.  If you find yourself changing hosts every single time your provider has an issue you may want to consider giving your provider a chance to handle and resolve the issue before deciding to move. Continue reading

Share

Starting and Running a Web Hosting Business – Part One

SLDALThere are many qualities that are required in an individual for them to start and grow their own successful web hosting company on their own from the start.  Many people see web hosting as something that is simple to provide and requires little to no work which couldn’t be further from the truth.  There are many aspects of web hosting that the average first-time web host will not plan for or even think about such as their web site which can be simple but is very important if you are to function as an online business.  Other aspects of running a web hosting business range from obtaining the correct licensing as required by local laws to having a basic understanding of business management and accounting.  While most are not a jack of all trades, they can often get by based upon what they know and have people they can ask for help if they need it.

The most important quality required in a person starting their own web hosting provider is resourcefulness – when you are new to hosting there are certainly going to be roadblocks that you come across and questions that you do not know the answers to.  Being resourceful means that even if you don’t know the answer immediately you know where to look to find the answer.  The vast majority of support issues that clients raise could be answered simply by visiting Google.com and typing in the question or a description of the issue.  Unless you are an expert on everything (keep dreaming) then you either need to be resourceful or you will very quickly find yourself being asked questions you cannot answer which leads to very unhappy customers and bad reviews. Continue reading

Share

Another Day, Another DoS

Disruption of Service (Graph)

Let’s face it – the world tends to be a very hostile environment and the internet is not much different.  From viruses and trojans to distruption of service attacks – it happens all day every day and it is only a matter of time before it affects you.  I have personally dealt with two DoS attacks in the last two weeks and both for very different reasons although the end result is about the same.

Last week the DDoS, or distributed disruption of service, attack was motivated entirely by financial gain for the attacker.  The attacker had previously attacked another hosting company called A Small Orange and had attempted to extort $7,000 from the company to stop the attack.  ASO did not bow to the demands of the attacker and simply worked to filter out the attack and return service to their customers.  While some of ASO’s customers were not satisfied, many times when a provider is put in this situation there is not much that can be done.

The attacker moved on from ASO to my company and sent a message to our sales department informing us that we were next.  The attack began about an hour later and peaked at about 4.5GBPS which is enough to  bring down most small data centers in their entirety however our data center SoftLayer Dallas was able to filter out the attack within 10 minutes to restore full service.  The attacker subsequently moved on to their next target which was VectorLevel who was hosted with Colo4Dallas at the time.  The attack at VectorLevel brought Colo4Dallas to it’s knees until the attack was null-routed at C4D’s upstream provider.  At the time of this writing Colo4Dallas’ web site was unreachable and as such I am not directly linking to it. Continue reading

Share

LiteSpeed Licensing – 39 Months To Make Owned Worth It???

LiteSpeed

I was doing the math on the licensing structure (we’ll go with the 1-CPU Enterprise license as this example).

I will start by saying that I realize it is in LiteSpeed Technologies’ best interests for you to lease your license from them as this gives them the most profit/income etc… where as an Owned license is generally seen as a larger up-front investment to reduce long-term costs.

I am also aware that I am comparing monthly lease to a yearly ownership as I am wanting to compare the extremes (smallest up-front investment vs the largest).

Owned licenses are an investment into LiteSpeed Web Server/Technologies and I always look at investments based upon how well they will return and how long until they return. A 39 month wait until the investment begins to return is a tad too long in my opinion and as you read on you will see the details of my analysis of their licensing program. Continue reading

Share

LiteSpeed4.0 vs Apache2.2 In My Eyes

LSvsAPI will start this post by saying that I have used Apache for more than 2 years in production environments and I am quite experienced at optimizing Apache to accomplish the goal at hand should it be handling thousands of connections simultaneously to serving dynamic web sites quickly and efficiently while minimizing the memory footprint.

I have in the past fought tooth-and-nail for Apache’s ability to match LiteSpeed Web Server’s speed when serving web sites.  Apache can be configured to be nearly as fast if not just as fast as LiteSpeed but the problem is that Apache requires in my own personal testing nearly two times as much memory and FastCGI to come close to LiteSpeed comes out of the box.  LiteSpeed claims to serve static content up to 9 times faster than Apache and PHP up to 50% faster.  While I won’t go into depth as to which one can do what faster, I will go into why I chose to move my company from Apache to LiteSpeed and what benefits we have seen.  If you want to see benchmarks that compare LiteSpeed and Apache I recommend you search Google. Continue reading

Share

The Day Michael Jackson Slowed The Internet

Many of my customers as well as many other individuals that have web sites of their own are finding out that the internet itself is running very slowly today.  When I contacted our datacenter that provides service for our servers here is the response that I received from the representative:

The issue is that the Michael Jackson funeral is the largest web event in history. This is causing sluggish response times everywhere.

David E
SoftLayer CSA

michael_jacksonWe have had several clients submit tickets saying things such as “My site is loading slowly or not at all” and in my testing I have found that it is difficult to make connections across the country depending on what backbone your internet service provider is using.  It seems that Level3 and RoadRunner are having some trouble with the amount of traffic being transferred across their backbones where as I am seeing beautiful performance out of the Comcast backbone myself.

Upon asking for further detail from our datacenter, SoftLayer, this is what the representative had to say:

We are getting reports of sluggish response from all locations. There is no point of origin. It is internet wide.

If you are browsing the internet right now and everything is running smoothly then you can consider yourself lucky.  If you do run your own web site and you are having trouble connecting to it or you are receiving reports from your clients that your site is down there isn’t much you can do but tell them that the internet is extraordinarily congested due to the Michael Jackson funeral today and that we will all just have to wait this out.

There is also a thread that has been started by a user having issues with the internet over at the good old WebHostingTalk.com discussing that they are having issues connecting to WebHostingTalk.com where as other users are reporting no issues at all.  There is no definite way to tell if you will or will not have problems and you may have problems visiting one site while not having problems connecting to another.

Are you having trouble connecting to your own site or a site that you frequent?  Post a comment and let us know!

Share