我使用 vagrant(带有 Ubuntu 的盒子)。我在上面安装了 Elasticsearch。它可在
localhost:9200
在我的 Ubuntu 中。漫威可在
http://localhost:9200/_plugin/marvel/
如何在我的主机上进入 Marvel?我通常使用以下代码为我的站点创建虚拟主机:
<VirtualHost *:80>
ServerAdmin webmaster@localhost
ServerName some.192.168.56.56.xip.io
DocumentRoot /var/www/some
<Directory /var/www/some>
Options -Indexes +FollowSymLinks +MultiViews
AllowOverride All
Require all granted
</Directory>
ErrorLog ${APACHE_LOG_DIR}/some-192.168.56.56.xip.io-error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog ${APACHE_LOG_DIR}/some-192.168.56.56.xip.io-access.log combined
</VirtualHost>