Blog archive by Mattias Geniar
This is a list of all my blogposts. They range from highly technical to entry level, from Linux to PHP and server management.
2012-03
- Importing the Puppet Learning VM into VirtualBox: unknown resource type in hardware item
- Bad ORM is infinitely worse than bad SQL
- Nginx and php-fpm: upstream timed out / failed (110: Connection timed out or reset by peer) while reading
- PHP execution via passthru(), exec(), shell_exec(), …: sh: /php: No such file or directory
- Rescan disk devices on a Linux VMware virtual machine without a reboot
- What are the ‘encrypted_search_terms’ hits on your website/wordpress blog?
- OpenVZ: vzctl enter gives “Unable to open pty: No such file or directory”
- yum update on OpenVZ container: error: cannot open Packages database in /%{_dbpath}
- Enable IPv6 connectivity for Nginx
- Remove a single mail from the postfix queue on Linux
2012-02
- Xapian Bindings 1.2.7/8 in PHP: undefined symbol: zend_error_noreturn in Unknown on line
- SSH logins or rsync’s without using a password prompt
- Using ssh-copy-id on an alternative SSH destination port
- Incoming bandwidth limitation on OpenVZ with CentOS 6.x running on VMware ESX(i)
- Installing VMware Tools on a Debian 6 Linux Virtual Machine
- Checking the version of VMware Tools inside a Linux Virtual Machine on ESX(i)
- Removing a package without its dependencies in CentOS or RHEL
- On removing users with %postun in RPM SPEC files
- Nginx: password protect a directory
- The hidden images within PHP
- Changing interface back to eth0 from eth1 in Linux (CentOS/RHEL)
- Setting up a catch-all e-mail account on Linux using Postfix
- Hide PHP errors and log them to a file or syslog (php-fpm or mod_php)
- A vim configuration for the PHP developer
- PHP: php_value vs php_admin_value and the use of php_flag explained
- Letting memcached only listen on localhost on CentOS/RHEL
- Enable syntax highlighting in VIM for PHP-FPM configurations
- The bugged sysinfo() call in OpenVZ hosts running Kernel 2.6.32+
- Blocking Googlebot/MSNbot/Bingbot in Apache configuration from accessing your server/site
- Add ‘Options FollowSymLinks’ and avoid ‘Options SymLinksIfOwnerMatch’ in Apache to save disk I/O
- Avoid ‘AllowOverride All’ in Apache to limit disk I/O access
- RHEL 6/ CentOS 6: Slow SSH logins with DNS timeouts
- The infamous /w00tw00t.at.ISC.SANS.DFind GET requests in your access logs
2012-01
2011-12
- 2011: An overview of projects & popular blogposts
- Ubuntu 9.10 with VMware Convertor: GrubInstaller failed – /vmware-updateGrub.sh: 38: grub: not found
- Plesk & DrWeb: “read error” on e-mails being scanned
- Porting standard Apache’s mod_rewrite rules to Nginx
- Enabling and disabling PHP’s APC cache on a per Virtual Host level in Apache
- Apache Access Log: don’t log static content
- Nginx Access Log: log the real user’s IP instead of the proxy
- Plesk: passing the authorization headers in PHP when running with FastCGI/mod_fcgid
- Zabbix: monitor a TCP port with the Zabbix Agent
2011-11
- Ground rules for when compiling applications from source
- Varnish running in foreground but fails to run as service/daemon
- Varnish: filter by Source IP using Varnishlog (in Varnish 2.x, 3.x and 4.x)
- Varnish: varnishhist/varnishtop: error while loading shared libraries: libvarnishapi.so.1: cannot open shared object file
- Nginx returning blank white page on PHP parsed with FastCGI or PHP-FPM
- RHEL6 and CentOS 6: missing libmcrypt and libmhash in default repository
- Fixing MySQL master-slave replication upon query error
- MySQL purge the binary logs from replication (mysql-bin.xxxx files)
- Plesk: show all FTP accounts and passwords
- Plesk: listing all the database account info (dbname/username/password)
- Plesk: listing all the mailbox account info (username/password)
- VMWare ESXi 4.1 Update 2: warning: syslog not configured
- Changing the time and timezone settings on CentOS or RHEL
2011-09
2011-08
- This is what Open Source is about: Mobile Zabbix used on Hospital Ship
- Post-it wars at the office: Mario & Princess Peach
- 4 days without an iPhone
- Plesk: Unable to validate password policy: (1753) There are no more endpoints available from the endpoint mapper.
- Pukkelpop: overzicht van de chaos
- Find in Bash scripting: paths must precede expression
- Postfix in Plesk: Out: 451 4.3.0 Error: queue file write error
2011-07
- Latest tool: QuickDiff – visually showing the differences between text
- MySQL: table is read-only
- Windows Virtuozzo: unable to copy registry key on container start
- Installing the PECL/PEAR mailparse module for PHP on CentOS
- Finished a draft Varnish 3.0 VCL for Fork CMS
- Checking for MySQL optimizations via scripts
2011-06
2011-05
2011-04
- Getting verbose debug info on nss_ldap in CentOS (LDAP)
- Amazon EC² downtime: a collection of horror stories
- Guide: running NginX 1.0 with PHP-FPM 5.3 on CentOS 5.x
- Using Perl regex for faster grep
- WikiLeaks Mirror Hosting Page now offline
- Linux: preserving color output on match when piping grep to more/less
2011-03
- How is facebook tracking our (outgoing) URLs?
- Rebuilding your RPM package database: fixing RPM/yum problems
- My “Real Security in a Virtual Environment” Presentation
- Recovering from a DRBD split-brain scenario in heartbeat
- The “SHOW PROCESSLIST;” equivalent in Microsoft SQL-Server
- VMWare Converter: vmodl.MethodFault (CloneVolume Error)
- Firefox extension: the 'Shortlink Revealer' (bit.ly exposer – Proof of Concept)
- Getting started with Git: linkpost
- CentOS, Git & http-push unavailable (git not compiled with USE_CURL_MULTI)
- Profiling: Learning from Engadget's infrastructure on traffic spike handling (ie: iPad2 launch)