June 14, 2008...8:33 AM

XAMPP/LAMPP on ubuntu

Jump to Comments

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

  • 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???

  • Thanks a lot, this was helpful!

  • ~ $ 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?

  • I’ve got prob like stack… Don’t know how 2 solve it

  • 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

  • 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…

  • ~ $ 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

  • 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”

  • no worries – i tried again and it worked :-)


Leave a Reply