Difference between revisions of "AD Samba4"
From Stadm
Jump to navigationJump to search| Line 2: | Line 2: | ||
=Samba 4 Active Directory DC= | =Samba 4 Active Directory DC= | ||
| − | *Install a minimal install of CentOS | + | *Install a minimal install of CentOS |
| + | *change the hostname | ||
| + | hostname sambatest | ||
| + | *manually edit network-scipts | ||
| + | cd /etc/sysconfig/network-scripts/ | ||
| + | vim ifcfg-eth0 | ||
| + | *Make sure these options are included | ||
| + | DEVICE=eth0 | ||
| + | HWADDR=**:**:**:**:**:** | ||
| + | TYPE=ETHERNET | ||
| + | ONBOOT=yes | ||
| + | NM_CONTROLLED=yes | ||
| + | BOOTPROTO=dhcp | ||
| + | *restart the network | ||
| + | service network restart | ||
| + | *run yum update | ||
*install vim or an editor of your choice, vi comes included with minimal | *install vim or an editor of your choice, vi comes included with minimal | ||
*SELinux must be disabled: | *SELinux must be disabled: | ||
vim /etc/sysconfig/selinux | vim /etc/sysconfig/selinux | ||
*change "SELINUX=enforcing" to "SELINUX=disabled" | *change "SELINUX=enforcing" to "SELINUX=disabled" | ||
| + | *restart the computer | ||
| + | shutdown -r now | ||
Revision as of 14:11, 25 July 2013
Samba 4 Active Directory DC
- Install a minimal install of CentOS
- change the hostname
hostname sambatest
- manually edit network-scipts
cd /etc/sysconfig/network-scripts/ vim ifcfg-eth0
- Make sure these options are included
DEVICE=eth0 HWADDR=**:**:**:**:**:** TYPE=ETHERNET ONBOOT=yes NM_CONTROLLED=yes BOOTPROTO=dhcp
- restart the network
service network restart
- run yum update
- install vim or an editor of your choice, vi comes included with minimal
- SELinux must be disabled:
vim /etc/sysconfig/selinux
- change "SELINUX=enforcing" to "SELINUX=disabled"
- restart the computer
shutdown -r now