TalkPHP
 
 
Account Login
Latest Articles
» The basic usage of PHPTAL, a XML/XHTML template library for PHP
» Vulnerable methods and the areas they are commonly trusted in.
» Simple way to protect a form from bot
» The Basics On: How Session Stealing Works
» How to keep your forms from double posting data
IRC Channel
IRC Speech Bubble Join the friendly bunch on IRC...
(#TalkPHP on Freenode)

...Also available via a web interface.

See this thread for information on the TalkPHP Free Hugs Initiative™. Subject to availability.
Associates
Associates
CSS Tutorials
Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old 12-19-2007, 08:52 PM   #1 (permalink)
The Acquainted
Upcoming Programmer 
 
CMellor's Avatar
 
Join Date: Sep 2007
Location: Leeds, UK
Posts: 141
Thanks: 6
CMellor is on a distinguished road
Default Running a Server

I decided to ask both of my questions in two separate threads

I would like to read people's thoughts and opinions on running a server, from people who currently have a server up and running, to people who've had experience in the field.

I ask simply because sometime in the future, I may want to run my own server so that I may host my own websites and other things on it. I am currently building a large scale community website, that I have some high hopes for, and hope I can make it successful. Should it become a hit, perhaps a shared web host that I am on could not handle the traffic and it would result in having to switch, which may cost more money, but having it on a server, it could be a whole different matter.

If I could read some of your thoughts and opinions, as well as maybe some up sides and down sides to running a server over having a shared host, as well as your own experiences, I would be grateful as I am very curious on this matter.

Thank you!

- Chris
__________________
Not quite a n00b...
CMellor is offline  
Reply With Quote
Old 12-22-2007, 02:40 PM   #2 (permalink)
The Addict
 
Join Date: Nov 2007
Posts: 264
Thanks: 2
TlcAndres is on a distinguished road
Default

It was very sad the day when I realized I didn't have the money to keep on paying my dedi (layeredtech.com), but before that it was an awesome experience I personally find it highly amusing installing packages and the such.

My only bit of actual advice is, have 6 months of server cost at the ready upfront.
TlcAndres is offline  
Reply With Quote
Old 12-29-2007, 11:39 PM   #3 (permalink)
Alan @ CIT
Member of the Month
The Frequenter
Member of the Month Top Contributor 
 
Alan @ CIT's Avatar
 
Join Date: Apr 2005
Location: South UK
Posts: 483
Thanks: 51
Alan @ CIT is on a distinguished road
Default

Running a web server isn't always as fun as it may seem :) Unfortunately, it does consume a hell of a lot of your time doing mundane routine mundane tasks.

I used to work for a dedicated server provider in the UK as a sys admin looking after some 450 servers and my daily task list went something like this:

1) check webserver, database server, mail server and general server logs for any errors / hack attempts / crashes / etc
2) Scan the relavant websites (php.net, mysql.com, etc) for updates to software and install / update them as nessacery (which usually involves spending 5 hours trying to get all the compiler flags correct for the modules you need :D)
3) Check server load to make sure nothing has hung and no processes are locked / crashed
4) Check the cron jobs (scheduled tasks) to ensure that they have run
5) Check the backups
6) etc...etc...etc... :)

If you just want to run 1 or more websites, I would fully recommend using a standard webhosting / reseller hosting account. The benifits of having a techie to do all your PHP / Apache / MySQL upgrades for you are priceless in my eyes :)

If you want to "try out" running a server before you decide to rent one, download yourself a copy of Linux (any brand of linux will do but Fedora is a popular free brand for servers) and install it on your own PC (duel-boot with Windows - most modern linux distributions can handle this without much trouble) and have a play.

One important thing to remember when you do this is that on a rented dedicated server it will all be command-line based - you won't have any fancy windows to point and click (well, unless you rent a Windows server of course :))

Alan.
Send a message via MSN to Alan @ CIT
Alan @ CIT is offline  
Reply With Quote
Old 12-30-2007, 12:26 AM   #4 (permalink)
The Frequenter
 
Join Date: Dec 2007
Location: In my basement
Posts: 386
Thanks: 47
Aaron is on a distinguished road
Default

I am just throwing this out there, but if you guys need a site, I offer web hosting.

