Install Redmine on Virtual Machine with Vagrant
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"
endStartup VM:
chad@typcserver ~/docs/vagrant-prj $ vagrant up
chad@typcserver ~/docs/vagrant-prj $ vagrant sshThe preinstalled puppet version is 2.7:
vagrant@precise64:~$ puppet --version
2.7.19Install 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:
- Uninstall module:
puppet module uninstall puppetlabs-mysql
最新文章
- html小知识点汇总(浏览器导航上显示图标、div无高度时试着清除浮动、文字环绕图片、字体加粗、div按百分比分、已有的不合适的class,针对特定的标签进行修改)
- codeforces 700A As Fast As Possible 二分求和?我觉得直接解更好
- ThinkCMF-smeta扩展字段
- SMT 的基本流程?SMT的工艺流程?SMT的设备操作?
- shell 脚本编程概述
- Multiple annotations found at this line: 	- The content of element type ";mapper"; must match ";EMPTY";. 	- Attribute ";namespace"; must be declared for element type 	 ";mapper";.
- Javascript 严格模式
- iOS之小功能模块--彩虹动画进度条学习和自主封装改进
- 20145314郑凯杰《信息安全系统设计基础》GDB调试32位汇编堆栈分析
- POSIX、XNU
- Java 实现Md5算法
- 图像 - 创建 头像V1.0
- 【Cron Expressions】Quartz Scheduler 2.1.x 英文节选
- (转)MultipleOutputFormat和MultipleOutputs
- [HNOI2010]PLANAR
- h5怎么做分享到QQ 、朋友圈、微信 、微博等功能
- 使用bat脚本部署hexo到coding和github
- python爬虫requests模块
- Github+HEXO FATAL bad indentation of a mapping entry at line 84
- Python性能分析
热门文章
- LeetCode解题记录(贪心算法)(一)
- hdu 6048 Puzzle 拼图 逆序数
- 尝试用面向对象思维理解Vue组件
- centos 8.3关闭防火墙,设置开机启动禁用防火墙
- 资源:CentOS下载地址资源
- shell运维习题训练
- IDA 动态调试
- Adaptive AUTOSAR 学习笔记 2 - 官方文档下载及阅读建议
- .NET Core/.NET5/.NET6 开源项目汇总11:WPF组件库1
- Java中为什么notify()可能导致死锁,而notifyAll()则不会(针对生产者-消费者模式)