LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 09-27-2004, 02:35 AM   #1
amer_58
Member
 
Registered: Mar 2004
Distribution: Slackware 10.2
Posts: 213

Rep: Reputation: 30
samba download and installation


I am downloading samba and its about 21mb.. i hope that the right file.

For me to install it , do i need to run this command only

rpm -Uvh samba-*.i386.rpm
 
Old 09-27-2004, 03:12 AM   #2
Tap-Out
Member
 
Registered: Oct 2002
Location: Halifax, NS
Distribution: Ubuntu, Mepis, Debian
Posts: 130

Rep: Reputation: 15
Re: samba download and installation

Quote:
Originally posted by amer_58
I am downloading samba and its about 21mb.. i hope that the right file.

For me to install it , do i need to run this command only

rpm -Uvh samba-*.i386.rpm
I'm not sure if this applies to the web download of Samba, but I know off the cd(s) there are about three or four packages that you need to install to run samba, but like I said I havn't done a web download of it before.

I also noticed something in your command you're planning to use to install. The only suggestion I would make is to replace the U switch with the i switch, as if you man rpm you will find that -U is for upgrading an existing package whereas -i is for installing a package that you don't already have. So unless you already have samba installed I would use

Code:
rpm -ivh samba-*.i386.rpm
Also I'm pretty sure you already know this but you have to be root to install anything via rpm.

Cheers

Tap
 
Old 09-27-2004, 12:54 PM   #3
:King_58:
Member
 
Registered: Aug 2004
Location: Cyprus
Distribution: RedHat 9
Posts: 46

Rep: Reputation: 15
I have installed it too... how do i run it now.....

How can i locate my shred folders

or how do i map a drive.
 
Old 09-27-2004, 06:46 PM   #4
Tap-Out
Member
 
Registered: Oct 2002
Location: Halifax, NS
Distribution: Ubuntu, Mepis, Debian
Posts: 130

Rep: Reputation: 15
Once you have the package all installed all you have to do to run the program is start the Samba daemon. To do this:

Code:
su
type in the root password

/etc/init.d/smb restart
That will turn on the samba service.

As for how you set up shares on your linux drive I would look at your /etc/samba/smb.conf file and try to edit that to set up a new share.

However from personal experience I find the easier way to configure samba is using the Swat utility. Look again on the samba website where you got the samba packages and look for the SWAT rpm file. Download and install that.

Once you have that installed you need to turn on that service too.

Code:
su
type in the root password

/sbin/chkconfig swat on
/etc/init.d/xinetd restart
/etc/init.d/smb restart
Then once that's done open up a web browser and go to http://127.0.0.1:901 and enter the root name and password and from there the website acts almost like a gui/wizard for samba allowing you to set everything in a less confusing way.

Cheers

Tap
 
Old 09-28-2004, 01:27 AM   #5
:King_58:
Member
 
Registered: Aug 2004
Location: Cyprus
Distribution: RedHat 9
Posts: 46

Rep: Reputation: 15
Quote:
Originally posted by Tap-Out
Once you have the package all installed all you have to do to run the program is start the Samba daemon. To do this:

Code:
su
type in the root password

/etc/init.d/smb restart
That will turn on the samba service.

As for how you set up shares on your linux drive I would look at your /etc/samba/smb.conf file and try to edit that to set up a new share.

However from personal experience I find the easier way to configure samba is using the Swat utility. Look again on the samba website where you got the samba packages and look for the SWAT rpm file. Download and install that.

Once you have that installed you need to turn on that service too.

Code:
su
type in the root password

/sbin/chkconfig swat on
/etc/init.d/xinetd restart
/etc/init.d/smb restart
Then once that's done open up a web browser and go to http://127.0.0.1:901 and enter the root name and password and from there the website acts almost like a gui/wizard for samba allowing you to set everything in a less confusing way.

Cheers

Tap
What did u mean by saying That will turn on the samba service. means that it will scan for shared folders.

on the other hand is there a way that i will scan an ip and would tell me if that IP has a share folder or not.
 
  


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
Software download and installation sadee2 Linux - Games 1 12-02-2005 06:00 AM
Mambo Download And Installation? AQG Linux - Software 4 08-04-2005 05:57 AM
Download SAMBA with SWAT bickyz Linux - Networking 1 12-01-2004 04:52 AM
Is samba standard on Mandrake 9 or do I need to download it? indiretto Linux - Newbie 6 04-07-2003 08:37 PM
Download Samba matin Linux - Newbie 2 02-20-2003 01:47 PM


All times are GMT -5. The time now is 12:37 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