[Resolved] WordPress down after auto upgrade — WP-SpamShield 1.9.9.8.6 and before

If you recently auto upgrade your WordPress website, it is possible that you are not able to visit your. Chances are, you ran into an issue caused by a builtin module - WP-SpamShield: https://wordpress.org/support/topic/auto-updated-and-broke-many-sites/. Steps to debug this (Linux/Unix + httpd2): 1. Check your system log: /var/logs/apache2/error.log. You may found some logs like: [Wed Feb … Continue reading [Resolved] WordPress down after auto upgrade — WP-SpamShield 1.9.9.8.6 and before

Ubuntu system toolbox

//Create partitions: fdisk parted select <device_name> mkpartfs PART-TYPE FS-TYPE START END //Create file block, erase data, create swap: lsblk blkid //List all block storage/ids xinput --list --short //Check port usage: netstat -l //Check all installed packages: dpkg --get-selections //Check all path for a package: dpkg -L

Protect your server from ssh password brute forcing

The Story I have been seeing some hackers out there trying to hack into my AWS instance. Fortunately, AWS did a very good job on securing your EC2 instance. To access your instance you need to use the private key(.pem) associated with your instance. So the only thing you need is to make sure you … Continue reading Protect your server from ssh password brute forcing

PLSQL package best practice (fast changing schema)

I has been using PLSQL to build storage procedures in my daily work for a while. Here are some lessons I have learned in our code that could have saved me some trouble in the future. Be careful where you commit your changes to data. Create a separated script for schema changes. Easier to track changes. Use … Continue reading PLSQL package best practice (fast changing schema)