Category Archives: HowTo

Quick WP upgrading with WPCLI

This is the easiest way to upgrade WordPress. You’ll execute these commands on the server itself.

Requirements

  • ssh access to your server
  • wp-cli command installed (instructions for installing wp-cli at http://wp-cli.org/)

Install/Upgrade WP CLI

  • wp-cli should be upgraded each time a WordPress installation is upgraded.

Upgrade WP

Prep work

Change into the WP directory

Make a list of active plugins

Update all plugins

Deactivate all of the plugins

Upgrade WordPress

Reactivate all of the previously active plugins.

Check the site in various browsers (make sure cache has been cleared).

Upgrading Omeka and Neatline

A first project at my new job at the Scholar’s Lab at UVA was to update some old Omeka/Neatline sites. I wrote a script to take care of the process now and in the future. https://github.com/mossiso/onus I perhaps went a little overboard and made it pretty robust. I was going to take the opportunity to […]

Atop – Apache Top, for keeping tabs on the web servers

When I first became a systems administrator of a large web server, I wanted to know what the current traffic to all of the virtual hosts (vhosts) looked like. I wanted to see which domains were getting the most traffic and where that traffic was coming from. So began my long search for a sufficient […]

Four Steps to a Personal Website

There are four basic steps to creating a personal website. 1. Content You may want to start out with a cool design, or fun idea on how to interact with visitors, or what have you. But really, the most important thing a website has going for it is the content. Design is a close second […]

Setting up a Hosting Environment, Part 3: RedHat Cluster and GFS2

Previous posts in this series: Part 1: Setting up the servers Part 2: Connecting the Array RedHat Cluster and GFS2 Setup Required reading: https://alteeve.com/w/2-Node_Red_Hat_KVM_Cluster_Tutorial Seriously. Don’t do anything until you read his tutorial a couple of times. Might as well read a bunch of his other tutorials, too. Unless mentioned, the following commands should be […]

If at first you don’t succeed

…copy somebody’s code. Or at least your own from the past that works. I finally got the map to work for my Exhibit exhibit. See.   First I copied the tutorial here. When that was working, I carefully copied it to the file I wanted it to be in and… nothing. Still broken. So next […]

Making Multiple MySQL Instances on One Server

I’m trying this new idea for backing up our production MySQL servers. I have a backup server that basically runs rdiff-backup in the morning across several servers, but then does nothing for the rest of the day. It’s a pretty decent machine, so I’d like to utilize some resources. Replicating a MySQL server is a […]

Backing up MySQL with Replication and Incremental Files – Part 1

I’m trying this new idea for backing up our production MySQL servers. I have a backup server that basically runs rdiff-backup in the morning across several servers, but then does nothing for the rest of the day. It’s a pretty decent machine, so I’d like to utilize some resources. Databases are a tough cookie to […]