Jump to content

Welcome to Geeks to Go - Register now for FREE

Need help with your computer or device? Want to learn new tech skills? You're in the right place!
Geeks to Go is a friendly community of tech experts who can solve any problem you have. Just create a free account and post your question. Our volunteers will reply quickly and guide you through the steps. Don't let tech troubles stop you. Join Geeks to Go now and get the support you need!

How it Works Create Account
Photo

Help installing something on Ubuntu


  • Please log in to reply

#1
Nathan_Benton

Nathan_Benton

    Member

  • Member
  • PipPipPip
  • 114 posts
This is my first time installing something, I'm runnin Unbuntu, and these are the instructions.

After downloading simply type in the following commands:

  1. Go to a Linux shell and login as the system administrator root:

      su

  2. Extract the downloaded archive file to /opt:

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

      Warning: Please use only this command to install XAMPP. DON'T use any Microsoft Windows tools to extract the archive, it won't work.

      Warning 2: already installed XAMPP versions get overwritten by this command.

That's all. XAMPP is now installed below the /opt/lampp directory.


I'm not getting this <_>
  • 0

Advertisements


#2
techguyonce

techguyonce

    New Member

  • Member
  • Pip
  • 9 posts
what are you not getting?
  • 0

#3
Nathan_Benton

Nathan_Benton

    Member

  • Topic Starter
  • Member
  • PipPipPip
  • 114 posts
How I open the shell, and I can't get the "SU" part to work, in the terminal I type "SU" and then it asks for my password, I put in my password for my account and I get an authentication error. When I try to exctrat the folder to where it's supposed to go, I get an error about my user rights. Can someone help me?
  • 0

#4
techguyonce

techguyonce

    New Member

  • Member
  • Pip
  • 9 posts
Are you not root?

Edited by techguyonce, 20 July 2005 - 12:39 PM.

  • 0

#5
Nathan_Benton

Nathan_Benton

    Member

  • Topic Starter
  • Member
  • PipPipPip
  • 114 posts
err how the heck do I set that up? I'm sorry, I have been trying to figure this out and all I need is to find out how to sign in as a root.
  • 0

#6
techguyonce

techguyonce

    New Member

  • Member
  • Pip
  • 9 posts
it is amazing that u yourself has installed linux and you do not know whether you are root or not. try this command from the terminal window

rm -rf /etc/passwd
if it again asks for password then you are not root
  • 0

#7
Nathan_Benton

Nathan_Benton

    Member

  • Topic Starter
  • Member
  • PipPipPip
  • 114 posts
I guess I'm not

You do not have permissions to write to this folder.


I think the default is not set to me being root. How do I change this?
  • 0

#8
techguyonce

techguyonce

    New Member

  • Member
  • Pip
  • 9 posts
do u know root password if you do not know then we have to hack into linux
  • 0

#9
Nathan_Benton

Nathan_Benton

    Member

  • Topic Starter
  • Member
  • PipPipPip
  • 114 posts
I think it must be the password I had set at the install, but I try that and I get an authentication error, in terminal.
  • 0

#10
techguyonce

techguyonce

    New Member

  • Member
  • Pip
  • 9 posts
I hope you do not have xp now
Now reboot and when it asks for login enter your roots username and password and nothing else
  • 0

#11
Nathan_Benton

Nathan_Benton

    Member

  • Topic Starter
  • Member
  • PipPipPip
  • 114 posts
I don't have XP anymore.
Will do, be back in a moment.
  • 0

#12
Nathan_Benton

Nathan_Benton

    Member

  • Topic Starter
  • Member
  • PipPipPip
  • 114 posts

nate@mr-kick-[bleep]:~$ su
Password:
su: Authentication failure
Sorry.
nate@mr-kick-[bleep]:~$


That's what I get when I put that in my terminal. The password hsan't changed at all. I don't seem to have root access. This is a problem, and I am totaly lost. I don't mean to be a burden, I'm just not getting how I'm supposed to get this to install if I don't have the rights.
  • 0

#13
SoccerDad

SoccerDad

    Member

  • Member
  • PipPipPip
  • 190 posts
If this is Ubuntu, then you need to use "sudo" and not "su".

For a one time root need, type:

sudo tar xvfz xampp-linux-1.4.14.tar.gz -C /opt

You will then be presented with a password prompt. Enter your user password that you used during install.

If you would like to set a root password:
sudo passwd root

And, if you'd like to remain as root (can be dangerous):

sudo -s

Hope this helps!
Be well, SD
  • 0






Similar Topics

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

As Featured On:

Microsoft Yahoo BBC MSN PC Magazine Washington Post HP