Monthly Archives:: mars 2013

Diagnose a slow linux box: cheat sheet

Posted by & filed under Informatique, Linux.

Disk Space: df -h Make sure you have enough disk space Memory /Processes / Load average htop top (shift + m) free -m Use Htop Check for processes that are taking up a lot of memory/CPU and Check you’re not out of memory Apache errors grep 500 /var/log/apache2/error.log | less Look for 500 errors caused […]

Pythonbrew on RHEL5

Posted by & filed under Informatique, Linux.

yum install binutils gcc gcc-c++ make patch libgomp glibc-headers glibc-devel kernel-headers kernel-devel bison flex yum install openssl-devel zlib-devel mkdir -p /root/pythonbrew export PYTHONBREW_ROOT=/root/pythonbrew curl -kLO chmod +x pythonbrewinstall ./pythonbrewinstall pythonbrew install 2.7.3 pythonbrew switch 2.7.3

Cisco ASA: Authorize administrative access via Active Directory LDAP

Posted by & filed under Informatique, Sécurité.

The attribute map which bind our group of allowed administrators to a Service Type which allow logins: ldap attribute-map LDAP_MemberOf_ServiceType map-name  memberOf IETF-Radius-Service-Type map-value memberOf CN=G_ADMIN_SECU,OU=Groupes,DC=TEST,DC=secu 6 The Active Directory Servers. I use SSL so be sure to import the root certificate from the Active Directory to make it works. aaa-server TEST.SECU protocol ldap aaa-server […]