What is the best strategy for this kind of server ?

nova2002
nova2002 used Ask the Experts™
on
Currently I run a server for sharing photo albums.
User will send their photo albums to the web server via HTTP POST and FTP.
The albums can be viewed online through that web server.

The size of each photo album on average is 500 KBytes. So, it's not small.

I use:
- RedHat 9.0
- Apache 2.0.x
- MySQL 3.23.58
- Pure-FTPD
- Sendmail

All cgi are written in C and all html are just plain html.
I dont use php except phpBB for forum (will not be very busy).

What is the best strategy to prepare (upgrade in the future) and to configure the server?

My main concern is just a fact that my web server will server quite large files (photo album).

I meant, if there is good strategy for this kind of server (that serve large files), please if you willing to share

And what should I consider first when upgrading the server hardware?

Now, it is hosted in nocster, pentium 4 2.0 Ghz (single cpu), 512 MB RAM, 60 GB IDE Harddisk.

Thank you.

Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Commented:
you may want to consider a RAID -- this would give you faster disk access time when displaying pages, and possibly some redundancy as to the files themselves.

I am not 100% sure this is what you are looking for, maybe you can give me a better idea?
I'm second with majorwoo for RAID, and try to have a hardware RAID, if the budget not suitable to have one at lease to have a software RAID.

For software RAID info have a check here http://unthought.net/Software-RAID.HOWTO/Software-RAID.HOWTO.html

Also I will consider to have a backup plan like backup to another media, tape or MO or harddisk.

Have a look here for backup info. http://www.tldp.org/LDP/sag/backups.html
CC on RAID. If you go with RAID1, a cheap HW solution might be worse than a SW solution (performance-wise), or at least in the same region, so then SW RAID might be best. Md+LVM might give you some flexibility too:-)... And RH9 is real nice helping you configure it too;-).

I'd buy more memory though. At least a GiB.

And depending on the load from the cgi's you might consider a dual cpu system, or perhaps even some form of LVS.

-- Glenn
OWASP Proactive Controls

Learn the most important control and control categories that every architect and developer should include in their projects.

No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:
Split between majorwee, paullamhk and Gns
Please leave any comments here within the next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

khkremer
EE Cleanup Volunteer

Commented:
Hmmm, who is this majorwee character?

;-)
AAARRRRGGGHHHHH.... Not only that, I also forgot the "g" in Paul's user name. Sorry about that.

Commented:
Boy your just looking for friends ;-)

No worries.
we all know you well khkremer, right Glenn and majorwoor ;-) also when you got the tools (as Chmod said) it will not happen again.

Glenn you are lucky since your login is simple hard to make typing mistake :)

Lucky to be semi-cryptic ... Yea!-)
Josh should perhaps get the "bulk", with Paul a good second... Since it's 50 points, splitting 3-ways seem ... silly. (As if any of that wasn't selfevident:)
And don't trouble your mind over silly misstakes khkremer, we all do them;-)... (Said Le grand Typo:-).

-- Glenn

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial