LinuxQuestions.org
Help answer threads with 0 replies.
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 05-06-2004, 02:54 PM   #1
irishmage
LQ Newbie
 
Registered: Apr 2004
Location: Pennsylvania
Distribution: Mandrake 9.2
Posts: 18

Rep: Reputation: 0
May have fubar'd Samba questions


Good day unto all,
My odyssey into Linux continues. I have figured out how to download RPM's to my system. I have created a download directory under home for a repositry of these so that I may untar them and install.I was able to get a copy of samba-3.0.3.tar and I untarr'd it into my downloads directory. This was wrong was it not? Should the samba-3.0.3 directory it created be somewhere else so that I may modify it and (hopefully!) get it to work correctly? If so how would I go about this? As always thanks in advance
 
Old 05-06-2004, 02:59 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Take a look at:
http://it.samba.org/samba/docs/man/howto/compiling.html

You may also be interested in reading this first:
http://www.linuxquestions.org/questi...ticle&artid=15
 
Old 05-06-2004, 03:12 PM   #3
irishmage
LQ Newbie
 
Registered: Apr 2004
Location: Pennsylvania
Distribution: Mandrake 9.2
Posts: 18

Original Poster
Rep: Reputation: 0
Good Day
Thank you for the threads. Interesting reading. So do I delete what I have and download to /usr/src/ then? When I tried to do that with a file from www.rpmfind.net it tells me "access denied" what am I doing wrong please?
 
Old 05-06-2004, 07:55 PM   #4
vectordrake
Senior Member
 
Registered: Nov 2003
Location: NB,Canada
Distribution: Something alpha or beta, binary or source...
Posts: 2,280
Blog Entries: 4

Rep: Reputation: 47
You must do these things as the root user. Otherwise you don't have permission. I see from your sig to the left that you claim Mandrake 9.2 as your distribution. You can make your life a lot easier installing of you use urpmi (or rpmdrake, a graphical version). You can fetch your rpms from mirrors on the net and have them install without a hitch. Samba takes about 30 seconds to get on a broadband connection and 30 seconds to install. Done.

If I am talking gibberish to you, go to the Mandrake site and locate the Install guide (its more than installing) and devote an hour to its pages. You will notice that a lot of things that might be hard with some other distros are actually quite easy with Mandrake (or Red Hat, Debian, etc).

Go to Easyurpmi and set yourself up with a good source list of download mirrors (its a copy/paste thing - cool). Then, to get a package that you want, you'd
Code:
urpmi.update -a  #which syncs your list with the mirrors
and
Code:
uprmi samba
Urpmi would calculate dependancies and download samba and whatever else it depended on. Then it'd install.

If you want to learn, compile. Either will work. Depends on what you want out of it.
 
Old 05-06-2004, 11:11 PM   #5
irishmage
LQ Newbie
 
Registered: Apr 2004
Location: Pennsylvania
Distribution: Mandrake 9.2
Posts: 18

Original Poster
Rep: Reputation: 0
Quote:
You must do these things as the root user. Otherwise you don't have permission. I see from your sig to the left that you claim Mandrake 9.2 as your distribution. You can make your life a lot easier installing of you use urpmi (or rpmdrake, a graphical version). You can fetch your rpms from mirrors on the net and have them install without a hitch.
Thank you. I believe I have rpmdrake installed and can check on urpmi. How easy is it to install if I don't have it??

Quote:
If I am talking gibberish to you, go to the Mandrake site and locate the Install guide (its more than installing) and devote an hour to its pages. You will notice that a lot of things that might be hard with some other distros are actually quite easy with Mandrake (or Red Hat, Debian, etc).
No it's not gibberish I AM am trying to learn. I have the install guide printed and have been devoting time to it. I am sinply having problems understanding it all. I dont have anyone to ask so I come to the forums to ask. It's disheartening though as most of my questions seem to be responded with RTFM. Makes me wonder honestly.
Thank you for the link to easyurpmi. I will try it tonight! Right now Im wiping my system clean and doing a fresh install of Mandrake. Will let you know how it goes.
 
Old 05-07-2004, 05:39 AM   #6
vectordrake
Senior Member
 
Registered: Nov 2003
Location: NB,Canada
Distribution: Something alpha or beta, binary or source...
Posts: 2,280
Blog Entries: 4

Rep: Reputation: 47
urpmi is installed by default. If you haven't unchecked what Mandrake selected by default as package choices, you'll have rpmdrake as well. Rpmdrake depends on irpmi, so it would be installed if you have rpmdrake. One of the beefs people have about rpmdrake is that its broken up into an update tool, an install tool, and a removal tool. If you open up Mandrake Control Center (I make a shortcut to that on my taskbar for easy access), you can select package selection as an option. Then you have one spot where you can update,install, and remove packages.

