Amazon ec2 在EC2上安装ApacheIgnite

Amazon ec2 在EC2上安装ApacheIgnite,amazon-ec2,ignite,Amazon Ec2,Ignite,我正在尝试在EC2 CentOS上安装ApacheIgnite。 下载了最新的Ignite src 2.0并安装了Java 1.8和MVN Next尝试在Ignite文件夹MVN安装程序内运行,但失败: mvn clean package -DskipTests [INFO] Scanning for projects... Downloading: https://repo.maven.apache.org/maven2/org/apache/apache/16/apache-16.pom [

我正在尝试在EC2 CentOS上安装ApacheIgnite。 下载了最新的Ignite src 2.0并安装了Java 1.8和MVN

Next尝试在Ignite文件夹MVN安装程序内运行,但失败:

mvn clean package -DskipTests
[INFO] Scanning for projects...
Downloading: https://repo.maven.apache.org/maven2/org/apache/apache/16/apache-16.pom
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[FATAL] Non-resolvable parent POM for org.apache.ignite:ignite-parent:1: Could not transfer artifact org.apache:apache:pom:16 from/to central (https://repo.maven.apache.org/maven2): Connect to repo.maven.apache.org:443 [repo.maven.apache.org/151.101.32.215] failed: Connection timed out (Connection timed out) and 'parent.relativePath' points at no local POM @ org.apache.ignite:ignite-parent:1, /home/ec2-user/ignite/apache-ignite-2.0.0-src/parent/pom.xml, line 29, column 13
 @
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR]   The project org.apache.ignite:apache-ignite:2.0.0 (/home/ec2-user/ignite/apache-ignite-2.0.0-src/pom.xml) has 1 error
[ERROR]     Non-resolvable parent POM for org.apache.ignite:ignite-parent:1: Could not transfer artifact org.apache:apache:pom:16 from/to central (https://repo.maven.apache.org/maven2): Connect to repo.maven.apache.org:443 [repo.maven.apache.org/151.101.32.215] failed: Connection timed out (Connection timed out) and 'parent.relativePath' points at no local POM @ org.apache.ignite:ignite-parent:1, /home/ec2-user/ignite/apache-ignite-2.0.0-src/parent/pom.xml, line 29, column 13 -> [Help 2]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException

我能够以同样的方式在我的Mac上安装,而不会出现此错误。有什么问题吗?MVN是否可以进行不同的设置以避免此错误?还是EC2/ApacheIgnite兼容性存在问题?我无法将AMI用于Ignite,因为它未被批准在公司网络中使用

连接到maven存储库有问题,请检查是否可以从您的EC2计算机访问此repo:

连接到repo.maven.apache.org:443[repo.maven.apache.org/151.101.32.215]失败:连接超时


无需在服务器上从src构建Ignite,您可以下载二进制文件并使用它们。

安装Ignite最简单的方法是:

从下载ZIP包 提取内容 运行ignite_home/bin/ignite.sh
谢谢您是否有用于二进制文件的示例链接以及一步一步的操作方法?这似乎是指向二进制文件的链接:。你有从二进制文件构建它的经验吗?要遵循哪个程序?谢谢。下载二进制文件并运行ignite.sh,如下所述:下载wget,解压二进制文件并尝试但有错误:bin/ignite.sh examples/config/example-cache.xml错误:找不到或加载主类org.apache.ignite.startup.cmdline.CommandLineRandomNumberGenerator错误:找不到或加载主类org.apache.ignite.internal.util.portscanner.GridJMExportFinder bin/ignite.sh,警告:无法解析JMX主机JMX将被禁用:ip-x-x-x-x.x.x.com错误:无法找到或加载主类org.apache.ignite.startup.cmdline.commandlinestartup您再次下载了源代码。对于ignite-2.0下载