CentOS Samba 4 - Active Directory Domain Controller
原文转载自http://www.alexwyn.com/computer-tips/centos-samba4-active-directory-domain-controller
首先安装cent os 6.4 x86 minimal 最简版
重启之后运行yum -y update 更新组件。
由于 第一次吃了python的亏,由于 python版本太低(2.3.3 )无法安装samba4。
所以重新安装一个cent 6.4来进行安装
更新完之后就是安装必须的组件了
运行
yum install glibc glibc-devel gcc python* libacl-devel krb5-workstation krb5-libs pam_krb5
漫长的更新之后,运行一下 python -V 显示是2.6.6 应该足够了。
rpm -qa | grep samba 检查一下是否有旧版SAMBA,结果空,下面继续
如果存在samba则运行
yum remove samba-winbind-client samba-common samba-client
现在安装git-core
yum install git-core
从git-hub克隆下载samba4
git clone git://git.samba.org/samba.git samba-master
重启系统
shutdown -r now
安装samba4
yum -y install make 确认已经安装了make
cd samba-master ./configure --enable-debug --enable-selftest make
转载于:https://blog.51cto.com/okacn/1334374