zoukankan      html  css  js  c++  java
  • Install Redmine on Virtual Machine with Vagrant

    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
  • 相关阅读:
    第二次作业
    国庆节假期作业1
    memoize使用实例之创建XHR
    javascript 函数式编程(3)
    javascript 异步循环 asyncEach
    c++ 精简版 序列化
    javascript 函数式编程(4)
    javascript setZeroTimeout
    c++ 精简版 thread
    PHP Memoization
  • 原文地址:https://www.cnblogs.com/darkmatter/p/3605643.html
Copyright © 2011-2022 走看看