HowTo: Add CentOS7 machine to Windows AD

Microsoft Active Directory(AD) is widely used in Enterprise for Centralized Authentication, Pushing Security related Policies, etc. Administrator may need to add CentOS7 machines to AD to use same user credentials. This blog will┬áprovide steps to add CentOS7 Linux machine to AD. There are multiple ways to achieve this and it is one of the way.…

Troubleshoot Yum Python grabber.py error in CentOS7

To troubleshoot Yum Python grabber.py error in CentOS7:   In CentOS 7.0, you will get errors for grabber.py while running “yum update” command. Please follow the following steps to resolve this issue till next update. 1. Open /usr/lib/python2.7/site-packages/urlgrabber/grabber.py in preferable editor vi /usr/lib/python2.7/site-packages/urlgrabber/grabber.py 2. Go to line number 1510. Below command is for VI editor…

Change name of Network Interface in CentOS7

1. Open /etc/default/grub vi /etc/default/grub 2. Add net.ifnames=0 biosdevname=0 to GRUB_CMDLINE_LINUX. So final line may look like below: GRUB_CMDLINE_LINUX=”vconsole.keymap=us crashkernel=auto vconsole.font=latarcyrheb-sun16 rhgb quiet net.ifnames=0 biosdevname=0″ 3. grub2-mkconfig -o /boot/grub2/grub.cfg 4. rename /etc/sysconfig/network-scripts/ifcfg-en**** to /etc/syconfig/network-scripts/ifcfg-eth0 5. In ifcfg-eth0 file Change NAME=en*** to NAME=eth0 6. reboot