LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 11-01-2004, 09:01 AM   #1
wesleywest
Member
 
Registered: Aug 2004
Posts: 43

Rep: Reputation: 15
samba install by tar xzvf


so i thought i tried to install something without using apt-get for a change. so i downloaded samba from the samba site

tar xzvf package name

cd source ( of the samba folder )

./configure

make

make install

( i got these steps from a site )

after doing this i thougt it would be right but i can't find anything in /etc/samba
and if i do " locate samba" the only thing he finds are the thing i untarred in the folder where i copied the samba.tar.gz

so what is wrong
 
Old 11-01-2004, 09:06 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 11,882

Rep: Reputation: 1608Reputation: 1608Reputation: 1608Reputation: 1608Reputation: 1608Reputation: 1608Reputation: 1608Reputation: 1608Reputation: 1608Reputation: 1608Reputation: 1608
By default samba is installed at /usr/local/samba
 
Old 11-01-2004, 09:11 AM   #3
wesleywest
Member
 
Registered: Aug 2004
Posts: 43

Original Poster
Rep: Reputation: 15
true it installed several maps in the folder /usr/local/samba/

but i cant find smb.conf :S little strange

also i cant seem to start with teh command samba start
from /etc/init.d
 
Old 11-01-2004, 09:30 AM   #4
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 11,882

Rep: Reputation: 1608Reputation: 1608Reputation: 1608Reputation: 1608Reputation: 1608Reputation: 1608Reputation: 1608Reputation: 1608Reputation: 1608Reputation: 1608Reputation: 1608
A sample smb.conf is in /usr/local/samba/lib. Change it to feet your needs and rename it to smb.conf.
Is that init script right? Because now smbd/nmbd run from /usr/local/samba/bin
 
Old 11-01-2004, 09:34 AM   #5
wesleywest
Member
 
Registered: Aug 2004
Posts: 43

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by bathory
A sample smb.conf is in /usr/local/samba/lib. Change it to feet your needs and rename it to smb.conf.
Is that init script right? Because now smbd/nmbd run from /usr/local/samba/bin
well i can't seem to find a smb.conf in /usr/local/samba/lib but i could copy 1 from the files i extrected from the tar

plus i tried to start smbd and nmbd from /sbin with ./smdb start
but how can i see there status

thnx for your help btw
 
Old 11-01-2004, 09:45 AM   #6
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 11,882

Rep: Reputation: 1608Reputation: 1608Reputation: 1608Reputation: 1608Reputation: 1608Reputation: 1608Reputation: 1608Reputation: 1608Reputation: 1608Reputation: 1608Reputation: 1608
It's not that simple to just copy an existing smb.conf and wait for samba to work. You must edit it to define your workgroup, users etc. You can check your config with /usr/local/samba/bin/testparm
To see if smbd/nmbd are running:
Code:
ps aux|grep smbd
pa aux|grep nmbd
To start them:
Code:
/usr/local/samba/bin/smbd -D
/usr/local/samba/bin/nmbd -D
You can make a script with these commands to run at system startup.

Last edited by bathory; 11-01-2004 at 09:46 AM.
 
Old 11-01-2004, 10:01 AM   #7
wesleywest
Member
 
Registered: Aug 2004
Posts: 43

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by bathory
It's not that simple to just copy an existing smb.conf and wait for samba to work. You must edit it to define your workgroup, users etc. You can check your config with /usr/local/samba/bin/testparm
To see if smbd/nmbd are running:
Code:
ps aux|grep smbd
pa aux|grep nmbd
To start them:
Code:
/usr/local/samba/bin/smbd -D
/usr/local/samba/bin/nmbd -D
You can make a script with these commands to run at system startup.
i get this output

Lexiun:/usr/local/samba/bin# ./testparm
Load smb config files from /usr/local/samba/lib/smb.conf
Processing section "[homes]"
Processing section "[printers]"
Processing section "[print$]"
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions

# Global parameters
[global]
workgroup = LEXIUN
server string = %h server (Samba %v)
security = SHARE
encrypt passwords = No
obey pam restrictions = Yes
passdb backend = tdbsam, guest
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n .
syslog = 0
log file = /var/log/samba/log.%m
max log size = 1000
dns proxy = No
wins support = Yes
panic action = /usr/share/samba/panic-action %d
invalid users = root

[homes]
comment = testje
path = /wesley
create mask = 0700
directory mask = 0700
guest ok = Yes

[printers]
comment = All Printers
path = /tmp
create mask = 0700
printable = Yes
browseable = No

[print$]
comment = Printer Drivers
path = /var/lib/samba/printers




the problem here was that i used to be a redhat user and when you start smbd and nmbd it wil say they are runnig but thnx anway
 
  


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 can i decompress this tar.tar file? hmmm sounds new.. tar.tar.. help ;) kublador Linux - Software 14 10-25-2016 03:48 AM
Unable to use tar -xzvf with a abc.tar.gz file kakultech Linux - Software 6 11-08-2010 12:03 PM
how to install .tar.gz and .tar.bz and .src.rpms gadekishore Linux - Software 3 08-06-2010 06:02 PM
how to install .tar.bz and src.rpms and tar.gz files gadekishore Linux - Software 1 10-12-2005 09:09 PM
curious: tar -xzvf ... nadroj Linux - Newbie 9 03-28-2005 09:52 PM

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

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