我试图更新我的stream浪者使用PHP 5.6,我基本上是在命令行上执行以下过程。 sudo yum删除php *(删除PHP) wget http://rpms.famillecollet.com/enterprise/remi-release-6.rpm (安装最新的remi repo 🙂 rpm -Uvh remi-release-6 * .rpm sudo yum安装php php-普通php-devel php-fpm php-gd php-mbstring php-mcrypt php-mysqlnd php-pdo php-pear php-xml php-pecl-xdebug php-pecl -amqp 前两个步骤似乎很好,但是在做'安装过程'的最后一步,我得到以下错误: Error: php56w-common conflicts with php-common-5.3.3-46.el6_6.x86_64 You could try using –skip-broken to work around the problem You could try running: rpm -Va –nofiles –nodigest 我需要上面所有与PHP 5.6兼容的模块,任何人都可以build议我下一步应该做的工作?
最奇怪的事情发生在这个木偶运行(使用Puppet Apply ),它让我困惑。 我尝试了我平常的渠道find解决办法,但是我找不到任何关于这个主题的内容。 我很抱歉如此冗长,我只是不想留下任何东西:\ – 我的课 class c2c::profile::app::logio::stage_support { # Log.io plugin # Create plugin directories exec { "create_codec_dir": command => "/bin/mkdir –parents /etc/logstash/plugins/logstash/codecs –mode=0775", creates => '/etc/logstash/plugins/logstash/codecs', } # Install plugin file { "logio_plugin_file": # update: added in response to a serverfault comment ensure => file, path => '/etc/logstash/plugins/logstash/codecs/logio.rb', mode => '0775', owner […]
我正在使用Puppetlabs / Apache来configurationApache。 在主傀儡文件中,我调用并configuration它: class { '::apache': } class { '::apache::mod::fastcgi': } apache::vhost { "${::fqdn} non-ssl": servername => $::fqdn, port => '2222', docroot => "/var/www/${root}", priority => 10, } apache::mod::fastcgi清单可以无缝工作…有一个缺点:PHP以某种方式仍然在(cli)模式下运行: vagrant@wp:/etc/apache2/mods-enabled$ php -v PHP 5.5.12-1+deb.sury.org~precise+1 (cli) (built: May 8 2014 21:04:38) Copyright (c) 1997-2014 The PHP Group Zend Engine v2.5.0, Copyright (c) 1998-2014 Zend Technologies […]
当做一个“壳”规定vagrant up下载一些文件到同步文件夹。 这些文件也应该复制到主机同步的文件夹,以便项目可以从主机。 当使用NFS进行同步时,这是自动完成的,但不能与rsync同步。 有没有什么办法可以使用rsync与Vagrant来实现这一点? 这是已同步的文件夹configuration: config.vm.synced_folder "./", "/vagrant", type: "rsync", owner: "www-data", rsync__exclude: [".git", "project1/app/cache", "project1/app/logs"], rsync__args: ["–no-owner", "–verbose", "–archive", "-z", "–copy-links"]
我在一个专用networkingIP的stream浪盒子上安装了CentOS 6。 我可以使用IP ssh到盒子,所以这是工作。 但是,在curl'ing时,我在端口80上收到拒绝连接。 里面有一个非常基本的nginx提供默认的欢迎页面。 从盒子内部curl它的作品。 Vagrant.configure("2") do |config| config.vm.box = "Centos-6.3-minimal" config.vm.box_url = "https://dl.dropbox.com/u/7225008/Vagrant/CentOS-6.3-x86_64-minimal.box" config.vm.network :private_network, ip: "192.168.33.44" config.vm.hostname = "local.example.com" config.vm.provider :virtualbox do |vb| vb.customize ["modifyvm", :id, "–memory", "2048"] end end 以下是我尝试过的一些事情: 更改为端口转发80 – > 8080. localhost:8080curllocalhost:8080只是挂在那里。 尝试另一个IP地址。 没有不同。 在已知可以在0.0.0.0上侦听的服务器上打开python -m SimpleHTTPServer 。 仍然得到连接拒绝。 这些东西是已知的工作: 使用给定的专用networkingIP连接到服务器。 从箱子内部curl起作用。 相同的设置在真实的服务器上工作。 我已经安装了Guest Additions,但是它们的版本在guest和host上是不同的。 这可能是问题所在。 但是为什么SSH工作,而不是端口80? […]
我正在按照教程设置vagrant (一种构build和configuration便携式虚拟机镜像的工具),似乎stream浪者的文档build议使用IPv4地址33.33.33.10来configuration一个新盒子。 这是一个公开路由的IP地址 ,所以我有点困惑,为什么使用这个地址build议。 由于我不拥有这个networking,我不应该使用33.33.33.10/8范围内的地址。 我是否正确地认为我只应使用来自我自己networking的公共地址,或者使用RFC 1918中定义的专用范围之一的地址? 如果是这样,那么为什么Vagrant文档会有其他build议?
Vagrant Version: 1.6.3 VirtualBox: 4.3.14 Ubuntu 14.04 LTS 64 Bit 嘿,伙计们,我已经在这个相当不错的时间了,不知道这一点。 我有我的公钥和私钥设置,他们的工作。 我知道他们不是在我更新Ubuntu从32位到64位之前工作正常的问题。 我已经卸载并重新安装了所有提到的软件,仍然没有修复。 这是一个Laravel家园的例子,但它发生在我所有的箱子上,包括从stream浪者主页精确32。 当我运行vagrant ssh-config我得到的错误是 The provider for this Vagrant-managed machine is reporting that it is not yet ready for SSH. Depending on your provider this can carry different meanings. Make sure your machine is created and running and try again. Additionally, check […]
我在我的开发机器上安装了vagrant 1.2.2 ; 一台笔记本电脑。 我在三种不同的环境中使用相同的笔记本电脑,不同的networking设置 我的VagrantFile看起来像: Vagrant.configure("2") do |config| config.vm.box = "lucid32" config.vm.network :forwarded_port, guest: 80, host: 88 config.vm.network :forwarded_port, guest: 56789, host: 56789 config.vm.network :public_network, :bridge => 'Intel(R) 82579V Gigabit Network Connection' config.vm.hostname = "web" end 它成功地在无头的Ubuntu中将主机名设置为web 。 但是当我尝试从主机操作系统(Windows)ping web ,它不能parsingIP地址。 移动到其他办公室时,我不能每次更改Windows中的主机文件,因为C类子网掩码和IP范围不同。 有没有办法通过主机名web从主机访问客人?
我经常看到这个命令用于创build一个Vagrant框 sudo dd if=/dev/zero of=/EMPTY bs=1M 对我来说,它接缝,它是复制大量空字符到一个名为EMPTY文件在FS根1MB一次。 我的问题是如何做到这一点优化磁盘上的空间使用率,一旦文件被删除。
我有点卡住了一个问题,我试图把我的头包裹好几天了。 这是我在做什么: 通过使用Veewee,我创build一个VirtualBox图像,然后我从它创build一个Vagrant框。 看到这里 , 在这里 最后我从Vagrant运行puppet来安装RabbitMQ,请看这里 。 Veewee,Vagrant和VirtualBox都运行在MacOS X 10.7.4上。 stream浪盒本身就是CentOS 6.2。 这工作很好,相当一段时间,直到我几天前重新创buildVirtualBox图像。 在puppet运行期间安装rabbitmq-plugins期间,我现在得到以下错误: /Stage[main]/Rabbitmq/Exec[rabbitmq-plugins]/returns: erlexec: HOME must be set 我的RabbitMQ puppetconfiguration可以在我的GitHub仓库find,但是这里是最重要的部分: $version = "2.8.7" $url = "http://www.rabbitmq.com/releases/rabbitmq-server/v${version}/rabbitmq-server-${version}-1.noarch.rpm" package{"erlang": ensure => "present", } package{"rabbitmq-server": provider => "rpm", source => $url, require => Package["erlang"] } exec{"rabbitmq-plugins": path => "/usr/bin:/usr/sbin:/bin", command => "rabbitmq-plugins enable rabbitmq_management", require […]