How to install xampp 1.8.1 in Ubuntu 12.10,13.04,13.10


So you have Installed the Ubuntu 12.10 and now wants to add the xampp (or) lampp into it...then follow this steps



  • Download the latest version of xampp for either 32 (or) 64 bit from the link Download xampp

  • Go to the terminal and log in as administrator using the commands sudo su

  • Then before extracting the tar file navigate to directory where it has been downloaded
          For eg: I downloaded it from Chrome and it saved me in a Downloads folder, so I navigated to the downloads folder first then extracting the tar file

  • So now use this command to extract the tar file tar xvfz xampp-linux-1.8.1.tar.gz -C /opt

For 64bit version:

Start
  • If you downloaded the 64 bit then you need to install the 32bit libraries from repository to start the xampp, otherwise you will get this error message "XAMPP is currently only availably as 32 bit application. Please use a 32 bit compatibility library for your system."

  • Before you install 32 bit libraries, you have check whether i386 foreign architecture is installed (or) not, otherwise if you try to installed the 32 bit libraries you will get the following error message "The following packages have unmet dependencies:  ia32-libs : Depends: ia32-libs-multiarch but it is not installable."

  • so check whether i386 foreign architecture is installed use this command dpkg --print-foreign-architectures after the execution of this command if nothing is shown then there is no i386 foreign architecture so you have to install it. 

  • so to install the architecture use this command sudo dpkg --add-architecture i386 && sudo apt-get update

  • Now install the 32bit libraries using this command sudo apt-get install ia32-libs
Finish

Now after doing all this everything is set up for us...now what we are waiting for, start the xampp
  •  use this command to start sudo /opt/lampp/lampp start

  • Finally go your browser and type http://localhost.... and there you go, xampp is successfully installed for you....Enjoy the New OS The Ubuntu.

Comments

Popular posts from this blog

How To Record Audio in Moto G Without Any Third Party Apps

How to Unistall Software (or) Programs in Ubuntu Using the Terminal

All the Questions Answered About Rs.500 and Rs.1000 In this Frequently Asked Question Document