LinuxQuestions.org
Help answer threads with 0 replies.
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
 
LinkBack Search this Thread
Old 09-28-2011, 02:39 AM   #1
arnold1070
LQ Newbie
 
Registered: Jul 2011
Posts: 16

Rep: Reputation: Disabled
How to use Samba in centos6


Dear All:

I installed the centos6 but couldn't find the samba server. How can I use it?

Thanks
 
Old 09-28-2011, 03:03 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,345

Rep: Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945
if it's not already installed just run "yum install samba"
 
1 members found this post helpful.
Old 09-28-2011, 08:01 AM   #3
arnold1070
LQ Newbie
 
Registered: Jul 2011
Posts: 16

Original Poster
Rep: Reputation: Disabled
Hi Chris:

Thank you very much. One more question. I the geginner of the LINUX user. I had download the postfix-2.8.5.tar.gz. But I don't know how to install in centos5.7. Would you mine step by step to teach me how to install it?

Thank you very much!!

Arnold
 
Old 09-28-2011, 08:18 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,345

Rep: Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945
no, don't install it like that. centos comes with postfix preinstalled in almost all situations. version 2.3.3 but do you really have a requirement to change this?
 
Old 09-28-2011, 10:42 AM   #5
arnold1070
LQ Newbie
 
Registered: Jul 2011
Posts: 16

Original Poster
Rep: Reputation: Disabled
Dear Chris:

I knew the centos6 had built in postfix but the pc's hardware didn't not support install centos6. So I changed to install centos5.7 which is OK. So, I want to install postfix to replace senmail.

Best Regards
Arnold
 
Old 09-28-2011, 10:51 AM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,345

Rep: Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945
oh yeah, el5 does still use sendmail by default. so just run "yum install postfix" and then "rpm -e sendmail", think that should work fine. don't mess about with source builds until you know that you specifically need to.
 
1 members found this post helpful.
Old 10-05-2011, 10:35 PM   #7
arnold1070
LQ Newbie
 
Registered: Jul 2011
Posts: 16

Original Poster
Rep: Reputation: Disabled
Hello Chris:

Thanks for your teaching. Now, I installed the samba in the centos6 through "yum install samba". But I can't find the interface to create user account and the folder path. Do you know how to find the interface. (In centos5.7 the samba user interface had built-in.)

When I installed the system. I used the manual method to creat the /, /boot, swap, /home. Now, I want to formate the spare space and mount the "/data" for the samba users to store their file in "/data". How to format and mount it.

Thanks you very much

Best Regards
Arnold
 
Old 10-06-2011, 12:23 AM   #8
fukawi1
Member
 
Registered: Apr 2009
Location: Melbourne
Distribution: Fedora & CentOS
Posts: 854

Rep: Reputation: 189Reputation: 189
to format and mount it, you will need to create a partition using fdisk or cfdisk or similar, be VERY careful with with device names (sda1 etc), as a simple typo can nuke a partition.. If your not comfortable with this, you can reboot to a live cd, and use gparted or a similar graphical partitioner.

you'll then want to use, mkfs.ext4 (or which ever filesystem type you wish to use)

next up, you'll want to add the new partition into /etc/fstab, so it gets mounted automatically.

then create the directory you specified in fstab, in this case "/data"

run "mount -a" to mount the new filesystem to /data

i STRONGLY recommend reading up on the above commands, so you understand them and how you are using them, and pay close attention to what your doing. mkfs on a mounted filesystem tends do a really efficient job of breaking things.


As for configuring samba, /etc/samba/smb.conf is really well documented. it explains it all there.. I believe there is a web interface for it too, but ive never used it, and cant recall its name..
 
1 members found this post helpful.
Old 10-06-2011, 12:32 AM   #9
arnold1070
LQ Newbie
 
Registered: Jul 2011
Posts: 16

Original Poster
Rep: Reputation: Disabled
Thank you very much!

I'll try it.
 
Old 10-06-2011, 11:04 PM   #10
arnold1070
LQ Newbie
 
Registered: Jul 2011
Posts: 16

Original Poster
Rep: Reputation: Disabled
Hi:

My server had a "LSI" RAID controller CARD which connected 8pcs 2TB HDD with RAID 5. When I installed centos 5.6, I can manually created a 7TB partition for "/home" and 3TB for "/tmp". But when I changed to centos6. The max partition size is only 2TB. I tried to use automatic created partition method with LVM but the max size was also only 2TB. How can I created a 7TB partition in centos6?

Thanks
 
  


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
Building gcc 4.5 on CentOS6 Dan1 Linux - Software 6 10-18-2011 02:28 PM
Best virtualization solution for CentOS6 Elv13 Linux - Virtualization and Cloud 14 08-27-2011 05:20 AM
nvidia Noobs with fedora 12 13 14 15 rhel6 sl6 centos6 dfowensby Fedora 2 08-01-2011 12:44 AM
Install flash_player on Centos6 problem ZebraIzToronto Linux - Distributions 4 07-16-2011 02:18 PM


All times are GMT -5. The time now is 08:27 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