XAMPP 8.1.0 Install on UBUNTU

Problems with the Linux version of XAMPP, questions, comments, and anything related.

XAMPP 8.1.0 Install on UBUNTU

Postby Peter M » 18. July 2012 03:49

Hi I am trying to install XAMPP on a Linux box.
The download seems to work OK but when I execute the extract command It seems I can't find the xaamp folder or files

See below

simon@dmrus-simon:~$ pwd
/home/simon
simon@dmrus-simon:~$ tar xvfz xampp-linux-1.8.0.tar.gz -C /opt
tar (child): xampp-linux-1.8.0.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


simon@dmrus-simon:~$ su
Password:
root@dmrus-simon:/home/simon# tar xvfz xampp-linux-1.8.0.tar.gz -C /opt
tar (child): xampp-linux-1.8.0.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
root@dmrus-simon:/home/simon#


the XAMPP Folder is in simon/Downloads

but the above instruction says "no such file or Directory"

Help please
Peter M
 
Posts: 1
Joined: 18. July 2012 03:01
XAMPP Version: 5.6.3
Operating System: UBUNTU

Re: XAMPP 8.1.0 Install on UBUNTU

Postby JonB » 18. July 2012 05:09

the XAMPP Folder is in simon/Downloads

but the above instruction says "no such file or Directory"


and the command returned the correct information -

That was because your 'pwd' was /home/simon at the time you issued the command and the tarball was in /home/simon/Downloads
Code: Select all
root@dmrus-simon:/home/simon# 

-----------------------------^^^ tells you the folder you are working in.

Fix - this should work for you (as root)

Code: Select all
tar xvfz /home/simon/Downloads/xampp-linux-1.8.0.tar.gz -C /opt


Downloads/xampp-linux-1.8.0.tar.gz
and
./Downloads/xampp-linux-1.8.0.tar.gz
would also work from that location in the filesystem. Its always best to use the 'absolute path' if you are unsure.

You probably should learn the Linux command line, you will need it to mange/fix things in 'server mode'.

Good Luck
8)
User avatar
JonB
AF Moderator
 
Posts: 3210
Joined: 12. April 2010 16:41
Location: Land of the Blazing Sun
XAMPP Version: 1.8.3-2
Operating System: Windows XP/7 - Fedora 15 1.7.7


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 4 guests