Monday, 11 July 2011

Dev tools

Git installed from here.  tools at /opt/rfw/bin
Projects below /opt/git show up https://velvet/gitweb/gitweb.cgi

installed graphviz 2.8 and node.js
velvet:~# node -v
v0.4.10-pre
installed redis
velvet:/# redis-server --version
Redis server version 2.2.11 (00000000:0)
and mercurial on ubuntu

Sunday, 10 July 2011

More new nas

installed (via readynas extras..
- php
- phpadmin
- python
- git
installed via apt
- gcc

installed via manual
- Fuskei 0.2.0
cd /usr/local/Fuseki-0.2.0
./fuseki-server --update --mem /dataset

Friday, 8 July 2011

New NAS

 Got this installed...

Model: ReadyNAS Pro 2 [X-RAID2]
Serial: 2K21140D000F5
Firmware: RAIDiator 4.2.17 
Memory: 1024 MB [DDR3]

Disks: SAMSUNG HD204UI [1863 GB]    1858 GB allocated

And Java using these instructions
velvet:~# java -version
java version "1.6.0_24"
Java(TM) SE Runtime Environment (build 1.6.0_24-b07)
Java HotSpot(TM) Client VM (build 19.1-b02, mixed mode, sharing)

fffff

Wednesday, 15 June 2011

calabash and json

  
<p:unescape-markup content-type="application/json"/>
There seem to be two problems:

  1. Leading white space causes failure.
  2. content type may have charset e.g. content-type="application/json;charset="UTF-8"" 
Fix for first is to use nextClean() in place of next() in com.xmlcalabash.util.JSONtoXML.java
  private static void build(TreeWriter tree, JSONTokener jt) {
        tree.addStartElement(_json);

        try {
            char ch = jt.nextClean();
            jt.back();

Wednesday, 1 June 2011

proxy stuff

Goal running fuseki on another server
step 1: set fixed ip for T42= 192.168.1.9
step 2: Set apache config
/etc/frontview/apache/addons/sparqlproxy.conf
LoadModule proxy_module /usr/local/apache2/modules/mod_proxy.so
LoadModule proxy_http_module /usr/local/apache2/modules/mod_proxy_http.so

ProxyRequests Off

 
      Order deny,allow
      Allow from all


ProxyPass /sparql http://192.168.1.9:3030/
ProxyPassReverse /sparql http://192.168.1.9:3030/
More work required, based on this