Difference between revisions of "AD Samba4"

From Stadm
Jump to navigationJump to search
Line 7: Line 7:
 
*manually edit network-scipts
 
*manually edit network-scipts
 
  cd /etc/sysconfig/network-scripts/
 
  cd /etc/sysconfig/network-scripts/
  vim ifcfg-eth0
+
  vi ifcfg-eth0
 
*Make sure these options are included
 
*Make sure these options are included
 
  DEVICE=eth0
 
  DEVICE=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 network-scipts
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