OpenTsdb的eclipse配置与 linux安装

不容易啊,笔记如下备忘

编译期:MainClass:com.google.gwt.dev.CompilerArguments:-war staticroot QueryUi,其中staticroot是编译后的静态文件的存放目录;QueryUi是QueryUi.gwt.xml的名字,必须放在src目录下。Eclipse的debug configuration中的classpath中必须包括src目录,因为compiler需要有源代码。QueryUi.gwt.xml的内容如下:<?xml version="1.0" encoding="UTF-8"?><module><inherits name="com.google.gwt.user.User"/><inherits name="com.google.gwt.user.theme.standard.Standard"/><inherits name="com.google.gwt.http.HTTP"/><inherits name="com.google.gwt.json.JSON"/><entry-point class="tsd.client.QueryUi"/><source path="tsd"/></module>其中,tsd.client.QueryUi是类全名。类全名中必须有client。开发期Eclipse运行:MainClass:net.opentsdb.tools.TSDMainArguments:–port=4242–staticroot=staticroot/QueryUi–cachedir=cachedir–zkquorum=192.168

Linux安装:

1)update autoconf和 automake#whereis autoconf #查看autoconf的路径#rpm -qf /usr/bin/autoconf #查看autoconf的版本#rpm -e –nodeps autoconf-2.59-12 #卸载原来版本#tar -zxf autoconf-2.65.tar.gz#cd autoconf-2.65#./configure –prefix=/usr#make && make install#rpm -qf /usr/bin/autoconf#rpm -qa | grep autoconf#/usr/bin/autoconf –help#/usr/bin/autoconf -V #查看是否安装成功autoconf/automake2)install gnuplottar zxvf…../configuremakesudo make install3)修改opentsdb/configure.ac的27行 #AC_PROG_MKDIR_P修改Makefile.am文件327行 #echo unknown >$@修改opentsdb\third_party/下的jar包先放到对应的目录4)chmod 777 ./chmod 777 ./build-auxchmod 777 ./src/*.sh //gnuplotsudo ./build.sh5) sudo make install6)sudo ./build/tsdb tsd –port=4242 –staticroot=build/staticroot–cachedir=build/cachedir –zkquorum=192.168

然后拍一些美得想哭的照片,留给老年的自己。

OpenTsdb的eclipse配置与 linux安装

相关文章:

你感兴趣的文章:

标签云: