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 |
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.
|
 |
|
09-17-2012, 11:41 AM
|
#1
|
LQ Newbie
Registered: Sep 2012
Posts: 9
Rep: 
|
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
|
|
|
09-17-2012, 12:02 PM
|
#2
|
Senior Member
Registered: Feb 2009
Posts: 4,667
|
Welcome to the forums Aydel!
I think you're making it more complicated that it needs to be, should be as simple as:
and then edit smb.conf as needed.
|
|
|
09-17-2012, 09:19 PM
|
#3
|
LQ Newbie
Registered: Sep 2012
Posts: 9
Original Poster
Rep: 
|
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 
|
|
|
09-17-2012, 09:20 PM
|
#4
|
Senior Member
Registered: Feb 2009
Posts: 4,667
|
The complete step-by-step instructions are:
|
|
|
09-17-2012, 09:23 PM
|
#5
|
LQ Newbie
Registered: Sep 2012
Posts: 9
Original Poster
Rep: 
|
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
|
|
|
09-17-2012, 09:26 PM
|
#6
|
Senior Member
Registered: Feb 2009
Posts: 4,667
|
The full filename is /etc/smb.conf
Have you done 'yum install samba' yet?
|
|
|
09-17-2012, 10:18 PM
|
#7
|
LQ Newbie
Registered: Sep 2012
Posts: 9
Original Poster
Rep: 
|
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
|
|
|
09-17-2012, 10:23 PM
|
#8
|
LQ Guru
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573
|
Stop trying to download samba separately, and just follow the command given to you three times already:
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.
|
|
|
09-17-2012, 10:31 PM
|
#9
|
LQ Newbie
Registered: Sep 2012
Posts: 9
Original Poster
Rep: 
|
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
|
|
|
09-17-2012, 10:36 PM
|
#10
|
LQ Guru
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573
|
What's the output of
You do have a PAID subscription for your redhat installation right?
|
|
|
09-17-2012, 10:44 PM
|
#11
|
LQ Newbie
Registered: Sep 2012
Posts: 9
Original Poster
Rep: 
|
[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?
|
|
|
09-17-2012, 10:46 PM
|
#12
|
LQ Guru
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573
|
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.
|
|
|
09-17-2012, 10:58 PM
|
#13
|
LQ Newbie
Registered: Sep 2012
Posts: 9
Original Poster
Rep: 
|
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?
|
|
|
09-17-2012, 11:15 PM
|
#15
|
LQ Newbie
Registered: Sep 2012
Posts: 9
Original Poster
Rep: 
|
thanks snowpine,
i will try to find,
and dont bored ask my question if next time i have problem..
thanks,
sweet regards,
aydel
|
|
|
All times are GMT -5. The time now is 09:51 PM.
|
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
|
|