博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
about LinkedIn glu
阅读量:7113 次
发布时间:2019-06-28

本文共 4555 字,大约阅读时间需要 15 分钟。

  hot3.png

最近在预研自动化部署方面的可行性,计划从开源框架中先熟悉一下其他公司是如何实现,偶然发现了GLU,尝试搭建了一下,安装过程中出现了一些问题,作为备忘记录如下:

一、安装环境

os:Solaris 10 5/08 s10x_u5wos_10 X86

bash:GNU bash, version 4.2.0(1)-release (i386-pc-solaris2.10)

JDK:java version "1.6.0_43"

二、安装过程与问题解决

1)解压文件

tar -xvf org.linkedin.glu.packaging-all-4.7.1.tar
  错误信息:

x org.linkedin.glu.packaging-all-4.7.1/setup/org.linkedin.zookeeper-cli-1.5.1/lib/netty-3.2.2.Final.ja, 785556 bytes, 1535 tape blockstar: ././@LongLink: typeflag 'L' not recognized, converting to regular filex ././@LongLink, 113 bytes, 1 tape blocksx org.linkedin.glu.packaging-all-4.7.1/setup/org.linkedin.zookeeper-cli-1.5.1/lib/org.linkedin.util-co, 153424 bytes, 300 tape blockstar: ././@LongLink: typeflag 'L' not recognized, converting to regular filex ././@LongLink, 115 bytes, 1 tape blocksx org.linkedin.glu.packaging-all-4.7.1/setup/org.linkedin.zookeeper-cli-1.5.1/lib/org.linkedin.util-gr, 306492 bytes, 599 tape blockstar: ././@LongLink: typeflag 'L' not recognized, converting to regular filex ././@LongLink, 122 bytes, 1 tape blocksx org.linkedin.glu.packaging-all-4.7.1/setup/org.linkedin.zookeeper-cli-1.5.1/lib/org.linkedin.zookeep, 67900 bytes, 133 tape blockstar: ././@LongLink: typeflag 'L' not recognized, converting to regular filex ././@LongLink, 118 bytes, 1 tape blocksx org.linkedin.glu.packaging-all-4.7.1/setup/org.linkedin.zookeeper-cli-1.5.1/lib/org.linkedin.zookeep, 52832 bytes, 104 tape blocksx org.linkedin.glu.packaging-all-4.7.1/setup/org.linkedin.zookeeper-cli-1.5.1/lib/slf4j-api-1.6.2.jar, 25689 bytes, 51 tape blockstar: ././@LongLink: typeflag 'L' not recognized, converting to regular filex ././@LongLink, 104 bytes, 1 tape blocksx org.linkedin.glu.packaging-all-4.7.1/setup/org.linkedin.zookeeper-cli-1.5.1/lib/slf4j-log4j12-1.6.2., 9752 bytes, 20 tape blocksx org.linkedin.glu.packaging-all-4.7.1/setup/org.linkedin.zookeeper-cli-1.5.1/lib/zookeeper-3.4.5.jar, 779974 bytes, 1524 tape blocksx org.linkedin.glu.packaging-all-4.7.1/setup/zookeeper-config/agent.keystore, 2196 bytes, 5 tape blocksx org.linkedin.glu.packaging-all-4.7.1/setup/zookeeper-config/config.properties, 1311 bytes, 3 tape blocksx org.linkedin.glu.packaging-all-4.7.1/setup/zookeeper-config/console.truststore, 906 bytes, 2 tape blocks
  解决方式

/usr/sfw/bin/gtar -xvf org.linkedin.glu.packaging-all-4.7.1.tar
2)setup

  安装GLU

bash-4.2$ ./tutorial.sh setup
  错误信息:
### Suitable JVM found under /usr/jdk/jdk1.6.0_43### Starting ZooKeeper...JMX enabled by defaultUsing config: ./bin/../conf/zoo.cfgStarting zookeeper ... STARTED### Setting up keys and agent configuration.../org/glu/agents/fabrics/glu-dev-1/config/config.properties - OVERWRITING/org/glu/agents/fabrics/glu-dev-1/config/agent.keystore - OVERWRITING/org/glu/agents/fabrics/glu-dev-1/config/console.truststore - OVERWRITING### Setting agent-1 in glu-dev-1.../org/glu/agents/names/agent-1/fabric - OVERWRITING### Stopping ZooKeeper...JMX enabled by defaultUsing config: ./bin/../conf/zoo.cfgStopping zookeeper ... ./bin/zkServer.sh: line 83: kill: (12148) - No such processSTOPPED### Initializing Console...Setting up jetty...tar: z: unknown function modifierUsage: tar {c|r|t|u|x}[BDeEFhilmnopPqTvw@[0-7]][bfk][X...] [blocksize] [tarfile] [size] [exclude-file...] {file | -I include-file | -C directory file}...cp: /export/home/liuli/glu/org.linkedin.glu.packaging-all-4.7.1/console-server/jetty-distribution-8.1.10.v20130312/contexts not foundtouch: /export/home/liuli/glu/org.linkedin.glu.packaging-all-4.7.1/console-server/jetty-distribution-8.1.10.v20130312/logs/console.log cannot createchmod: WARNING: can't access /export/home/liuli/glu/org.linkedin.glu.packaging-all-4.7.1/console-server/jetty-distribution-8.1.10.v20130312/bin/*.sh./bin/consolectl.sh: line 64: /export/home/liuli/glu/org.linkedin.glu.packaging-all-4.7.1/console-server/jetty-distribution-8.1.10.v20130312/bin/jetty.sh: No such file or directory### Done.

解决方式:

修改consolectl.sh文件

.......tar -zxf $BASEDIR/glu/repository/tgzs/jetty-distribution-8.1.10.v20130312.tar.gz......修改成......gzip -d $BASEDIR/glu/repository/tgzs/jetty-distribution-8.1.10.v20130312.tar.gztar -xf $BASEDIR/glu/repository/tgzs/jetty-distribution-8.1.10.v20130312.tar
再次执行setup成功。

3)启动GLU

./tutorial.sh start
4)web url

启动后可通过http://localhost:8080/console进入GLU web 页面,默认用户admin/admin

5)监控日志

./tutorial.sh tail
6)停止GLU
./tutorial.sh stop

7)tutorial help

### Suitable JVM found under /usr/jdk/jdk1.6.0_43   Usage:  tutorial.sh start|stop|status|tail

8)local docs(本地doc地址)

URI:IP:8080/glu/docs/html/tutorial.html

转载于:https://my.oschina.net/jinp/blog/199923

你可能感兴趣的文章
CCNP学习之路之第一条冗余协议first-hop redundancy protocol(HSRP、VRRP、GLBP)
查看>>
配置安装memcached
查看>>
Oracle 表字段数据类型
查看>>
Ubuntu安装ping工具
查看>>
我的友情链接
查看>>
jetty远程调试
查看>>
SCCM2012R2之三独立站点安装
查看>>
职业生涯规划:如何选择一家适合自己的公司?
查看>>
viewport大白话
查看>>
我的友情链接
查看>>
在Oracle中使用命令crs_stat -t,输出结果里资源名称后缀的含义
查看>>
如何查询HP-UX主机防火墙状态
查看>>
我的友情链接
查看>>
HTML实现置顶-->火箭置顶
查看>>
nginx缓存命中率统计
查看>>
DirectAccess(3)—Inter Server配置
查看>>
iptables内网应用
查看>>
让KVM飞——初识
查看>>
VMWare ESXi 5.1 安装在U盘
查看>>
CAD库中统计PBN运行航路条数和总距离
查看>>