Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

This question already has an answer here:

Can any one can help me installing Xampp server from http://www.apachefriends.org/ in to my ubuntu 13.04 64-bit desktop version plzz

share|improve this question

marked as duplicate by gertvdijk, don.joey, Eric Carvalho, AgentCool, Warren Hill Aug 9 '13 at 12:45

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

    
it looks like a dupe indeed, but the answer below has fairly good potential and the answers in the dupe are a bit so and so. –  don.joey Aug 9 '13 at 9:57

1 Answer 1

up vote 3 down vote accepted
  1. Get the tar file using wget

    wget http://www.apachefriends.org/download.php?xampp-linux-1.7.3a.tar.gz

  2. Extract the tar file as

    tar xvfz xampp-linux-1.7.3a.tar.gz -C /opt

  3. Give permissions

    sudo chmod 777 -R /opt/lampp/htdocs/

  4. Start xampp using

    /opt/lampp/lampp start

  5. Stop xampp using

    /opt/lampp/lampp stop

share|improve this answer
    
I have just installed ubuntu 13 but I can't extract xampp to /opt due to permissions... I can't change /opt folder. any help please? –  Ghazanfar Mir Sep 27 '13 at 20:28
    
Use sudo tar xvfz xampp-linux-1.7.3a.tar.gz -C /opt –  MeetM Nov 1 '13 at 7:40

Not the answer you're looking for? Browse other questions tagged or ask your own question.