-
- CommentAuthorcthelight
- CommentTimeApr 18th 2008
On my Surpass Hosting Dedicate server, I was giving out hosting to anybody who asked, but now I just spend $100 for a Compaq DL380 G2 server, and Im going to set up free web hosting. I need a list of what I should enable in linux. What should I provide?
this is what I have so far:
Apache/LightSpeed or Lighttpd
MySQl 5
PHP 5
FTP -
-
CommentAuthoraaroncampbell
- CommentTimeApr 18th 2008
I use SSH and rsync all the time. -
-
-
CommentAuthorgnome
- CommentTimeApr 19th 2008
Which distro are you using? -
-
- CommentAuthorfogster
- CommentTimeApr 19th 2008
I'd look into <a href="http://www.cablan.net/phpsuexec.html">phpsuexec</a> or similar to keep User A from screwing with User B's stuff, accidentally or otherwise.
FTP is your call, but from an admin perspective, I hate it. Passwords in the plaintext and an apparent history of remote security holes in a number of FTP daemons convinced me to force users to use ssh/scp/sftp.
Apache 2 + PHP + MySQL is the standard combo... lighttpd is nice, too, although I just use it for serving static content. (You can mix it with FastCGI to server PHP as well as -- actually, better than -- Apache, but I haven't, just because I'm a lot more familiar with Apache.)
It seems that you have the basics... I'd just focus on security. phpsuexec will help, as will diligent monitoring. (Make it clear to users that if they don't update their scripts, you'll delete their crap -- old versions of phpBB and such are notorious for allowing people to download remote scripts and run them as the web user...)
Oh, either move ssh to something other than port 22 (I just use 2222), or look into <a href="http://denyhosts.sourceforge.net/">DenyHosts</a>. You'll probably get at least a thousand brute-force login attempts a day. A friend, who's normally on top of security, just had a machine compromised this way: he set up a test user with a generic password, and a brute-forcer got it. Moving to 2222, or any other non-standard port, will dodge the script kiddies for now. On my server, I use DenyHosts to block anyone who fails a login 5 times in a row. I was very careful with user accounts, so they could brute-force all day and not get in, but it annoys me having thousands and thousands of lines added to my logfiles. -
- CommentAuthorcthelight
- CommentTimeApr 19th 2008
Well, I found out that my SCSI controller is not working.... I contacted the seller. *hoping for answer*.
I think im going to use Fedora Core, but if that doesn't work, then Suse.
As for phpsuexec, That will be great! :) This is going to be fun!
Apache + phpsuexec
php
mysql
Perl
Lighttpd for port 81
FTP
SSh running on a random port
I might brew up a custom control panel, but this is what im going to use for accounts.
1.sitename.com/account
2.sitename.com/account
3.sitename.com/account
4.sitename.com/account
Numbers corresponding to the HD their on.
Keep the ideas coming! -
-
CommentAuthorgnome
- CommentTimeApr 19th 2008
I use an onboard adaptec controller for SCSI, and it works tansparently for every OS I have used it on. If you can handle it, try Gentoo Linux: Debian-based, faster than others (if configured right, with no GUI support and architecture opts). ONLY install what you actually need, and it will fly. If you start with a desktop, and a GUI, you will suffer a speed penalty associated with it. -
-
- CommentAuthorcthelight
- CommentTimeApr 20th 2008
Well, I hope to get the Compaq Smart Array controller working, but the dude I got it from said theirs an integrated one as well, but, its not their. He owes me a part!
I was looking at Gentoo, I think im going to use that one. But I will start off with a desktop and when all ready, switch to run level 3, i think. -
-
CommentAuthorgnome
- CommentTimeApr 21st 2008 edited by gnome on the 21st April 2008 at 15:29:35 EDT
Debug SCSI (I had a bit of fun getting mine working)
- Has the controller ever worked for you?
- If it has two channels, are you using both (it runs faster)?
- Does each drive have a different ID# set with jumpers (they are on the front side of the drive usually)?
- Is the SCSI controller and/or SCSI booting enabled in BOIS?
- Are the drives all making noise and vibrating a bit when on? (A quiet, - non-moving SCSI drive is a dead SCSI drive)
- Are the cables in good shape (buy new ones if not, cables are cheap)? (I just had bad cables confuse me into thinking that stuff was broken)
NOTE: if you have X installed, and use some chubby Desktop Environment (KDE, GNOME) instead of somethign lighter (twm, xfce), just compiling support for the chubby ones hurts performance. TWM is always a solid choice for desktop environments. You should write down a list of the packages you need or want installed (including things like the text-based cursor for copy-and-paste functionality, and lynx for browsing the web GUI-less). Good luck! -
-
- CommentAuthorcthelight
- CommentTimeApr 22nd 2008
Theirs a history of these cards going pop. So if the guy who I got the server from doesn't send me the internal chip. Which was not included, then im sending it back. It worked when I started it up.
- Has the controller ever worked for you? Once
- If it has two channels, are you using both (it runs faster)? The hard drive cage only has 1 output
- Does each drive have a different ID# set with jumpers (they are on the front side of the drive usually)? Its assigned by the controler
- Is the SCSI controller and/or SCSI booting enabled in BOIS? The controler is detected as "Unknown"
- Are the drives all making noise and vibrating a bit when on? (A quiet, - non-moving SCSI drive is a dead SCSI drive) They don't startup because of the controller starting them
- Are the cables in good shape (buy new ones if not, cables are cheap)? (I just had bad cables confuse me into thinking that stuff was broken) They look good -
-
CommentAuthorgnome
- CommentTimeApr 23rd 2008
You must have far newer SCSI stuff than mine, because my controller can't power them up or down, and it seems strange for the controller to be able to assign IDs (to me at least). -
1 to 10 of 10
