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

Comment upgrader un host ESXi en ligne de commande


La procédure est très simple … mais très mal expliquée sur le site de Vmware ! Il faut tout d’abord se connecter en SSH sur le host ESXi à upgrader. La première opération consiste à autoriser le traffic sortant au niveau du firewall esxcli network firewall ruleset set -e true -r httpClient Il faut ensuite obtenir la […]

12 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

Relevé des tutoriaux pour abandonner mod_php sur Ubuntu 14.04

Apache, php, sysadmin, Ubuntu, Web + General explanation + Explain suexec is no longer mandatory – Not Ubuntu specific Easiest working ! (complement to previous one to simplify the config and use Unix socket instead of TCP socket on Ubuntu 14.04) + Ubuntu 14.04 + Adapted for Apache 2.4 + use mod_proxy_fcgi + Explain […]

20 août 2014