By the way, if you get your urpmi sources set up with easyurpmi, you'll notice that you have a book section. Things like Rute and the Mandrake manual are available for installation right on your machine, if you're interested. If you want to learn about how Linux really works, I'd suggest getting Rute to refer to. Its a bible for Linux.

I think that you'll like using rpmdrake, as you can browse the list of available packages and see what you've got to install (like mplayer and the win32 codecs - a must IMO). I'm like a kid in a candy store with rpmdrake sometimes. Sometimes I'll go on an installfest just because I see stuff that looks neat to try out (often uninstalling after as it let me down too.) Come back with more questions, of course. I suggested the Mandrake manual because your distro has a lot more to it than many ever see and a lot of it is covered in the manual. If you see it first, you'll have a better idea of whatyou actually have on your hard drive (manypeople never know even 50% of what their distro is capable of)
 
Old 05-07-2004, 02:47 PM   #7
irishmage
LQ Newbie
 
Registered: Apr 2004
Location: Pennsylvania
Distribution: Mandrake 9.2
Posts: 18

Original Poster
Rep: Reputation: 0
Talking

Gentleman,
THANK YOU!!! I now seem to be able to be getting things installed. I may still tear it down and rebuild the system just cause I mayy have fubar'd it all to hell. This ROCKS though!!!!!!
 
Old 05-07-2004, 05:05 PM   #8
vectordrake
Senior Member
 
Registered: Nov 2003
Location: NB,Canada
Distribution: Something alpha or beta, binary or source...
Posts: 2,280
Blog Entries: 4

Rep: Reputation: 47
Remember you're dealing with a layered system that admits to it. You don't have to reinstall the entire OS every time something gets messed too far. You'll be able to fix only what's broken now. That's why *NIXs insist on root and user accounts. Your'e expected to use your user account and only do system related stuff as the root user. Less chance to mess it all up. Come here if you have a biggie. We'll help you fix it.
 
Old 05-07-2004, 05:22 PM   #9
irishmage
LQ Newbie
 
Registered: Apr 2004
Location: Pennsylvania
Distribution: Mandrake 9.2
Posts: 18

Original Poster
Rep: Reputation: 0
I can live with that. I do have a couple of questions though I am currently rebuilding the machine from scratch in order to fully fix what i broke the first time can a user be both a user and root? also I am configuring this machine to use samba on a really weird home network setup as a passthrough for my machine to the rest of the net (and internet). I need to install samba (doing it from install with mysql and some others) how hard are they to configure and use. Most of my world has been with Access and windoze.
 
Old 05-07-2004, 07:04 PM   #10
vectordrake
Senior Member
 
Registered: Nov 2003
Location: NB,Canada
Distribution: Something alpha or beta, binary or source...
Posts: 2,280
Blog Entries: 4

Rep: Reputation: 47
Not too hard. You may have to edit a config file instead of clicking on radio buttons on a pretty box a few times, but its not too bad. I have samba working acceptably on my two machine network (through a router) and I did it with the mouse. I did have to change the default workgroup manually by editing the /etc/samba.conf file. Took about 5 minutes between finding the file, finding the well-commented line, and editing it. I can share files between shared folders on either machine (I use it for sharing music between the machines - only need one copy, right?).

You don't need samba for sharing an internet connection. That's different. There is a choice when you configure your network where you can share the net through your machine, if that's what you want (I gave up on that crap for home by getting the router - $25 on ebay). There is a tool to do that with Mandrake Control Center if you don't do it as you install. Its not too hard to do. If I'm not talking about what you wanna do, enlighten me.
 
Old 05-07-2004, 08:16 PM   #11
jazzon
LQ Newbie
 
Registered: May 2004
Location: Michigan, USA
Distribution: Mandrake ??
Posts: 4

Rep: Reputation: 0
I am as new as you are, but got into linux to expand my knowledge of servers and mysql. The mysql is a simple task to configure, as the docs are good, samba i havent learned as I use apache.

Good luck
 
  


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
F1-F6 terminals fubar'd jaa1180 Debian 6 10-11-2004 10:50 AM
Help! Terminals fubar'd after reboot. David the H. Linux - General 4 09-08-2004 03:45 PM
Samba questions subaruwrx Linux - Networking 13 07-16-2004 07:06 AM
Lindows Fubar'd My Computer CurtisMinBC Linspire/Freespire 2 04-11-2004 10:11 PM
Lindows Fubar'd My Computer CurtisMinBC Linux - Newbie 3 04-05-2004 03:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:49 AM.

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
Open Source Consulting | Domain Registration