[RESOLVED] How to configure Samba using a graphical interface in rhel 6?

General support questions
zjhxmjl
Posts: 52
Joined: 2012/04/11 11:35:08
Location: china
Contact:

[RESOLVED] How to configure Samba using a graphical interface in rhel 6?

Postby zjhxmjl » 2012/04/16 06:57:30

Code: Select all

[zjhxmjl@localhost Desktop]$ yum list system-config*
Plugin "product-id" can't be imported
Plugin "subscription-manager" can't be imported
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirrors.163.com
 * epel: mirrors.ustc.edu.cn
 * extras: mirrors.163.com
 * rpmforge: fr2.rpmfind.net
 * rpmfusion-free-updates: mirrors.163.com
 * rpmfusion-free-updates-testing: mirrors.163.com
 * rpmfusion-nonfree-updates: mirrors.163.com
 * rpmfusion-nonfree-updates-testing: mirrors.163.com
 * updates: mirrors.163.com
Installed Packages
system-config-date.noarch          1.9.60-1.el6        @anaconda-RedHatEnterpriseLinux-201111171035.i386/6.2
system-config-date-docs.noarch     1.0.9-1.el6         @anaconda-RedHatEnterpriseLinux-201111171035.i386/6.2
system-config-firewall.noarch      1.2.27-5.el6        @anaconda-RedHatEnterpriseLinux-201111171035.i386/6.2
system-config-firewall-base.noarch 1.2.27-5.el6        @anaconda-RedHatEnterpriseLinux-201111171035.i386/6.2
system-config-firewall-tui.noarch  1.2.27-5.el6        @anaconda-RedHatEnterpriseLinux-201111171035.i386/6.2
system-config-kdump.noarch         2.0.2.2-2.el6       @anaconda-RedHatEnterpriseLinux-201111171035.i386/6.2
system-config-keyboard.i686        1.3.1-3.el6         @anaconda-RedHatEnterpriseLinux-201111171035.i386/6.2
system-config-network-tui.noarch   1.6.0.el6.2-1.el6   @anaconda-RedHatEnterpriseLinux-201111171035.i386/6.2
system-config-services.noarch      0.99.45-1.el6.3     @anaconda-RedHatEnterpriseLinux-201111171035.i386/6.2
system-config-services-docs.noarch 1.1.8-1.el6         @anaconda-RedHatEnterpriseLinux-201111171035.i386/6.2
system-config-users.noarch         1.2.106-5.el6       @anaconda-RedHatEnterpriseLinux-201111171035.i386/6.2
system-config-users-docs.noarch    1.0.8-1.el6         @anaconda-RedHatEnterpriseLinux-201111171035.i386/6.2
Available Packages
system-config-date.noarch          1.9.60-1.el6.centos base                     
system-config-kickstart.noarch     2.8.6.4-1.el6       base                     
system-config-language.noarch      1.3.4-5.el6         base                     
system-config-lvm.noarch           1.1.12-9.el6        base                     
system-config-printer.i686         1.1.16-22.el6       base                     
system-config-printer-libs.i686    1.1.16-22.el6       base                     
system-config-printer-udev.i686    1.1.16-22.el6       base     

