LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 04-24-2007, 09:04 AM   #1
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Debian
Posts: 2,895

Rep: Reputation: 73
Question How To Install Samba Post Install?


Right now I am on a RHEL4 box and just ran an up2date on it however I noticed that I may have forgot to install Samba on it as I don't see the following directories:

/etc/samba/*
/etc/init.d/samba

I was wondering if I have no GUI (CLI only server) what is the best way to install Samba on this machine?
 
Old 04-24-2007, 09:40 AM   #2
MensaWater
Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 5,770
Blog Entries: 4

Rep: Reputation: 697Reputation: 697Reputation: 697Reputation: 697Reputation: 697Reputation: 697
The startup is init.d/smb rather than init.d/samba.

RHEL uses /etc/sysconfig for a lot of stuff so your config files may be there rather than /etc itself.

You may also have the redhat-config tool for Samba so you can use that.

What do you see if you run "rpm -qa |grep samba"?

For the packages you see (if any) you can see the files it installed with:
rpm -ql <package>

If you don't have any installed you can try:
up2date --whatprovides samba

You can use up2date from command line to install it. See the up2date man page.
 
Old 04-24-2007, 09:47 AM   #3
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Debian
Posts: 2,895

Original Poster
Rep: Reputation: 73
Thanks for the reply & info.

I did the following and found no results from the "grep" so I followed your instructions and think I may have messed up somewhere...no?

Code:
[root@print ~]# rpm -qa |grep samba
[root@print ~]# up2date --whatprovides samba
samba-3.0.10-1.4E.11.i386
[root@print ~]# up2date -i samba-3.0.10-1.4E.11.i386

Fetching Obsoletes list for channel: rhel-i386-es-4...

Fetching rpm headers...

Name                                    Version        Rel     
----------------------------------------------------------


The following packages you requested were not found:
samba-3.0.10-1.4E.11.i386

***EDIT***

up2date -i samba works just fine...

Last edited by carlosinfl; 04-24-2007 at 09:48 AM.
 
Old 04-24-2007, 10:05 AM   #4
MensaWater
Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 5,770
Blog Entries: 4

Rep: Reputation: 697Reputation: 697Reputation: 697Reputation: 697Reputation: 697Reputation: 697
You may want to be sure you have these other Samba related packages if they weren't installed along with samba as dependencies:

samba-common
samba-client
redhat-config-samba
 
Old 04-24-2007, 12:26 PM   #5
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Debian
Posts: 2,895

Original Poster
Rep: Reputation: 73
Quote:
Originally Posted by jlightner
You may want to be sure you have these other Samba related packages if they weren't installed along with samba as dependencies:

samba-common
samba-client
redhat-config-samba
I believe those are dependencies so u2date should auto install them as part of the Samba package but thanks for the info!
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
changing install media post install FC4 FC-71 Fedora 3 12-16-2005 11:36 AM
Is there a way to install package *groups* post-install (LM10.1) ColKurtz Mandriva 1 02-20-2005 01:28 AM
Install OpenOffice post Distro install? xrobevansx Linux - Newbie 4 06-15-2004 05:43 AM
How do I install qmail-queue patch post install of qmail? cmisip Linux - Software 0 04-28-2003 11:10 PM
ps2 mouse not detected on install or post install with mandrake 8.2 linux_learner Linux - Hardware 1 09-12-2002 09:31 AM


All times are GMT -5. The time now is 01:39 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration