I missed the fifth two weeks outright and only got a few articles in during the fourth two weeks. Adjusting over to my new job has been difficult. A lack of non political topics really hasn’t helped either.
Continue reading "Fifth Two Weeks Posting Review"I discussed migrating from Google Analytics and Jetpack to Matomo in a previous post. However, I haven’t used it for a significant amount of time. I am finding it very useful.
There are two ways you can self-host Matomo. As a plugin for WordPress or as an independent web application. The WordPress plugin is the most accessible and most straightforward option for analytics on one WordPress installation. However, if you administer more than one website, the dedicated web application is a better option.
The only real difficulty I ran into was getting GeoIP working. That is due primarily to a lack of Debian packages for the correct PHP extension and no clear subheadings for system managed updates of the GeoIP databases.
#Assuming Matomo installed at /var/www/html/matomo
#Assuming geoipupdate places the databases in /usr/share/GeoIP/
cd /var/www/html/matomo/misc/
for DB in `ls /usr/share/GeoIP/*.mmdb`
do
ln -s /usr/share/GeoIP/$DB ./
done
#All .mmdb databases are now linked to the system databases updated by geoipupdate.
–Robert
Continue reading "Matomo: Impressive and Useful"I spent last week working on passing my Life Provider exam for Oklahoma. I have now passed it. It will take another week to get my license but I will be a licensed life insurance agent soon.
Continue reading "Explanation for the Absence."After doing some research on alternative analytics options, I have removed Jetpack. Matomo can do everything Google Analytics and Jetpack can without any data sharing.
Continue reading "Goodbye Jetpack"I use SSH keys to protect all of my SSH logins. The following shell code starts only one ssh-agent and adds all ssh-keys to that agent. I recommend adding it to your ~/.bashrc file, so the proper environment variables are set up.
if [ `ps -C ssh-agent | wc -l` -ne 2 ]; then
ssh-agent -a $HOME/.ssh/agent.sock > $HOME/.ssh/agent.env
source $HOME/.ssh/agent.env
for key in $HOME/.ssh/*.pub; do
pkey=`basename -s .pub $key`
ssh-add $HOME/.ssh/$pkey
done
fi
Continue reading "Automatically Starting Exactly One ssh-agent" For these last two weeks, I have posted eight days out of ten applicable days. I am running out of ideas that don’t involve politics, and training for my new job has impacted my free time. Most of the problem is finding nonpolitical topics.
Continue reading "Third Two Week Posting Challenge Review"Shame on both DELL and AMD for this. It doesn’t improve security and makes ewaste an even bigger problems.
Continue reading "This isn’t A good move."A day or two after I posted my complaint about businesses not training employees, I accept an offer at a company that does train their employees. Yay. I am not sure how it is going to affect my post rate here though.
—Robert
Continue reading "Job Changes"WordPress and several other pieces of web software written in PHP are notorious for using old and broken algorithms for securing passwords. If you are using a PHP version of 5.5 or newer, you should get okay security by default. However, even phpass’ developers recommend not using their software if you can use PHP 5.5 or newer. I strongly suggest installing and enabling the PHP Native password hash plugin, especially if your WordPress install was ever run on any of the PHP 5 family. The plugin’s two most significant advantages are it actually gets updated to include new, more robust algorithms, and it automatically migrates passwords to the newer algorithms on login.
Continue reading "Upgrade WordPress’ Password Hashing"