https://github.com/niku/vagrant_config_files
https://github.com/niku/vagrant_config_files
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/niku/vagrant_config_files
- Owner: niku
- Created: 2012-08-09T09:03:59.000Z (almost 14 years ago)
- Default Branch: master
- Last Pushed: 2013-07-25T09:11:10.000Z (almost 13 years ago)
- Last Synced: 2025-04-08T15:05:53.062Z (about 1 year ago)
- Language: Ruby
- Size: 95.7 KB
- Stars: 7
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.org
Awesome Lists containing this project
README
* What is this?
[[http://vagrantup.com/][Vagrant]] config files.It includes setting to create my account.
* How to use?
require [[https://www.virtualbox.org/][virtualbox]] and [[http://vagrantup.com/][vagrant]]
** with git
#+BEGIN_EXAMPLE
$ git clone git://github.com/niku/vagrant_config_files.git
$ cd vagrant_config_files
$ git submodule init
$ git submodule update
$ vagrant box add base http://files.vagrantup.com/lucid32.box
$ vagrant up
$ chmod 600 id_rsa
$ ssh niku@127.0.0.1 -p 2222 -i id_rsa
$ rbenv install 1.9.3-p286
$ rbenv global 1.9.3-p286
$ rbenv rehash
#+END_EXAMPLE
** without git
1. Download [[https://nodeload.github.com/niku/vagrant_config_files/zipball/minimum_set][vagrant_config_files]], [[https://nodeload.github.com/edelight/chef-solo-search/zipball/83fd5c5da1d32f53dba782cafaf8fad9f17b76a8][chef-solo-search]] and [[https://nodeload.github.com/opscode-cookbooks/users/zipball/9aaaddc230e80ce280409fe092f669c45b19e7ac][users]]
2. extract file like 'directory structure'
3. exec command
#+BEGIN_EXAMPLE
$ cd vagrant_config_files
$ vagrant box add base http://files.vagrantup.com/lucid32.box
$ vagrant up
$ chmod 600 id_rsa
$ ssh niku@127.0.0.1 -p 2222 -i id_rsa
$ rbenv install 1.9.3-p286
$ rbenv global 1.9.3-p286
$ rbenv rehash
#+END_EXAMPLE
** directory structure
#+BEGIN_EXAMPLE
vagrant_config_files
|-- cookbooks
| |-- build-essential
| | `-- ...
| |-- chef-solo-search
| | `-- ...
| |-- java
| | `-- ...
| |-- rbenv
| | `-- ...
| |-- readline
| | `-- ...
| |-- ruby_build
| | `-- ...
| |-- sudo
| | `-- ...
| |-- users
| | `-- ...
| |-- xml
| | `-- ...
| `-- zlib
| `-- ...
|-- data_bags
| `-- users
| `-- niku.json
|-- id_rsa
|-- id_rsa.pub
|-- README.org
`-- Vagrantfile
#+END_EXAMPLE