but i could not find system-config-samba package? :-(

User avatar
vonskippy
Posts: 839
Joined: 2006/12/30 03:00:04
Location: Western Slope Colorado

Re: How to configure Samba using a graphical interface in rhel 6?

Postby vonskippy » 2012/04/16 07:18:20

Here, let me Google that for you....

http://lmgtfy.com/?q=site%3Acentos.org+ ... nfig-samba

zjhxmjl
Posts: 52
Joined: 2012/04/11 11:35:08
Location: china
Contact:

Re: How to configure Samba using a graphical interface in rhel 6?

Postby zjhxmjl » 2012/04/16 13:19:44

vonskippy wrote:
Here, let me Google that for you....

http://lmgtfy.com/?q=site%3Acentos.org+ ... nfig-samba


May I ask how to do this, just like you do?
let me google that for you
Thank you!

User avatar
vonskippy
Posts: 839
Joined: 2006/12/30 03:00:04
Location: Western Slope Colorado

Re: How to configure Samba using a graphical interface in rhel 6?

Postby vonskippy » 2012/04/16 17:44:16

www.lmgtfy.com is the front end website that creates the animated graphic.

using the site:centos.org "search term" is a built in feature of Google that limits the results to just the "site" that you specify.

As to a gui front end for samba - look at webmin, it has a good samba module.

zjhxmjl
Posts: 52
Joined: 2012/04/11 11:35:08
Location: china
Contact:

Re: How to configure Samba using a graphical interface in rhel 6?

Postby zjhxmjl » 2012/04/17 05:13:22

thank you!

pschaff
Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America
Contact:

[RESOLVED] How to configure Samba using a graphical interfac

Postby pschaff » 2012/04/17 20:27:34

Does that resolve your issue?

zjhxmjl
Posts: 52
Joined: 2012/04/11 11:35:08
Location: china
Contact:

Re: How to configure Samba using a graphical interface in rhel 6?

Postby zjhxmjl » 2012/04/19 00:45:40

pschaff wrote:
Does that resolve your issue?


Unfortunately I was not able to solve this problem! :-(

pschaff
Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America
Contact:

Re: How to configure Samba using a graphical interface in rhel 6?

Postby pschaff » 2012/04/19 13:59:18

Either the site search shown earlier, or a forum search using the bar at the top of the page should have turned up posts such as this one explaining the background, and suggesting alternatives. If you really want system-config-samba then try rebuilding a Fedora SRPM.

Welsh
Posts: 2
Joined: 2011/09/13 22:02:12

Re: How to configure Samba using a graphical interface in rhel 6?

Postby Welsh » 2012/07/10 20:05:26

Because google passed me to another post which passed me to this post and I followed the links provided I got the GUI installed on CentOS 6.2 and figured I would share. Instructions are below.

Note: I did all the SRPM Rebuilding as a unprivileged user (regular login) to avoid messing things up, which is what the CentOS Wiki says to do with good reason.

Installed Samba + All Dependencies required to rebuild Source RPM's:

Code: Select all

sudo yum install samba rpm-build redhat-rpm-config gcc make python-devel gettext intltool

Then I Setup the Environment for Source RPM Building:

Code: Select all

mkdir -p ~/rpmbuild/{BUILD,RPMS,SOURCES,SPECS,SRPMS}
echo '%_topdir %(echo $HOME)/rpmbuild' > ~/.rpmmacros

Then I fetched the Source RPM's from the Fedora 14 Source RPM Archive:

Code: Select all

cd /tmp/
wget http://archives.fedoraproject.org/pub/archive/fedora/linux/releases/14/Everything/source/SRPMS/system-config-samba-1.2.90-1.fc14.src.rpm
wget http://archives.fedoraproject.org/pub/archive/fedora/linux/releases/14/Everything/source/SRPMS/system-config-samba-docs-1.0.9-1.fc14.src.rpm

Then I built each one:

Code: Select all

rpmbuild --rebuild /tmp/system-config-samba-1.2.90-1.fc14.src.rpm
rpmbuild --rebuild /tmp/system-config-samba-docs-1.0.9-1.fc14.src.rpm

Which then I installed them together since they are dependent upon each other:

Code: Select all

cd ~/rpmbuild/RPMS/noarch/
sudo rpm -Uvh system-config-samba-1.2.90-1.el6.noarch.rpm system-config-samba-docs-1.0.9-1.el6.noarch.rpm

Which from the System > Administration > Samba link yielded:

[img]http://i.imgur.com/nWrLj.png[/img]

I hope this helps people who are looking to do this, the downside of this is that should you want to update the Samba GUI you need to again, go find the SRPM, rebuild and then update.

Links:
Setting up Environment for SRPM Building
Rebuilding Source RPM's
Fedora 14 Source RPM Archive

phzar
Posts: 5
Joined: 2012/06/16 08:45:31

Re: How to configure Samba using a graphical interface in rhel 6?

Postby phzar » 2012/07/13 14:32:23

hey guys, sorry to revive an old thread but i've been trying to solve this issue for the past 3-4 hours! I'm about to go insane! any help would be much appreciated :)

I've been trying to get system-config-samba working on my centos 6.2 machine, no luck so far keep getting errors, the closest i got was this last guide here, but this is the errors i get.

[img]http://i.imgur.com/U4A25.png[/img]

Thanks for any help :)


Return to “CentOS 6 - General Support”

Who is online

Users browsing this forum: Bing [Bot] and 1 guest