running your own webserver?
Moderator: General Moderators
running your own webserver?
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?
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
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??
anyone has any experience with chrooting both the webserver and the mysql-server??
http://www.securityfocus.com/search?cat ... =Artur+Maj
...might be interesting.
...might be interesting.
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
.
-Nay
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
-Nay
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:

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??
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??
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?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??