Welcome! Log In Create A New Profile

Advanced

Best Config for a LAMP Server..

Posted by Abysmal 
Best Config for a LAMP Server..
December 14, 2010 11:35AM
I want to use my dockstar as a LAMP Server and I am concerned about memory and would like to get the best amount of speed out of it as possible..

I am currently running Jeff's Debian Squeeze Install with Apache / MySQL and PHP.. off a 4 gig usbkey.. I need to updated to get the led to work..

Is there any suggestions to get my install to perform any better and or make it more rock solid.. I would like to be able to have perl and GD running as well..

Any tips, advice and suggestions would be helpful..

thx

A.
Re: Best Config for a LAMP Server..
December 14, 2010 12:41PM
I was gonna post a link but I saw it was installing LAMP using pogolinux .



Edited 2 time(s). Last edit at 12/14/2010 12:48PM by rgtaa.
Re: Best Config for a LAMP Server..
December 14, 2010 06:19PM
I am also looking for LAMP or preferably a lighter equiv setup on dockstar with debian.
Thanks in advance!
Re: Best Config for a LAMP Server..
December 28, 2010 10:36PM
Just thought I'd point out a couple of pages that got this going for me:

http://wiki.debian.org/LaMp <--- a basic set of instructions for installing apache2, php, mysql. Very little explanation, but solid instructions.

http://wiki.dennyhalim.com/instant-debian-lamp <--- I might recommend that for someone who has already done some linuxwork. But if something goes amiss, you're left with no suggestions from that page.

http://linux.justinhartman.com/Setting_up_a_LAMP_Server <--- another walk-through.

Also, it's well worth one's time to install Webmin once one gets LAMP going. It makes it that much easier to make changes and see configurations.
http://www.webmin.com/deb.html
Re: Best Config for a LAMP Server..
December 28, 2010 10:41PM
Is anyone using Cherokee or lighttpd rather than apache?
Vlad59
Re: Best Config for a LAMP Server..
January 03, 2011 06:23AM
I'm using Nginx and Dokuwiki for my blog : http://blog.slucas.fr and everything works fine.
Re: Best Config for a LAMP Server..
January 09, 2011 12:15PM
Vlad59 Wrote:
-------------------------------------------------------
> I'm using Nginx and Dokuwiki for my blog :
> http://blog.slucas.fr and everything works fine.

Vlad59, could you provide more info about installing nginx and dokuwiki. Did you use a specific guide or do you have any tips?

Thanks - any info is much appreciated!
Vlad59
Re: Best Config for a LAMP Server..
January 12, 2011 02:01AM
Sorry for the delay ....

I wrote almost everything I had to do to make it work on my blog. Sadly I did not took the time to translate it from french to english. I'll try to translate it next week.

Anyway the code is universal so here are the links :
Nginx + PHP : http://blog.slucas.fr/blog/nginx-php-install
PHP-XCache : http://blog.slucas.fr/blog/php-xcache
Dokuwiki install : I used the official documentation http://www.dokuwiki.org/Install and I installed it from the tgz package (not from debian).
Configuration of nginx for dokuwiki : http://blog.slucas.fr/blog/dokuwiki-rewrite-tag and http://blog.slucas.fr/blog/anteater-system-security-nginx

I'll try to follow the thread if you have any questions left.
Re: Best Config for a LAMP Server..
March 11, 2011 10:58PM
Anyone have great steps for installing lighttpd php mysql that are simple and straight forward. I have tried a numer of them and end up with errors.....

Thanks, TAG
Re: Best Config for a LAMP Server..
March 12, 2011 01:30AM
Here is what worked for me, best as I remember:
Quote

apt-get install lighttpd
-- changed www root to something on attached hard disk drive
lighttpd-enable-mod fastcgi
apt-get install mysql-server mysql-client
apt-get install php5-cgi php5-mysql php5-cli php5-curl php5-gd php5-mcryp
nano (already installed) /etc/php5/cgi/php.ini add the line cgi.fix_pathinfo = 1 right at the end of the file

I found these the most helpful sources of information:

http://www.howtoforge.com/installing-lighttpd-with-php5-and-mysql-support-on-debian-lenny
http://www.ubuntugeek.com/lighttpd-webserver-setup-with-php5-and-mysql-support.html

Good luck.
Author:

Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: