LinuxQuestions.org
Review your favorite Linux distribution.
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-17-2012, 11:41 AM   #1
aydel
LQ Newbie
 
Registered: Sep 2012
Posts: 9

Rep: Reputation: Disabled
Please Help how to install samba in redhat


Dear All,

First time i want to introduce my self, my name aydel, i'm a new user in linux, so i want to ask about problem with i have.

i have download samba samba-3.6.7.tar.g
i try to install but not succes,

berfore i install samba, first i see status have samba install in my computer with use coman below.
[root@aydel ~]# rpm -qa|grep samba
samba-winbind-clients-3.5.6-86.el6.i686
samba-client-3.5.6-86.el6.i686
samba-common-3.5.6-86.el6.i686
[root@aydel ~]#


and then i try to install, but not succes,

[root@aydel samba]# yum install /home/aydel/Downloads/samba-3.6.7.tar.gz
Loaded plugins: product-id, refresh-packagekit, subscription-manager
Updating Red Hat repositories.
Setting up Install Process
No package /home/aydel/Downloads/samba-3.6.7.tar.gz available.
Error: Nothing to do
[root@aydel samba]#


please help..,

Regards,

Aydel
 
Old 09-17-2012, 12:02 PM   #2
snowpine
Senior Member
 
Registered: Feb 2009
Posts: 4,192

Rep: Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181
Welcome to the forums Aydel!

I think you're making it more complicated that it needs to be, should be as simple as:

Code:
yum install samba
and then edit smb.conf as needed.
 
Old 09-17-2012, 09:19 PM   #3
aydel
LQ Newbie
 
Registered: Sep 2012
Posts: 9

Original Poster
Rep: Reputation: Disabled
Dear snowpine,

would you like give me code step by step?
how to edit samba.rpm to samba.conf?

thanks,
hopefully you already give solusion..., many thanks snowpine... hehhe
 
Old 09-17-2012, 09:20 PM   #4
snowpine
Senior Member
 
Registered: Feb 2009
Posts: 4,192

Rep: Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181
The complete step-by-step instructions are:

Code:
yum install samba
 
Old 09-17-2012, 09:23 PM   #5
aydel
LQ Newbie
 
Registered: Sep 2012
Posts: 9

Original Poster
Rep: Reputation: Disabled
i have try edit smb.conf with comand vi smb.conf, but the result like below,

~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
"smb.conf" [New File]


so i can't do any thing.

please help...

hehe

many thanks
 
Old 09-17-2012, 09:26 PM   #6
snowpine
Senior Member
 
Registered: Feb 2009
Posts: 4,192

Rep: Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181
The full filename is /etc/smb.conf

Have you done 'yum install samba' yet?
 
Old 09-17-2012, 10:18 PM   #7
aydel
LQ Newbie
 
Registered: Sep 2012
Posts: 9

Original Poster
Rep: Reputation: Disabled
thanks very much snowpine,
i have try /etc/snm.conf
[root@aydel ~]# /etc/smb.conf
-bash: /etc/smb.conf: No such file or directory
[root@aydel ~]#

this is result rpm -qa|grep samba

[root@aydel ~]# rpm -qa|grep samba
samba-winbind-clients-3.5.6-86.el6.i686
samba-client-3.5.6-86.el6.i686
samba-common-3.5.6-86.el6.i686
[root@aydel ~]#

i have done download samba but i cant install,

[root@aydel Downloads]# yum install samba-3.5.6-86.el6.src.rpm
Loaded plugins: product-id, refresh-packagekit, subscription-manager
Updating Red Hat repositories.
Setting up Install Process
Examining samba-3.5.6-86.el6.src.rpm: samba-3.5.6-86.el6.src
Cannot add package samba-3.5.6-86.el6.src.rpm to transaction. Not a compatible architecture: src
Error: Nothing to do
[root@aydel Downloads]#

whta kind of samba can i install? so i can find download
 
Old 09-17-2012, 10:23 PM   #8
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,493

Rep: Reputation: 2096Reputation: 2096Reputation: 2096Reputation: 2096Reputation: 2096Reputation: 2096Reputation: 2096Reputation: 2096Reputation: 2096Reputation: 2096Reputation: 2096
Stop trying to download samba separately, and just follow the command given to you three times already:
Code:
yum install samba
That's it.

Not "yum install /home/aydel/Downloads/samba-3.6.7.tar.gz", not "yum install samba-3.5.6-86.el6.src.rpm"...just "yum install samba". You're making this WAY more complicated than it needs to be.

This is not Windows. YUM is a full package management system, not a package installer. When you ask it for "samba" it will go out to its repository on the web, download the correct version for your system, and install it. You should not be going out to the web and downloading some random version which may or may not be compatible with the rest of the packages on your system.

Last edited by suicidaleggroll; 09-17-2012 at 10:29 PM.
 
Old 09-17-2012, 10:31 PM   #9
aydel
LQ Newbie
 
Registered: Sep 2012
Posts: 9

Original Poster
Rep: Reputation: Disabled
Dear snowpine,

thank you very much for your kind heart to help me,
i hope you not bored ask my question.., hehe

i have try install samba by code yum install samba, but result as below,

[root@aydel ~]# yum install samba
Loaded plugins: product-id, refresh-packagekit, subscription-manager
Updating Red Hat repositories.
Setting up Install Process
No package samba available.
Error: Nothing to do
[root@aydel ~]#

thanks for attention,

regards,

Aydel
 
Old 09-17-2012, 10:36 PM   #10
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,493

Rep: Reputation: 2096Reputation: 2096Reputation: 2096Reputation: 2096Reputation: 2096Reputation: 2096Reputation: 2096Reputation: 2096Reputation: 2096Reputation: 2096Reputation: 2096
What's the output of
Code:
yum repolist
You do have a PAID subscription for your redhat installation right?
 
Old 09-17-2012, 10:44 PM   #11
aydel
LQ Newbie
 
Registered: Sep 2012
Posts: 9

Original Poster
Rep: Reputation: Disabled
[root@aydel ~]# yum repolist
Loaded plugins: product-id, refresh-packagekit, subscription-manager
Updating Red Hat repositories.
repolist: 0
[root@aydel ~]#


no I dont have a PAID subscription for redhat installation?
so will i retry install redhat again?
 
Old 09-17-2012, 10:46 PM   #12
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,493

Rep: Reputation: 2096Reputation: 2096Reputation: 2096Reputation: 2096Reputation: 2096Reputation: 2096Reputation: 2096Reputation: 2096Reputation: 2096Reputation: 2096Reputation: 2096
RHEL is not to be used without a paid subscription, it's basically useless without one. If you don't plan to pay the $xxx subscription fee then you need to switch to a free derivative, such as Scientific Linux or CentOS.
 
Old 09-17-2012, 10:58 PM   #13
aydel
LQ Newbie
 
Registered: Sep 2012
Posts: 9

Original Poster
Rep: Reputation: Disabled
does anyone for free if I want to try redhat for a while?
i'm very interest to learn linux, but i dont have ISO like Contos if i change my computer system.

and how to get subscription redhat?
i live in indonesia, can you give me information?
 
Old 09-17-2012, 11:10 PM   #14
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,493

Rep: Reputation: 2096Reputation: 2096Reputation: 2096Reputation: 2096Reputation: 2096Reputation: 2096Reputation: 2096Reputation: 2096Reputation: 2096Reputation: 2096Reputation: 2096
You can switch to CentOS on the fly by following these directions:
http://www.unixmen.com/201201-how-to...to-centos-6-x/
 
Old 09-17-2012, 11:15 PM   #15
aydel
LQ Newbie
 
Registered: Sep 2012
Posts: 9

Original Poster
Rep: Reputation: Disabled
thanks snowpine,

i will try to find,
and dont bored ask my question if next time i have problem..
thanks,

sweet regards,

aydel
 
  


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 to install SAMBA 3.x on Redhat 5.6 (SElinux) without internet connection Drumgod007 Red Hat 2 07-15-2011 05:05 PM
how can I install samba in my redhat 9.0? joven Linux - Software 4 11-25-2010 07:18 PM
[SOLVED] help with samba install on redhat noob_needs_lube Linux - Software 1 11-04-2010 08:49 AM
I Need Help on Redhat linux 4.6 install samba braeasy1 Linux - Networking 2 09-23-2008 03:59 AM
Help me install samba on redhat 4.6,config and set up as admin to other host braeasy1 Linux - Server 2 09-19-2008 08:02 AM


All times are GMT -5. The time now is 08:09 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration