Page 1 of 1

running your own webserver?

Posted: Sat Oct 25, 2003 8:33 pm
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?

Posted: Sun Oct 26, 2003 6:12 am
by Cruzado_Mainfrm
i have winxp/apache/php/asp/perl/mysql/openssl

Posted: Sun Oct 26, 2003 9:14 pm
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?

Posted: Mon Oct 27, 2003 4:40 pm
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??

Posted: Mon Oct 27, 2003 4:47 pm
by taech
i have a

winxp/apache/php/mysql setup

Posted: Mon Oct 27, 2003 7:21 pm
by JAM

Posted: Mon Oct 27, 2003 11:05 pm
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

Posted: Thu Oct 30, 2003 8:17 am
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??

Posted: Thu Oct 30, 2003 8:46 am
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 :)

Posted: Thu Oct 30, 2003 9:19 am
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...:)

Posted: Sat Nov 08, 2003 2:44 am
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.....

Posted: Sat Nov 08, 2003 1:37 pm
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? ;)