Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/yuchan/nandacloud


https://github.com/yuchan/nandacloud

Last synced: 4 days ago
JSON representation

Awesome Lists containing this project

README

        

Nandacloud
===============

purchase VM Ware (Fusion|Workstation)
--------------

Virtual Machines must support Intel-VT or AMD-V.
VirtualBox doesn't support nested virtualization because it is missing those virtualization specs now.

Prepare Vagrant
--------------

### vagrant --version

Vagrant 1.7.2

### vagrant plugin list

## Free
vagrant-omnibus (1.4.1)
vagrant-share (1.1.3, system)
vagrant-vbguest (0.10.0)
vagrant-vbox-snapshot (0.0.8)

## Paid
vagrant-vmware-fusion (3.2.1)

### Gem install

$ cd (path to nandacloud) && bundle install
$ cd (path to nandacloud)/chef && bundle exec berks vendor cookbooks
$ cd (path to nandacloud)/app && bundle install

### Vagrant VMs

We use multi-vm mode.
One is api server and data center manager, and the others are kvm host servers.
All servers connect with each others, and data center manager tells kvm hosts to create KVM VM machines.
By specifying the name, you can manipulate only one server that you want.
Like,

vagrant up dcmgr

when you manipulate all servers, simply type

vagrant up

Install ruby on VMs
---------------------

I recommend you to use rbenv, but you may install ruby on system.
I suppose that ruby version is larger than 2.0.0(latest is 2.2.0).

To install rbenv in the bare environment, please use setuprbenv.sh.

Database
-------------------

Currently, we use sqlite3, because we make development process simple.

Memo
===============

- https://help.ubuntu.com/community/KVM/Installation
- https://github.com/yuchan/nanda-lxc