Results 1 to 1 of 1
The Objective :
to set up a LAMP server on KDE debian etch with no internet connection on my pc
What I Was Running :
debian etch (kde) ,
What ...
- 10-22-2008 #1Just Joined!
- Join Date
- Oct 2007
- Posts
- 31
LAMP from source / tarballs (installation / configuration)
The Objective :
to set up a LAMP server on KDE debian etch with no internet connection on my pc
What I Was Running :
debian etch (kde) ,
What I Needed :
httpd-2.2.9.tar.gz
mysql-5.0.51a-linux-i686-icc-glibc23.tar.gz
php-5.2.6.tar.gz
Tools :
jre-6u7-linux-i586.bin
mysql-gui-tools-5.0r12-linux-i386.tar.gz
pdt-all-in-one-S20080601_RC2-linux-gtk.tar.gz
Required :
gnu c/c++ compiler - can be installed through kde package manager, from installer cd
Required Download :
libxml2-dev_2.6.27.dfsg-2_i386.deb
libpng12-dev_1.2.15~beta5-1_i386.deb
zlib1g_1.2.3-13_i386.deb
zlib1g-dev_1.2.3-13_i386.deb
Installation Summary :
AMP
install mysql - unzip ... and just follow the install-binary instructions...
install apache - unzip
./configure --prefix=/usr/local/apache2 --enable-mods-shared=most
install php (here i needed mysql, mysqli, mysql pdo and gd for my projects)
./configure
--prefix=/usr/local/php5
--with-apxs2=/usr/local/apache2/bin/apxs
--with-mysql=/usr/local/mysql
--with-mysqli=/usr/local/mysql/bin/mysql_config
--enable-pdo
--with-pdo-mysql=/usr/local/mysql/bin/mysql_config
--with-pear
--with-gd
note : if you ever ran into some problems, that's what the downloaded .deb files are for
in some cases i needed to symlink
/usr/lib/libpng12.so.0 to /usr/lib/libpng.so or /usr/lib/libpng.a
that's for the gd extension of php
TOOLS
the jre binary pretty much autoexecutes...
then you can just unzip pdt (i extracted in /opt)
and symlink the eclipse file in its /bin to desktop
similarly with mysql gui tools, just unzip and symlink admin / browser to desktop
The Story :
it was one year ago when i started with Linux, and i started from level 0, with no net connection at home, I have no choice but to try and run things remotely, and bring home small downloaded .deb files... although i did have the kde installer in cd
it wasn't a very easy task, and good help wasn't easy to find... a few tips here and there, so i finally have a working system.
and i'm not even sure that it's the best way to run it...


Reply With Quote
