Ubuntu dpkg Error

If you run a recent vintage of Ubuntu, you may encounter the following dpkg error when you’re trying to update or install packages. This is usually caused by Ubuntu simultaneously running another instance of the package manager, often on system startup. Still, it can be annoying when you’re trying to update your system. So you […]

Read More

Stop xmlrpc.php Attacks

Summary: how to diagnose and eliminate the xmlrpc.php WordPress exploit when it’s clobbering your web server. You’ve been running a public Ubuntu 12+ and Apache/LAMP web server for a while now. Until recently everything has worked fine, but suddenly your server is struggling to display even static pages. Sometimes content takes forever to load, and […]

Read More

wget and cURL

wget wget is a GNU utility for retrieving files over the web using the popular internet transfer protocols (HTTP, HTTPS, FTP). It’s useful either for obtaining individual files or mirroring entire web sites, as it can convert absolute links in downloaded documents to relative links. The GNU wget manual is the definitive resource. Some Useful […]

Read More

sed and awk

sed and awk are two powerful but often overlooked data processing tools, and if you know how to use them effectively you’ll be well ahead of many sysadmins and developers. sed sed is an in-place stream editor, that is, it accepts input from a file or STDIN, manipulates the data stream in some way, and […]

Read More

grep

grep is a useful utility that finds fixed strings or patterns of text in a given file or standard input. Used in conjunction with error logs or debugger output, grep can help a programmer identify errors in an application code base or filesystem; to help with this, grep understands regular expressions, what it calls “extended” […]

Read More