How to compile Perl module DBD::Sybase on RHEL7/CentOS7

RHEL7, sysadmin

Perl module DBD::Sybase is needed to connect a SQL server from perl scripts. As this module do not exist under RHEL7/CentOS 7, it’s needed to compile Step-by-step guide   Download the latest version on Install the needed RPM’s    Install RPM’s yum install freedts freetds-devel gcc make perl-ExtUtils-CBuilder perl-ExtUtils-MakeMaker  Proceed to preparation   Preparation mkdir […]

15 septembre 2014

How to add RHEL7 server to the AD domain

Active directory, RHEL7, Samba, sysadmin

Deployment Prerequisites Check /etc/hostname is correct and set in FQDN Check your DNS resolution is OK. Check if you can ping internal ressources Check the file /etc/resolv.conf contains : search your_domainnameserver IP_of_your_AD_server If not OK, add this to the file /etc/sysconfig/network-scripts/ifcfg-XXX DNS1=IP_of_your_AD_server Enable the needed repo by editing /etc/yum.repos.d/redhat.repo [rhel-7-server-optional-rpms]enabled = 1 Install following packages : yum clean allyum […]

28 août 2014