Setting up WordPress

The following instructions describe how I install WordPress on Ubuntu. The instructions may differ slightly for other server environments, but the basic principles should be the same. This requires shell access to the server, but once it’s finished the WordPress instance(s) should be capable of being administered through a web browser. Part 1 – Installing … Read more

Ubuntu upgrade bug

Fix for a bug where updating software fails to work. First, kill any instance of appstreamcli. Then do the following: cd /tmp && mkdir asfix cd asfix wget https://launchpad.net/ubuntu/+archive/primary/+files/appstream_0.9.4-1ubuntu1_amd64.deb wget https://launchpad.net/ubuntu/+archive/primary/+files/libappstream3_0.9.4-1ubuntu1_amd64.deb sudo dpkg -i *.deb See https://bugs.launchpad.net/ubuntu/+source/appstream/+bug/1579712 for more details.

Testing Ubuntu

To download an iso of the latest Ubuntu daily build then go to http://cdimage.ubuntu.com/ubuntu/daily-live/current/. There are also some packages on Ubuntu that make this sort of testing easier: testdrive – run the daily Ubuntu ISO in a virtual machine (meta-package) testdrive-cli – run the daily Ubuntu ISO in a virtual machine (command line) testdrive-common – … Read more

Setting up WordPress multisite

The instructions at http://codex.wordpress.org/Create_A_Network are good, and are mostly enough to get it up and running. There are two more things to do on Ubuntu servers: Enable mod_rewrite by issuing the command a2enmod rewrite in a terminal. Open /etc/apache2/apache2.conf and find the part that says: <Directory /var/www/> Options Indexes FollowSymLinks AllowOverride None Require all granted … Read more

WordPress troubleshooting

I’ve done a fair bit of WordPress troubleshooting over the last few weeks, including moving sites from one server to another and upgrading server operating systems. While a lot of this isn’t probably that interesting, I did come across a few things that might help other people undertaking similar tasks. My method for moving content … Read more

Fixing Ubuntu network issue

If a computer running linux won’t connect to or see wireless networks when it resumes from hibernation, issue the following command: sudo systemctl restart network-manager.service See http://askubuntu.com/questions/761180/wifi-doesnt-work-after-suspend-after-16-04-upgrade for the source.