Skip to content

Instantly share code, notes, and snippets.

@dritoshi
Last active March 31, 2017 08:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dritoshi/432393e1e4086fd77b19 to your computer and use it in GitHub Desktop.
Save dritoshi/432393e1e4086fd77b19 to your computer and use it in GitHub Desktop.
Bayes Linuxでバイオインフォマティクス解析環境を簡単に再現良く構築する ref: http://qiita.com/dritoshi/items/707d3dd1fe9ed4f3b5b6
$ git clone https://github.com/BioDevOps/basicsetup
$ cd basicsetup
$ vagrant plugin install vagrant-chef-zero
$ vagrant plugin install vagrant-omnibus
$ berks vendor cookbooks
$ vagrant up
config.vm.provider "virtualbox" do |v|
v.name = "bayesvm_20150605_1"
v.customize ["modifyvm", :id, "--memory", "8192", "--cpus", "4"]
end
$ vagrant ssh
vagrant@vagrant:~$
$ vagrant ssh
vagrant@vagrant:~$ ifconfig eth1
$ vagrant plugin install vagrant-aws
Vagrant.configure("2") do |config|
config.vm.box = "dummy"
config.vm.provider :aws do |aws, override|
aws.access_key_id = "YOUR KEY"
aws.secret_access_key = "YOUR SECRET KEY"
aws.session_token = "SESSION TOKEN"
aws.keypair_name = "KEYPAIR NAME"
aws.ami = "INSTANCE ID"
override.ssh.username = "ubuntu"
override.ssh.private_key_path = "PATH TO YOUR PRIVATE KEY"
end
end
vagrant up --provider=aws
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment