摘要: 3個非常有用的指令1. whereis 找到程式安裝的目錄語法如下:whereis <關鍵字>例如:whereis java執行結果範例如下:[vl77@STIMCAS01 dse-2.1]$ whereis javajava: /usr/bin/java2. updatedbhttp://linux.vbird.org/linux_basic/0220filemanager.php#locate手動更新locate 資料庫3. locate語法如下:locate <關鍵字>例如:locate Cassandra執行結果範例如下:[vl77@STIMCAS01 dse- 阅读全文
posted @ 2013-01-08 17:12 Vincent Lee 阅读(327) 评论(0) 推荐(0) 编辑
摘要: 在Cassandra安裝 python 的 stress test tool 真的是有夠麻煩,把步驟寫起來免得忘記。1. 安裝boost C 函式庫2. 安裝Thrift3. 產生python語言連接Cassandra 的 Interfacesudo thrift --gen py /usr/local/dse-2.1/interface/cassandra.thrift會出現 gen-py的 folder如下:[vl77@STIMCAS01 interface]$ lscassandra.thrift common.thrift dse.thrift gen-py hdfs.thri... 阅读全文
posted @ 2013-01-08 11:54 Vincent Lee 阅读(416) 评论(0) 推荐(0) 编辑