This article details how to install and use rkhunter, the Rootkit Hunter anti-rootkit utility, on Ubuntu Server 16.04. Install and Update rkhunter Run a Scan If you don’t want to see all the checks, you can print only the warnings and positives instead: Interpreting the Results In this case, /usr/bin/wp is an installation of WP-CLI. […]
Month: November 2016
Bash: Make a Web Site Index
An old Bash script that uses awk to construct an index with hyperlinks from the .html files in a web tree. Attempts to use the <title> tag to name each link. To use, change your directories in the ‘for dir’ line to the directories you want to scan, then run the script: ./myscript.sh > myfile.html.
Using ufw on Ubuntu
ufw, or the Uncomplicated Firewall, is a convenient front end for managing iptables on your Ubuntu server. This article provides a brief tutorial on some of the most commonly used commands. ufw is available in Ubuntu from the 8.04 release onward, and the commands here should apply to any current version. Viewing the ufw Status […]
Ubuntu 16.04 Mail Server Updates
My previous instructions for setting up a Postfix/Dovecot/MySQL mail server on Ubuntu 12.04 work mostly as-is for Ubuntu 16.04, but there are a couple of gotchas. These workarounds are necessary due to some different locations of utilities on the filesystem and some changes to Ubuntu’s internals. We’ll go through these differences one by one. Mail […]
Install WP-CLI
The wp-cli command-line utility allows you to manage your WordPress sites without going through the WordPress dashboard, much like Drush does for Drupal. To install Composer and wp-cli on Ubuntu 16.04: Install Composer (I’d recommend not doing this as root.) Install wp-cli This installs wp-cli to $HOME/.config/composer/vendor/wp-cli/wp-cli/bin/wp To make things easier on yourself, symlink it: