Hi,

I have a laptop an want to install a Linux Distro to use Apache2, PHP 5 and MySQL. I don't want to run it CD though (I think it is called Live CD). I just want to intall it and never use CD again.

What do you suggest me for these configurations of my old laptop?

Note: slackware-8.1-install.iso, crunchbang-lite-9.04.01.i386.iso and Slitaz didn't work.

Thanks in advance

P II 400MHZ
128MB RAM
10GB HDD
8MB VGA

>> I don't want to run it CD though (I think it is called Live CD
yes it called live CD, but not extract a live distro.But you could run a live distro.
A good choice is slax, where you can select the modules using the web page and
download your customized distro through the web site.

around 199 MB, with X window system.
http://www.slax.org/build.php
It's a live CD too and you are downloading the live CD there.
But you can copy it into the fat file system and boot your kernel and initrd with
grub or other bootloader and load the rest of the os using HD.

I already did this with my laptop so I can guide you through this.

What didn't work? Is it the wifi adapter, display, sound etc..? Myabe you can try Tiny core linux, Puppy linux, DreamLinux and Damn Small linux. I know some of them don't work on my Ralink USB wifi adapter but I can't remember which one. Good luck on your search. Maybe you can share with what you have found.

Gentoo or minimal Debian should work

PS: OpenBSD will also work fine

Try Puppy Linux (Australian) or Damn Small Linux (a.k.a DSL). I'll be honest, I've never used them myself, except DSL, which I barely used and saw my friend use it on his laptop mostly. I've heard they're quite good.

You can run Puppy Linux of your thumb drive/Live CD and pull it out, as it can run straight of the RAM.

Gentoo or minimal Debian should work

PS: OpenBSD will also work fine

There is a trick to installing the least in Debian GNU/Linux. The default installation is usually a desktop plus basic configuration. Uncheck both. Then you get a quick installation with only a few hundred megabytes. That is pretty light and fast. You do not need a GUI for a server.

Then install the things you want:

apt-get install apache2-mpm-prefork libapache2-mod-php5 php5-mysql

That will get you a very light LAMP stack. You may need to install other packages for development. You can find them with apt-cache search whatever. For remote management by SSH, do apt-get install openssh-server.

Your web files go in /var/www . If you add PHP scripts from the repository they may be placed elsewhere but the URL will still look like http://server/somepath

Wow, how and where did you learn all this knowledge?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.