Red Hat This forum is for the discussion of Red Hat Linux. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
04-24-2007, 09:04 AM
|
#1
|
Senior Member
Registered: May 2004
Location: Orlando, FL
Distribution: Arch
Posts: 2,905
Rep:
|
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?
|
|
|
04-24-2007, 09:40 AM
|
#2
|
LQ Guru
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
|
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.
|
|
|
04-24-2007, 09:47 AM
|
#3
|
Senior Member
Registered: May 2004
Location: Orlando, FL
Distribution: Arch
Posts: 2,905
Original Poster
Rep:
|
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.
|
|
|
04-24-2007, 10:05 AM
|
#4
|
LQ Guru
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
|
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
|
|
|
04-24-2007, 12:26 PM
|
#5
|
Senior Member
Registered: May 2004
Location: Orlando, FL
Distribution: Arch
Posts: 2,905
Original Poster
Rep:
|
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!
|
|
|
All times are GMT -5. The time now is 08:34 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|