Blogpost archive
This is a list of all my blogposts. They range from highly technical to entry level, from Linux to PHP and server management.
2014-04
2014-03
2013-06
2013-05
2013-04
2012-08
2012-07
2012-06
- Running php-cgi scripts via the CLI as a webserver would (by faking them)
- How to install and use the EPEL repository for CentOS 5 and CentOS 6
- Puppet + Razor: pxe boot failing to load with ‘Operating system not found’
- MySQL: SHOW FUNCTION STATUS WHERE Db = ‘name’: Cannot load from mysql.proc. The table is probably corrupted
- Install VMware Tools via the Yum Package Manager on RHEL and CentOS
- Dependency errors for git installs on CentOS with EPEL repo
- The insanity of URL shorteners and tracking
- Dependency fail on php-api when installing php-mcrypt or php-mhash from EPEL on CentOS 6
- How to change the reserved blocks on EXT3 or EXT4 filesystem in Linux
- Apache + PHP on Ubuntu: apache2filter does not support gzip
2012-05
2012-04
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)