Pages

Installing latest Xampp in ubuntu[Easy way]

Xampp for ubuntu includes apache, mysql, php and phpMyadmin.

Download the installer run file for linux from http://www.apachefriends.org/en/xampp-linux.html . Download the 64-bit version if your ubuntu is 64-bit to check your OS type :
  • Open the terminal Type uname -a
Result for 32-bit Ubuntu:
Linux discworld 2.6.38-8-generic #42-Ubuntu SMP Mon Apr 11 03:31:50 UTC 2011 i686 i686 i386GNU/Linux
whereas the 64-bit Ubuntu will show:
Linux discworld 2.6.38-8-generic #42-Ubuntu SMP Mon Apr 11 03:31:50 UTC 2011 x86_64 x86_64x86_64 GNU/Linux
After the file download is complete, goto terminal and follow the steps below
  • Change working user to root, type "sudo su"
  • Change your directory to your Downloads folder "cd /home//Downloads/" 
  • Change the permissions to the installer "chmod 755 xampp-linux-1.8.2-0-installer.run"
  • Run the installer "./xampp-linux-1.8.2-0-installer.run"

XAMPP is now installed below the /opt/lampp directory.


Important:
Before starting the xampp server you should setup the password for it to keep it secure, to do this

/opt/lampp/lampp security

and follow the instructions, it will ask you to set user and passwords for xampp,mysql, PhpMyAdmin  and also network access for mysql daemon.

To start xampp
/opt/lampp/lampp start


To stop xampp
/opt/lampp/lampp stop


No comments:

Post a Comment