Difference between revisions of "AD Samba4"
From Stadm
Jump to navigationJump to searchLine 5: | Line 5: | ||
*change the hostname | *change the hostname | ||
hostname sambatest | hostname sambatest | ||
− | *manually edit network- | + | *manually edit or add network-scripts if not there |
cd /etc/sysconfig/network-scripts/ | cd /etc/sysconfig/network-scripts/ | ||
vi ifcfg-eth0 | vi ifcfg-eth0 |
Revision as of 14:12, 25 July 2013
Samba 4 Active Directory DC
- Install a minimal install of CentOS
- change the hostname
hostname sambatest
- manually edit or add network-scripts if not there
cd /etc/sysconfig/network-scripts/ vi 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