无法在 Amazon EC2 上安装 solr
Can't Install solr on Amazon EC2
我正在尝试在 Amazon EC2 上安装 solr。但是,我无法像某些人在他们的结果中描述的那样访问 solr url。例如,One example 显示一旦我启动 solr,然后我可以使用端口 8080 访问 url。但是它不会发生。
http://ec2-xxx-xxx-xxx-xxx.compute-1.amazonaws.com:8983/solr/admin/
可能是版本变了。但是 another example 显示,当我安装 Tomcat 并访问 url link 下面。还是不行。
http://ec2-xxx-xxx-xxx-xxx.compute-1.amazonaws.com:8080
但是当我执行 curl 时,它会显示本地内容。
ubuntu@ip-AAA-BB-C-DD:~/solr/solr-5.1.0$ curl "http://localhost:8080"
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>Apache Tomcat</title>
</head>
<body>
<h1>It works !</h1>
现在很纳闷,虽然按照步骤操作了,但是solr还是不能在线!!我怎样才能让它发生?更具体地说,我怎样才能让那些 links 是可浏览的?例如 http://ec2-xxx-xxx-xxx-xxx.compute-1.amazonaws.com:8080
和 http://ec2-xxx-xxx-xxx-xxx.compute-1.amazonaws.com:8983/solr/admin/
注意:访问上面的url报错信息是:
This webpage is not available
ERR_CONNECTION_TIMED_OUT
在适当的安全组中添加规则以启用端口 8080 上的入站流量。
Type = Custom TCP Rule
Protocol = TCP
Port = 8080
Source Anywhere / 0.0.0.0/0
我正在尝试在 Amazon EC2 上安装 solr。但是,我无法像某些人在他们的结果中描述的那样访问 solr url。例如,One example 显示一旦我启动 solr,然后我可以使用端口 8080 访问 url。但是它不会发生。
http://ec2-xxx-xxx-xxx-xxx.compute-1.amazonaws.com:8983/solr/admin/
可能是版本变了。但是 another example 显示,当我安装 Tomcat 并访问 url link 下面。还是不行。
http://ec2-xxx-xxx-xxx-xxx.compute-1.amazonaws.com:8080
但是当我执行 curl 时,它会显示本地内容。
ubuntu@ip-AAA-BB-C-DD:~/solr/solr-5.1.0$ curl "http://localhost:8080"
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>Apache Tomcat</title>
</head>
<body>
<h1>It works !</h1>
现在很纳闷,虽然按照步骤操作了,但是solr还是不能在线!!我怎样才能让它发生?更具体地说,我怎样才能让那些 links 是可浏览的?例如 http://ec2-xxx-xxx-xxx-xxx.compute-1.amazonaws.com:8080
和 http://ec2-xxx-xxx-xxx-xxx.compute-1.amazonaws.com:8983/solr/admin/
注意:访问上面的url报错信息是:
This webpage is not available
ERR_CONNECTION_TIMED_OUT
在适当的安全组中添加规则以启用端口 8080 上的入站流量。
Type = Custom TCP Rule
Protocol = TCP
Port = 8080
Source Anywhere / 0.0.0.0/0