Install PHP+Apache Server+mySQL


XAMPP for LINUX: XAMPP is an easy-to-install Apache distribution containing MySQL, PHP and Perl. It is really very easy to install and to use: just download, extract and start.
XAMPP isn’t designed for rolling out on a production server. Its goal is simply to ensure everything works, which makes it very insecure. For example, the MySQL admin has no password, the phpMyAdmin program and the MySQL daemon are accessible from over the network, and MySQL and Apache run under the same user. If you are using our XAMPP installation for a non-sensitive deployment, leaving these “holes” open won’t do any harm. But some content management systems are designed to not work in a no-password environment. As a bare minimum, I’d recommend you assign the MySQL user a password.
Xampp is also available for Windows. but as we face a lot of problem installing in Linux and well this post is to install PHP+mySQL+APache2 Server for Linux users..

Steps
1. Download
2. Installation
3. Start
4. Test

So here We GO:
STEP 1. Download XAMPP

Its some 58 MB file Download it using the above link.
Note:
Attention: If you download these files on a Windows system and you’re running McAfee virus scanner you may get a false positive virus warning. This is a problem with McAfee and gzip-compressed files, it should be ignored.

STEP 2. Installation
After downloading simply type in the following commands:

  • Go to a Linux shell and login as the system administrator root: su
  • Extract the downloaded archive file to /opt:

    tar xvfz xampp-linux-1.6.6.tar.gz -C /opt

    Warning: Please use only this command to install XAMPP. DON’T use any Microsoft Windows tools to extract the archive, it won’t work.

    Warning 2: already installed XAMPP versions get overwritten by this command.

    That’s all. XAMPP is now installed below the /opt/lampp directory.

STEP 3: START
To start XAMPP simply call this command:

/opt/lampp/lampp start

You should now see something like this on your screen:

Starting XAMPP 1.6.6...
LAMPP: Starting Apache...
LAMPP: Starting MySQL...
LAMPP started.

Ready. Apache and MySQL are running.

If you get any error messages please take a look at this link.

STEP 4: TEST..(Most Imp..to ensure yourself)
OK, that was easy but how can you check that everything really works? Just type in the following URL at your favourite web browser:

http://localhost

Now you should see the start page of XAMPP containing some links to check the status of the installed software and some small programming examples.

The image “https://i1.wp.com/www.apachefriends.org/images/380.jpg” cannot be displayed, because it contains errors.

READ ABOUT XAMPP..: LINK to read more

As mentioned before, XAMPP is not meant for production use but only for developers in a development environment. The way XAMPP is configured is to be open as possible and allowing the developer anything he/she wants. For development environments this is great but in a production environment it could be fatal.

Here a list of missing security in XAMPP:

  1. The MySQL administrator (root) has no password.
  2. The MySQL daemon is accessible via network.
  3. ProFTPD uses the password “lampp” for user “nobody”.
  4. PhpMyAdmin is accessible via network.
  5. Examples are accessible via network.
  6. MySQL and Apache running under the same user (nobody).

To fix most of the security weaknesses simply call the following command:

/opt/lampp/lampp security

It starts a small security check and makes your XAMPP installation more secure.

Start Apache, mySQL at every system startup:
Goto System->Administration->Services
enable the Checkbox: DatabaseServer(mySQL),WebServer(apache2)

Wamp is also a very good Option(I use it on Windows system) 😀

Than You… :)..Reply if ny suggestions or help required..

Hardy Heron..!!


Ubuntu Hardy Heron Alpha 6 is out

The developers behind the Ubuntu Linux distribution have now released the sixth alpha edition of their upcoming Hardy Heron.

This would be the final alpha release of Ubuntu 8.04 which is scheduled to come out sometime next month.

The developers warn that considering this is an Alpha edition release, users should avoid installing it on production machines.

This latest edition of Ubuntu features:

Xorg 7.3
Linux kernel 2.6.24
PulseAudio
PolicyKit
Firefox 3 Beta 3
Transmission
Vinagre
Brasero
World Clock Applet
GVFS
GNOME System Monitor
libvirt and virt-manager
Likewise Open
iSCSI support
ufw
umenu
Wubi

Check out here for more Information

http://www.phoronix.net/image.php?id=ubuntu_804_alpha6&image=ubuntu_804a6_03_lrg