在 AWS Elasticbeanstalk 上安装 Sphinxsearch

在 AWS Elasticbeanstalk 上安装 Sphinxsearch

如何安装Sphinx 搜索在 Elasticbeanstalk 容器中,这样实例重新启动时它就会自动安装?我在我的文件夹中尝试了这个容器命令,.config.ebextensions没有起作用。

container_commands:
  01_install_sphinx:
    command: curl -L -o sphinx-2.2.6-1.rhel7.x86_64.rpm  http://sphinxsearch.com/files/sphinx-2.2.6-1.rhel7.x86_64.rpm && sudo yum -y install ./sphinx-2.2.6-1.rhel7.x86_64.rpm && sudo chkconfig searchd on

相关内容