Two easy steps to install xampp on ubuntu
download xampp and save it on desktop.
- sudo tar xvfz xampp-linux-* -C /opt (to copy all the files from archive to the /opt folder).
- /opt/lampp/lampp start (to start xampp).. n joy
If ubuntu server edition is installed do this before installing–
sudo /etc/init.d/apache2 stop (to stop other apache)
sudo /etc/init.d/mysql stop (stopping other mysql)
and also remove the apache/PHP and mysql form System–>Administration–>Services.
9 Comments
June 18, 2008 at 3:51 AM
I was installing lampp (xampp) on ubuntu 8.04 desktop edition.
I uninstalled the default apache,Mysql and PHP from the services.
But now when i run /opt/lampp/lampp start ,I get the following error
line 74 arch command not found
Any help???
June 28, 2008 at 4:10 PM
Thanks a lot, this was helpful!
September 16, 2008 at 5:10 AM
~ $ sudo tar xvfz xampp-linux-* -C /opt
tar: xampp-linux-*: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors
What’s this mean?
October 19, 2008 at 8:42 PM
I’ve got prob like stack… Don’t know how 2 solve it
October 23, 2008 at 9:53 PM
i guess you have to download another tar file from another source. I had the same error msges b4. The steps are the same.
enjoy
November 24, 2008 at 12:18 PM
i think you should check your directory first…coz ihave the same problem before …when i change the directory to Desktop the problem was settled…But make sure the source is on Desktop too…
January 20, 2009 at 8:58 PM
~ $ sudo tar xvfz xampp-linux-* -C /opt
You need to replace the * with whatever version you downloaded .tar.gz Just look at the file you downloaded and replace the * with whatever appears after xampp-linux-
For example, if you downloaded version 1.7…
sudo tar xvfz xampp-linux-1.7.tar.gz -C /opt
February 6, 2009 at 8:24 AM
i’m really confused because i ran: “sudo tar xvfz xampp-linux-1.7.tar.gz -c /opt” and it just says:
“tar: you may not specify more than one ‘-Acdtrux’ option
Try ‘tar –help’ or ‘tar –usage’ for more information”
February 6, 2009 at 8:28 AM
no worries – i tried again and it worked