Aetherdesigns Hosting

Just incase you don't wanna mess with all that server stuff. O.o

And Alan, the server usually tells me if something is wrong..
Send a message via MSN to Aaron
Aaron is offline  
Reply With Quote
Old 12-30-2007, 12:35 AM   #5 (permalink)
Alan @ CIT
Member of the Month
The Frequenter
Member of the Month Top Contributor 
 
Alan @ CIT's Avatar
 
Join Date: Apr 2005
Location: South UK
Posts: 483
Thanks: 51
Alan @ CIT is on a distinguished road
Default

Quote:
Originally Posted by Aaron View Post
And Alan, the server usually tells me if something is wrong..
Does it tell you by crashing? Ours used to do that a lot :(
Send a message via MSN to Alan @ CIT
Alan @ CIT is offline  
Reply With Quote
Old 12-30-2007, 02:50 AM   #6 (permalink)
The Frequenter
 
Join Date: Dec 2007
Location: In my basement
Posts: 386
Thanks: 47
Aaron is on a distinguished road
Default

Nawww, we have 100% uptime.
Send a message via MSN to Aaron
Aaron is offline  
Reply With Quote
Old 12-30-2007, 01:51 PM   #7 (permalink)
The Addict
 
Join Date: Nov 2007
Posts: 264
Thanks: 2
TlcAndres is on a distinguished road
Default

100% uptime is near impossible, you need to take the server down here and there to install new packages and do regular maintenance to the hardware o.O
TlcAndres is offline  
Reply With Quote
Old 12-30-2007, 08:14 PM   #8 (permalink)
The Frequenter
 
Join Date: Dec 2007
Location: In my basement
Posts: 386
Thanks: 47
Aaron is on a distinguished road
Default

You run the information on a backup server if you absolutely need to take the regular server down, but most of the time you can check everything while it is still running.

And don't forget, Linux can dual boot.
Send a message via MSN to Aaron
Aaron is offline  
Reply With Quote
Old 12-30-2007, 08:30 PM   #9 (permalink)
dav
The Wanderer
 
dav's Avatar
 
Join Date: Dec 2007
Location: Manchester, UK
Posts: 9
Thanks: 1
dav is on a distinguished road
Default

Yeah you can manage 100% uptime provided you have a cluster of servers and the technical know-how to do it.

All I can add to this post is, looking after a dedicated server can be quite hard and stressful!

Some links you may find useful if you do decide to get a dedicated server are:

Common SSH Commands - Linux Shell Commands - Hosting Tutorials
How to install BFD (Brute Force Detection) - Server Security
How to install APF (Advanced Policy Firewall) - Server Security
Close Open DNS Servers - Server Security
How to move a large forum from Server A to Server B? - Hosting Technology - Web Hosting Tutorials & Reviews

Some of them may be outdated and based around Cpanel, but you follow the tutorials and advice and adapt it for your own needs.
dav is offline  
Reply With Quote
Old 12-31-2007, 10:15 PM   #10 (permalink)
The Acquainted
 
wGEric's Avatar
 
Join Date: Nov 2007
Posts: 166
Thanks: 0
wGEric is on a distinguished road
Default

Colocation is usually the cheapest but you'll want to find one close to you so you can go in and replace hardware if it fails. That can get pricey. Colocation is where you provide the server and you rent space within a data center.

If you rent a server from someone then they will handle the hardware so you don't need anything close to where you live. This is usually more expensive than colocation. With this you can get managed and unmanaged. Managed is where the people you are renting from will keep software up to date and any other management tasks that need to be done on the server. Unmanaged means you do all of that. Managed is more expensive than unmanaged.

If you don't know anything about running servers and your website absolutely needs it's own box then I'd recommend spending the extra money to get a managed server.

There is also virtual private hosting. You share a box and resources with other people but you have your own server running as a virtual machine. You are guaranteed a certain amount of resources though. This is for those that need more than share hosting provides but don't have a need for a dedicated server. I believe you can get this in managed and unmanaged as well. Cheaper than a dedicated server and sometimes colocation.
__________________
Eric
wGEric is offline  
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 07:42 AM.

 
     

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Inactive Reminders By Icora Web Design