ARP Content Management System Notes

Software configuration for commodity x86/86_64 linux art research platform.

Prerequisites

Assume Fedora 27. See base document for full software stack.

CMS Setup

Use wordpress packages.

dnf install -y wordpress wordpress-plugin-bad-behavior wordpress-plugin-defaults python3-wordpress-xmlrpc

Configure as per these Fedora-specific notes. Also, read these Centos-7 notes.
Useful background material on WordPress is at the codex.

Recommended, but not essential packages:

dnf install -y php-pecl-imagick php-pecl-ssh2 php-opcache php-pecl-zendopcache php-pecl-apc

Configuration file for webserver-wordpress is: /etc/httpd/conf.d/wordpress.conf
Configuration file for wordpress is: /etc/wordpress/wp-config.php
Wordpress site files are:/usr/share/wordpress

Backup and Migration

To import a pre-existing site, there are a couple of options:

  • import/export via WordPress Admin Tools, may be the only option if not a hosted site
  • stage and backup with a plugin like Duplicator, JetPack, or BackUPup
  • dealing with the archive files that a hosting service provides

For sites that have export files over the default 2M, a bit of tweaking is necessary to import the export file (WXR) in its entirety. First, find out where the active php.ini file is:

php -i | grep "Loaded Configuration File"
Loaded Configuration File => /etc/php.ini

So, edit this file to change the value of upload_max_filesize to 64M and post_max_sizelike so:

 upload_max_filesize = 64M
 post_max_size = 128M

That out of the way, let the migration/backup process continue!

For option 1 above, the simplest import/export via builtin tools:
install the import plugin. See the importing content part of the wordpress codex.

For option 2 above, use the Duplicator plugin. First, install it on the active site by copying the zip file into */public_html/content/plugins. Activate it on the admin page of WordPress, and make an archive by following the on-screen conditions.

The Duplicator plugin requires some server-side capabilities. Make sure that php.ini has the following extensions enabled:

extension=zip.so
extension=mysqli.so

Once everything is working, the Duplicator plugin produces an archive file and a installation.php file. Download these and transfer them to the test site.

About sunglint
----

2 Responses to ARP Content Management System Notes

  1. Pingback: Artistic Research Platform Notes | sunglint

  2. Pingback: Artistic Research Platform Notes – <The Rewind Project>

%d bloggers like this: