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 http://search.cpan.org/CPAN/authors/id/M/ME/MEWP/DBD-Sybase-1.15.tar.gz 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


sysadmin

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

https://wiki.apache.org/httpd/PHP-FPM + General explanation + Explain suexec is no longer mandatory – Not Ubuntu specific   http://www.binarytides.com/setup-apache-php-fpm-mod-proxy-fcgi-ubuntu/ Easiest working ! http://float64.uk/blog/2014/08/20/php-fpm-sockets-apache-mod-proxy-fcgi-ubuntu/ (complement to previous one to simplify the config and use Unix socket instead of TCP socket on Ubuntu 14.04)   https://serversforhackers.com/articles/2014/05/05/apache-proxy-fcgi/ + Ubuntu 14.04 + Adapted for Apache 2.4 + use mod_proxy_fcgi + Explain […]

20 août 2014