GithubHelp home page GithubHelp logo

web5design / chef-reuters-demo Goto Github PK

View Code? Open in Web Editor NEW

This project forked from evolvingweb/chef-reuters-demo

0.0 2.0 0.0 164 KB

Chef repository for deploying a Solr Server for the AJAX-Solr demo

chef-reuters-demo's Introduction

This repository contains a cookbook that provisions a secure Solr Server (using solr-security-proxy for the AJAX-Solr demo. This repository uses gusteau but the reuters-demo cookbook (to be found under site-cookbooks) can be used in any way by Opscode Chef.

To use with Vagrant:

The following assumes you have vagrant 1.1+ installed.

install gusteau:

vagrant plugin install gusteau

provision Solr server:

# inside the repo
vagrant up
gusteau converge production-box

After chef-solo is done, y our Solr server can be accessed locally at http://192.168.50.4:9090/reuters (you can change the private IP in your Vagrantfile and .gusteau.yml

To provision a remote server:

install gusteau

If you installed the vagrant-gusteau plugin you already have the gusteau gem available, if not:

gem install gusteau

define remote server

To provision a remote server you have to change .gusteau.yml to include your remote server's IP (or domain name):

# in .gusteau.yml
  server:
    before: apt-get update && apt-get install -q -y curl
    host: fqdn.for.your.remote.server # <---
    user: root

If you user does not have its SSH public key recognized by the remote server, you will need to provide gusteau with the root password of your server. This information will go in the same stanza as above:

# in .gusteau.yml
  server:
    before: apt-get update && apt-get install -q -y curl
    host: fqdn.for.your.remote.server
    user: root
    password: root.password.for.host # <---

provision Solr server:

# inside the repo
gusteau converge production-server --bootstrap

chef-reuters-demo's People

Contributors

amirkdv avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.