Results 1 to 5 of 5
Hi everyone,
Still trying to figure my way through to setting up L.A.M.P.
here's what I have :
a pretty slow and old pc ( but hey, Linux CAN make ...
- 11-05-2007 #1Just Joined!
- Join Date
- Oct 2007
- Posts
- 31
On limited resources, which way to go?
Hi everyone,
Still trying to figure my way through to setting up L.A.M.P.
here's what I have :
a pretty slow and old pc ( but hey, Linux CAN make it fly! ),
with no internet connection for that...
debian installers (gnome : installation has option to install apache 2.x / kde / base installer)
tarballs for mysql and php :
mysql-5.1.22-rc-linux-i686-icc-glibc23.tar.gz
php-5.2.4.tar.gz
situation so far :
i've installed gnome with the apache 2.x server,
somehow the mysql zipped tar worked fine, and i was even able to use mysql gui tools from zipped tar
and finally, i can't configure the php installation...
it's been spitting : no acceptable cc found in $PATH
searching around , i found i needed to look for / somehow install the gcc /cc compiler
though i can't seem to figure how it is that mysql and the mysql gui tools were able to work fine...
so i have to ask :
how do i look for this cc / gcc, will i be able to find it from the installation cd that i have?
or perhaps should i install a base gnome desktop, and install individually from source mysql , apache and php ?
finally, since i have no net connection for the pc, can i still use apt, and somehow point it to the cd drive? will i even find the apache, mysql, php packages in cds?
(sorry i got so excited, i've already been able to restore the database i'm working on through mysqladmin, so close now... still so far somehow)
- 11-05-2007 #2
My current router is a 500MHz Pentium 3 with 256MB of memory that I picked up on Craigslist for $20. It had to be used a couple of times as a web server in the past, with great success.
Debian is a binary based distribution, meaning you do not have to fetch the source code for applications and compile them using GCC. You are doing something wrong here, you should not have to compile anything. Your best bet would be to temporarily hookup the machine to the internet and run
Which will update your system and will install Apache 2, PHP, and MySQL.Code:apt-get update apt-get upgrade apt-get install apache2 php5 libapache2-mod-php5 apt-get install mysql-server mysql-client php5-mysql
- 11-06-2007 #3Just Joined!
- Join Date
- Oct 2007
- Posts
- 31
yup that's probably the strength of it,
unfortunately the unit's situated in a very remote area i don't know that i can get it hooked within a few months...
anyway, i tried to download some .deb packages for php5 and it seems to have worked... for now I really need that LAMP going, i'll look further into it when i do find some time.
- 11-06-2007 #4Just Joined!
- Join Date
- Nov 2007
- Posts
- 6
supposedly suse/novell has the ability to set up a lamp server right out of the box.
- 11-06-2007 #5Just Joined!
- Join Date
- Oct 2007
- Posts
- 31
i suppose going with debian, for a rookie, just isn't the way to go... but, thanks guys... i'm almost done setting up.
while i'm at it can anyone point me to this location: If you want MySQL to start automatically when you boot your machine, you can copy `support-files/mysql.server' to the location where your system has its startup files.


Reply With Quote