Changes between Version 8 and Version 9 of jazz/12-10-04


Ignore:
Timestamp:
Oct 4, 2012, 10:48:33 PM (12 years ago)
Author:
jazz
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • jazz/12-10-04

    v8 v9  
    5555jazz@precise:~/thrift-0.8.0/hbase_thrift_src$ thrift --gen php Hbase.thrift
    5656}}}
     57 7. 建立 HBase 的 Thrift PHP 目錄
     58{{{
     59jazz@precise:~/thrift-0.8.0/hbase_thrift_src$ sudo mkdir -p /var/www/hbase
     60jazz@precise:~/thrift-0.8.0/hbase_thrift_src$ sudo cp -r ~/thrift-0.8.0/lib/php/src /var/www/hbase/thrift
     61jazz@precise:~/thrift-0.8.0/hbase_thrift_src$ sudo chown -R $USER:$USER /var/www/hbase/
     62jazz@precise:~/thrift-0.8.0/hbase_thrift_src$ mkdir -p /var/www/hbase/thrift/packages
     63jazz@precise:~/thrift-0.8.0/hbase_thrift_src$ cp -r gen-php/* /var/www/hbase/thrift/packages/
     64}}}
     65 8. 測試
     66{{{
     67jazz@precise:~/thrift-0.8.0/hbase_thrift_src$ cp /opt/hbase/src/examples/thrift/DemoClient.php /var/www/hbase/DemoClient.php
     68jazz@precise:~/thrift-0.8.0/hbase_thrift_src$ /opt/hbase/bin/hbase-daemon.sh start thrift -nonblocking
     69}}}