CReP: run common code from your petabox tree
to be sure that the Cluster RePublisher is running the code on your petabox tree,
be sure these two php variables are set:
$_SERVER['PETABOX_HOME'] = '/home/giovanni/petabox'; $_SERVER['DOCUMENT_ROOT'] = $_SERVER['PETABOX_HOME'] . '/www/datanode/'; |
gio 11:55 pm on May 17, 2016 Permalink
In /etc/hosts on local machine, map `xxx-gio.archive.org` to datanode’s IP (and that’s a literal `xxx`). Then, thanks to config in `petabox/etc/nginx/archive.conf` which lives on every data node, it should use the code in your vm-home1 home directory.