A few good l.a.m.p things!!!

lamp serverGood idea bannedampBad Idea
if your a web developer and your running a linux distro your definatly gonna need lamp. I hope in this day and age your using some kind of repository to install your apps but if your a from source install guy or girl thats cool.. for a basic lamp setup you will need

for apt get peopole sudo apt-get install apache2 php5-mysql libapache2-mod-php5 mysql-server
for source poeple find and download the following
apachex

libapachex-mod-phpx

mysql-server

phpx-mysql

phpx (or whatever version will be out at the time)

anything additional you want just pull the module in for it.. example phpx-sybase (mssql db processing) phpx-gd (image processing) etc.

To keep your hands of the cli for mysql and make your life a little bit easier you can download phpmyadmin either from repository or just download the file and extract it to your /var/www dir or if you prefer in your public_html dir if you have enabled the public_html module in apache which would allow you to browse your to your public_html dir in your home folder via appache eg

http://localhost/~yourhomedir/ - this displays the contents of the public_html directory in your home directory so no longer will you need to sudo to add content to your /var/www directory..

another little thing if / when you install apache to enable the public_html module just edit your apachex.conf file which maybe found in your /etc/apachex/ dir. when your finished with your edits restart apache with sudo apachexctl or sudo apache /etc/init.d/ apachex restart ( you may stop it then restart it if you please). if you end up getting a warning saying apache cannot deterine the hostname just add the hostname “localhosts” to your httpd.conf file which is also found in /etc/apachex/

thats all the linux knowlege i feel to share tonight i just thought finish setting up lamp yet again and i ran into those were the issues so i figured.. someone might want help and might stumple across my blog one day :)

Recent Posts

  • Twitter Away.

    July 3rd, 2008 So.. I decided I'm gonna start a twitter account today. Why..... Why not!. I have a mobile device that is constantly co
  • This part of my life is called “TIRED”

    July 1st, 2008 MAN I'M SO TIRED.. i'm falling asleep at work like crazy.. The reasons behind me being tired has me wondering as well.
  • So much on the plate

    May 13th, 2008 You know when you just have tooo much things doing, yeh thats me currently. Operating a young business, Photography, Fr
  • Nervous before the shoot

    May 10th, 2008 In a few minutes maybe an hour the most I'll be photographing a curvey model. Boudoir Photography is the aim of today a
  • And the photoshoots ensue

    April 22nd, 2008 Last saturday was a lot of fun.. and headaches.. My first photoshoot that didn't take place at my home in my little mak


WidgetBucks - Trend Watch - WidgetBucks.com
11/6/2007