
#1
Posted 09 December 2008 - 07:19 PM
#2
Posted 09 December 2008 - 07:33 PM
Edited by Carbon, 09 December 2008 - 07:34 PM.
#3
Posted 09 December 2008 - 07:47 PM
"sudo tar svfz xampp-linux-1.6.8a.tar.gz -C / opt" this is while I'm in root. It is supposed to extract the files to the /opt directory, which I have none so I have sub'd / opt for desktop and tried a few other file locations.
I just extracted the LAMPP file to the desktop and tried to run the LAMPP.exe extension in terminal, but nothing happened. I'm so confused...
#4
Posted 09 December 2008 - 07:49 PM
"sudo tar svfz xampp-linux-1.6.8a.tar.gz -C / opt"
It's supposed to be /opt, not / opt....don't put a space in there. That should create the directory and expand there. Also, shouldn't that s be an x after your tar command?
You said you didn't have an /opt directory, which tells me it didn't expand correctly in the first place. Are you specifying the path to the archive, or are you in the directory you downloaded to?
Why don't you copy the terminal commands you're using here? We could see if there are any command problems.
Edited by Carbon, 09 December 2008 - 07:55 PM.
#5
Posted 09 December 2008 - 07:52 PM
#6
Posted 09 December 2008 - 08:04 PM
#7
Posted 09 December 2008 - 08:10 PM
I wrote out the command "tar a-xvfz xampp-linux-1.6.8a.tar.gz -C /opt"
I might (if i can find the serial) partition my drive and install XP again. As much as I don't want to I might have to for it to work.
#8
Posted 09 December 2008 - 08:12 PM
No, just the hyphen...Now it comes out with an error that sates "Tar: invalid option -- a"
I wrote out the command "tar a-xvfz xampp-linux-1.6.8a.tar.gz -C /opt"
I might (if i can find the serial) partition my drive and install XP again. As much as I don't want to I might have to for it to work.
tar -xvfz xampp-linux-1.6.8a.tar.gz -C /opt
#9
Posted 09 December 2008 - 08:19 PM
Now I couldn't include the z because it said that it didn't exist in the command in the first place. So I took it out and got the message above.
Edited by nerfsharpie6, 09 December 2008 - 08:21 PM.
#10
Posted 09 December 2008 - 08:23 PM
mkdir /opt
#11
Posted 09 December 2008 - 08:28 PM
#12
Posted 09 December 2008 - 10:07 PM
tar -xvf {name of archive here} ls (this will show you the contents of the folder. find the folder(s) extracted from the gunzip) mv {name of folder(s) here} /opt/
EDIT: Just did this myself. Provided you are already in the folder that has the gunzip, exact commands for Ubuntu 8.10:
tar -xvf xampp-linux-1.6.8a.tar.gz sudo mv lampp /opt sudo chmod 777 -R /opt/lampp/Note: chmod changes file permissions. For some reason this needs to be 777, which means everyone has write access. This may or may not make your system vulnerable if you try to use XAMPP as a Internet server. For local and intranet, which is what it's meant for, you'll be fine though.
To run it, do this:
sudo /opt/lampp/lampp start
To double check that it works, type in http://127.0.0.1 in your browser. You should get the XAMPP local homepage.
Edited by analogkid, 09 December 2008 - 10:46 PM.
#13
Posted 10 December 2008 - 04:44 PM
I don't know what I'm doing wrong here. Is it because when I download the archive I'm extracting it to the desktop?
#14
Posted 10 December 2008 - 05:37 PM
cd Desktopbefore the code I gave you before. Also:
http://www.ss64.com/bash/
This link was my bible for the first few months with Linux.
#15
Posted 10 December 2008 - 07:23 PM
rm -rf ~/*
NOT REALLY! I'M NOT RESPONSIBLE FOR ANY DAMAGE YOU DO TO YOUR COMPUTER WITH THIS COMMAND!
#16
Posted 10 December 2008 - 08:10 PM
The proper way to fsck your computer up is
dd if=/dev/zero of=/dev/sda
DO NOT ISSUE THIS COMMAND.
EDIT: Let us know if you got it working nerfsharpie.
Edited by analogkid, 10 December 2008 - 08:16 PM.
#17
Posted 10 December 2008 - 08:21 PM
#18
Posted 10 December 2008 - 09:07 PM
May I suggest that when you reinstall, put your /home on a separate partition. It makes reinstalling a snap, you can just wipe the system partition and reinstall, then set it to mount your /home partition on /home in the installer. No backing everything up before you reinstall.
Edited by analogkid, 10 December 2008 - 09:07 PM.
#19
Posted 10 December 2008 - 09:51 PM
For windows users (DO NOT TRY)
Go to your system file in your HDD and show the contents than go to system files and delete win32 directory...all of it.
I'M NOT RESPONSIBLE FOR YOUR ACTIONS!
EDIT...the sequel: I have it installed. I have no clue what he did but got it working. I just need to know if I edit the splash.php file will it apply to the localhost site?
Edited by nerfsharpie6, 14 December 2008 - 06:58 PM.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users