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.

I am trying to install xammpp on my Ubuntu 13.04. What I did was downloaded xampp from SourceForge, and then in the terminal I created /opt directory like this:

mkdir /opt
sudo tar xvfz xampp-linux-1.8.1.tar.gz -C/opt

and this error shows up:

tar (child): xampp-linux-1.8.1.tar.gz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
share|improve this question
    
The /opt directory is already created by default so you should not have to create it. I can only assume that you were in your /home directory when you created the /opt directory and you are going to be in a world of hurt trying to get this done. Here is a good tutorial for doing what you want to do, following it slowly and read it carefully: liberiangeek.net/2013/05/… and another here: setupguides.blogspot.com/2013/04/… –  kingmilo Jun 2 '13 at 12:13
add comment

1 Answer

up vote -1 down vote accepted

Example your xampp files in Downloads directory.

cd Downloads

sudo -s

tar xvfz xampp-linux-1.8.1.tar.gz -C /opt

After install xampp you will get permission denied error. Therefore to fix this, run the following code in terminal.

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

Run the following command in terminal to start lampp,

/opt/lampp/lampp start
share|improve this answer
    
I don't think it's a good idea to encourage 777 permissions. –  janos Jun 2 '13 at 10:44
    
Perhaps this could have been a comment instead of an answer. You have made too many assumptions. –  kingmilo Jun 2 '13 at 12:18
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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