Ambari——编译——解决解决windows和linux下phantomjs链接超时问题

您的支持是我继续创作与分享的动力源泉!!!

您的支持是我继续创作与分享的动力源泉!!!

您的支持是我继续创作与分享的动力源泉!!!

错误日志:
在这里插入图片描述

[INFO] Copying extracted folder C:\Users\LENOVO\AppData\Local\Temp\phantomjs\phantomjs-2.1.1-windows.zip-extract-1786692611821\phantomjs-2.1.1-windows

[INFO]                                  Writing location.js file
[INFO]                                  pone. Phantomjs binary available at F:\project\bigdata\ambari\ambari-web\node_modules\phantomjs\lib\phantom\bin\phantomjs.exe

[INFO]                                  verbose 25.858548 Error: F:\project\bigdata\ambari\ambari-web\node_modules\phantomis-prebuilt: Command failed.

[INFO]                                  Exit code: 1

[INFO] Command:                                                                                                                                                                 node install.js

[INFO]                                  Arguments:
[INFO]                                  Directory: F:\project\bigdata\ambari\ambari-web\node_modules\phantomjs-prebuilt

[INFO]                                  Output:

[INFO]                                  PhantomJS not found on PATH

[INFO] Downloading https://github.com/Medium/phantomjs/releases/download/v2.1.1/phantomjs-2.1.1-windows.zip
[INFO] Saving to F:\tmp\npm_config_tmp\phantomjs\phantomjs-2.1.1-windows.zip

[INFO]                                  Receiving...

[INFO]                                  Error making request.
[INFO]

[
  • 7
    点赞
  • 12
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
Ambari是一个开源的集群管理工具,它可以用于管理Hadoop和Hadoop生态系统中的其他组件。下面是关于如何在Linux系统上从源码编译和安装Ambari的步骤: 1. 安装编译工具和依赖项 首先需要安装一些编译工具和依赖项,以便编译Ambari。使用以下命令安装这些工具和依赖项: ``` sudo apt-get install git maven rpm createrepo ``` 2. 下载Ambari源代码 使用以下命令从Github上下载Ambari源代码: ``` git clone https://github.com/apache/ambari.git ``` 3. 切换到特定的版本 如果您想要安装特定版本的Ambari,可以切换到该版本的分支。使用以下命令切换到Ambari 2.7.5分支: ``` cd ambari git checkout branch-2.7.5 ``` 4. 编译Ambari 进入ambari-server目录,使用以下命令编译Ambari: ``` cd ambari-server mvn versions:set -DnewVersion=2.7.5.0.0 mvn clean install -PskipTests ``` 该操作将会花费几分钟的时间来编译和构建Ambari。 5. 安装Ambari 编译完成后,进入ambari-server/target目录。在这个目录中你将会看到一个名为ambari-server-2.7.5.0.0.tar.gz的文件。解压缩该文件并安装Ambari: ``` tar -xvf ambari-server-2.7.5.0.0.tar.gz cd ambari-server-2.7.5.0.0 sudo ./setup.sh ``` 该操作将会安装Ambari并启动Ambari Server。 6. 访问Ambari Web控制台 安装完成后,您可以通过在Web浏览器中输入Ambari Server的IP地址和端口来访问Ambari Web控制台。 ``` http://your_server_ip:8080 ``` 现在您可以使用Ambari管理Hadoop和其他Hadoop生态系统组件了。

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值