LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-25-2006, 06:10 PM   #1
Max Linux
LQ Newbie
 
Registered: Jun 2006
Posts: 3

Rep: Reputation: 0
How do I make an install from root ?


Hi to all you Linux gurus :-)

I'm completely new to Linux and have a VERY limited understanding of the terminal and it's commands.

I've succesfully installed Fedora 5 on my intel Apple Mac using paralells desktop, and I have a few Q's that I would appreciate some help with. So here goes;-

1) I'm trying to install Hamachi which I have to do from a root account. How do I do this ?

2) How do I pull up help on the commands ?

3) Also are there any online guide/tutorials which explain the basics of the command line interface of Linux.

I really like the look of Linux and my ultimate goal would be to set up my own virtual web server (using Paralells), and set up my own private network using Hamachi. But I'm a long way off from this yet.

Many thanks for any help/advice.

Max

Last edited by Max Linux; 06-25-2006 at 06:22 PM.
 
Old 06-25-2006, 06:28 PM   #2
serafean
Member
 
Registered: Mar 2006
Location: Czech Republic
Distribution: Gentoo, Chakra
Posts: 923
Blog Entries: 14

Rep: Reputation: 124Reputation: 124
Welcome!!!To linux...

To install anything as root, you can run a terminal and run 'su' you will be asked for your root password, enter it and then you do what you must in root (haven't tried hamachi, so can't help there)

http://www.tuxfiles.org/linuxhelp/cli.html
This should be a quite good start in the command line

and to get help on commands, simply type 'man (command wanted help for)' or (command wanted help for) --help'
 
Old 06-26-2006, 06:18 PM   #3
Max Linux
LQ Newbie
 
Registered: Jun 2006
Posts: 3

Original Poster
Rep: Reputation: 0
Ok I got it to install but I'm stuck on the next bit. The readme doc says the folowing ;-

Once installed you must run 'tuncfg' daemon with root privileges -

sudo /sbin/tuncfg

or if you don't have sudo -

su - ; /sbin/tuncfg; exit


I have tried
su [ I enter the root password that I used to install as root]

I then type at the [root@localhost /]# prompt

sbin/tuncfg [and I get permission denied.]

Any ideas why this is ?

I've noticed that the tuncfg file has a red circle with a line through it overlaid on top of it.

When I look at the properties the type is Unkown. Permissions are File Owner: root
File Group: root

Many thanks for the help. I'm sure it's something I'm not doing right.


Max

Last edited by Max Linux; 06-26-2006 at 06:24 PM.
 
Old 06-29-2006, 09:05 AM   #4
serafean
Member
 
Registered: Mar 2006
Location: Czech Republic
Distribution: Gentoo, Chakra
Posts: 923
Blog Entries: 14

Rep: Reputation: 124Reputation: 124
enter '#ls -l /sbin/tuncfg' and post the output here. I got the idea the file is not marked as executable. ls -l command will tell you this : r = read; w = write; x = execute. If there's no 'x' ,try 'chmod +x /sbin/tuncfg' This will give tuncfg the 'execute" permission.

these two links could help you. The second one is, i think, your problem.
http://forums.hamachi.cc/viewtopic.php?t=3180
http://www.kernel.org/pub/linux/kern...ing/tuntap.txt
 
Old 06-29-2006, 02:07 PM   #5
terracotta
Member
 
Registered: Nov 2005
Location: UK
Distribution: Gentoo, Ubuntu, PCLinuxOS
Posts: 48

Rep: Reputation: 15
http://www.linuxcommand.org/index.php is another good online guide to the Linux command line.
 
Old 06-29-2006, 03:52 PM   #6
alexander_bosakov
Member
 
Registered: Mar 2006
Location: Plovdiv, Bulgaria
Distribution: OpenSuse 11.3
Posts: 55

Rep: Reputation: 15
If You are using KDE, try 'info:', or beter 'info:coreutils' in the address bar of Konqueror, or see 'Browse Info Pages' in the Help Center.
 
Old 06-29-2006, 05:15 PM   #7
robbbert
Member
 
Registered: Oct 2005
Location: Hannover, Germany
Distribution: Let there be Ubuntu... :o)
Posts: 573

Rep: Reputation: 32
Quote:
I got the idea the file is not marked as executable
That one could be the solution...

Last edited by robbbert; 06-29-2006 at 05:18 PM.
 
Old 06-30-2006, 07:42 PM   #8
Max Linux
LQ Newbie
 
Registered: Jun 2006
Posts: 3

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by serafean
enter '#ls -l /sbin/tuncfg' and post the output here. I got the idea the file is not marked as executable. ls -l command will tell you this : r = read; w = write; x = execute. If there's no 'x' ,try 'chmod +x /sbin/tuncfg' This will give tuncfg the 'execute" permission.
I think your right. On the properties it say's Executable :Unknown.

When I get a chance I'll try your suggestions. Been working late.

Cheers


Max
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I link to my custom libGL.la during configure/make/install if I am not root? lbermude Linux - Software 2 12-13-2004 08:51 AM
How do I write a make install Makefile that determines if user is root? SheldonPlankton Programming 3 08-13-2004 05:39 PM
How to make rule for make install and make uninstall melinda_sayang Programming 1 06-14-2004 05:58 AM
Is it normal to login as root for the 'make install' command? killswitch1968 Linux - Software 6 03-13-2004 01:14 PM
make install by root or lfs? bingbang Linux From Scratch 2 02-29-2004 10:36 AM


All times are GMT -5. The time now is 12:55 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration