首页 > 其他 > 详细

Install Redmine on Virtual Machine with Vagrant

时间:2014-03-17 22:18:37      阅读:564      评论:0      收藏:0      [点我收藏+]
  1. Initialize VM:

    chad@typcserver ~/docs/vagrant-prj $ vagrant --version Vagrant 1.4.3 chad@typcserver ~/docs/vagrant-prj $ vagrant init chad@typcserver ~/docs/vagrant-prj $ cat Vagrantfile VAGRANTFILE_API_VERSION = "2" Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| config.vm.box = "precise64" config.vm.box_url = "http://files.vagrantup.com/precise64.box" end

  2. Startup VM:

    chad@typcserver ~/docs/vagrant-prj $ vagrant up chad@typcserver ~/docs/vagrant-prj $ vagrant ssh

  3. The preinstalled puppet version is 2.7:

    vagrant@precise64:~$ puppet --version 2.7.19

  4. Install redmine module:

    vagrant@precise64:~$ sudo mkdir -p /etc/puppet/modules vagrant@precise64:~$ sudo puppet module install johanek/redmine vagrant@precise64:~$ sudo apt-get update vagrant@precise64:~$ sudo puppet apply --modulepath=/etc/puppet/modules -e "include stdlib" vagrant@precise64:~$ sudo puppet apply --modulepath=/etc/puppet/modules -e "include mysql::server" warning: Could not retrieve fact fqdn

Then it‘s stuck. I find there are network traffic with ifstat utility, which probably means puppet is installing mysql. But how can I get the current state of puppet? I can‘t stop it even with Ctrl-C.

Notes:

  1. Uninstall module: puppet module uninstall puppetlabs-mysql

Install Redmine on Virtual Machine with Vagrant,布布扣,bubuko.com

Install Redmine on Virtual Machine with Vagrant

原文:http://www.cnblogs.com/darkmatter/p/3605643.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!