running your own webserver?

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply

Are you running your own webserver?

Yes
13
72%
No
5
28%
 
Total votes: 18

User avatar
cybaf
Forum Commoner
Posts: 89
Joined: Tue Oct 01, 2002 5:28 am
Location: Gothenburg Sweden

running your own webserver?

Post by cybaf »

I was just wondering how many of you guys are hosting your own sites, and thereby configuring your own servers??

I have a openBSD/apache/php/mysql setup.

if anyone has the same as me... have you ever had a problem with the mysql deamon crashing if the httpd user tries to connect to mysql while you are logged in locally to mysql?
Cruzado_Mainfrm
Forum Contributor
Posts: 346
Joined: Sun Jun 15, 2003 11:22 pm
Location: Miami, FL

Post by Cruzado_Mainfrm »

i have winxp/apache/php/asp/perl/mysql/openssl
User avatar
JAM
DevNet Resident
Posts: 2101
Joined: Fri Aug 08, 2003 6:53 pm
Location: Sweden
Contact:

Post by JAM »

I'm using both win32 and *nix os's, with most configurations combined and MySQL's db's (among others), and have had no such issues myself.

backup and reinstall it perhaps?
User avatar
cybaf
Forum Commoner
Posts: 89
Joined: Tue Oct 01, 2002 5:28 am
Location: Gothenburg Sweden

Post by cybaf »

I think I've lokated the problem... it has something to do with the mysql socket which is used... combined with the chroot I have. I'm going to update the os to OpenBSD 3.4 any day now, and make a completly new installation of the webserver and the mysql db.

anyone has any experience with chrooting both the webserver and the mysql-server??
taech
Forum Newbie
Posts: 4
Joined: Mon Oct 27, 2003 4:47 pm

Post by taech »

i have a

winxp/apache/php/mysql setup
User avatar
JAM
DevNet Resident
Posts: 2101
Joined: Fri Aug 08, 2003 6:53 pm
Location: Sweden
Contact:

Post by JAM »

Nay
Forum Regular
Posts: 951
Joined: Fri Jun 20, 2003 11:03 am
Location: Brisbane, Australia

Post by Nay »

Not right now though. I still have fears on compiling things on my RedHat. I had to do a re-installation the last time I tried it.

But then I see "Web Server" under the RedHat packages thing. I'm gonna try it out sometime. *phew* Running RedHat is like going back to the elementary parts of using a computer for me :lol:.

-Nay
User avatar
cybaf
Forum Commoner
Posts: 89
Joined: Tue Oct 01, 2002 5:28 am
Location: Gothenburg Sweden

Post by cybaf »

nay: :)

well yesterday I started with the installation of OpenBSD 3.4 and got about half of everything finished in about 5 hours... so I'm "looking forward" to doing the rest of the configuring. The most timeconsuming is the compilation of php with it's extensions... eventhough I removed about 10-15 flavors the compilation took about 1.5 hours... *phew*

here's a nice little oneliner for updating the cvs-server to be used in the /usr/ports repository:

1st edit /usr/ports/CVS/Root and add the cvs server to use.
then do:

Code: Select all

find . -xdev -type f -name Root -exec cp -f /usr/ports/CVS/Root {} \;
:)

my next step now is trying to use both chrooted apache and chrooted mysql... will be somewhat weird, but I'll figure it out I hope. Anyone with experience on this??
User avatar
Stoker
Forum Regular
Posts: 782
Joined: Thu Jan 23, 2003 9:45 pm
Location: SWNY
Contact:

Post by Stoker »

for the poll, you forgot to specify if it is any webserver anywhere or an actual permanent/public internet connected webserver... I would guess that most php'rs have some sort of setup at home :)
User avatar
cybaf
Forum Commoner
Posts: 89
Joined: Tue Oct 01, 2002 5:28 am
Location: Gothenburg Sweden

Post by cybaf »

well... I thought it was obvious that I meant a internet webserver... since as you say, allmost all php'rs have one at home...:)
User avatar
vigge89
Forum Regular
Posts: 875
Joined: Wed Jul 30, 2003 3:29 am
Location: Sweden

Post by vigge89 »

ive got an winme/apache/php/perl server, just to test my scripts for, and also since my internet-connection provider has a built in firewall :(

but soon i'll get 10mbps, and then, i think im going to start a server, after i get my new computer.....
User avatar
Weirdan
Moderator
Posts: 5978
Joined: Mon Nov 03, 2003 6:13 pm
Location: Odessa, Ukraine

Post by Weirdan »

cybaf wrote:my next step now is trying to use both chrooted apache and chrooted mysql... will be somewhat weird, but I'll figure it out I hope. Anyone with experience on this??
Personally I have no expirience on chrooting the both (I use dedicated servers for apache and mysql), but I know the guy who had. He told me that he had to write sorta like daemon to connect them through the unix sockets. But you can use TCP/IP, can't you? ;)
Post Reply