Ubuntu: How to install XAMPP 1.8.2.0 installer.run doesn't start



Question:

How can I install the new XAMPP? I tried out various tutorials, but it still does not work. If I type in ./xampp-linux-1.8.2-0-installer.run nothing happens (it shows me root@ubuntu:/home/pc/Downloads#). Please help me.


Solution:1

To install xampp 1.8.2.0, download the Latest version of xampp 1.8.2 from the apache friends or sourceforge. Once downloaded, just press Ctrl+Alt+T on your keyboard to open Terminal. When it opens, browse to the directory where the file was downloaded, and run the command(s) below:

sudo chmod 755 xampp-linux-1.8.2.0-installer.run  sudo ./xampp-linux-1.8.2.0-installer.run  

(This will extract all the packages to the /opt/lampp directory)

Then you need to go ahead, and start the service, and see if it works

/opt/lampp/lampp start    http://localhost  http://localhost/phpmyadmin  

Source:How To Install XAMPP 1.8.2 On Ubuntu


Solution:2

Because I can't add any comments, I am going to add this as an answer:

In order to copy files in the htdocs directory, there are 2 ways:

  1. To work and develop only under root privilegies. Just run gksudo nautilus (or sudo nautilus) in Terminal to start the file manager Nautilus with root privilegies. (if you are using the default Ubuntu distro from Canonical). Now you can add any files to the htdocs directory. But this way you should be careful, because you can harm your system, if you delete some files or folders by a mistake.

  2. To own the permissions of the directory htdocs to your user account (because htdocs is in the /opt directory, which is owned by the root by default). Open Terminal and run the following command:

    sudo chown -R yourusername:yourusername /opt/lampp/htdocs/  

If you choose the second way, use this only for development, not for production. This is a hint for the XAMPP stack in general.

And one more hint for all novice users, who want to use XAMPP on Linux. Do not read any tutorials in the internet, because everything is explained very well on Apache Friends official web site: http://www.apachefriends.org/en/xampp-linux.html#377


Solution:3

It's most possible that you're not using the correct installation file for your either 32 or 64 bit operating system. I had the same problem and it's solved as I used 64 bit installation file for my 64 bit Ubuntu.

Then these should work:

sudo chmod +x xampp-linux-1.8.2.0-installer.run    sudo ./xampp-linux-1.8.2.0-installer.run  

Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »