Articles of stream浪者

厨师冻结在stream浪的centos框

我有一个centos-6.5盒子。 奇怪的是,当我尝试要求厨师提供食物时,它会冻结。 下面是我尝试去vagrant provision –debug时候的一个例子 – 试试吧 [2014-10-10T20:33:33+00:00] INFO: Processing remote_file[/etc/yum.repos.d/devtools.repo] action create (vidya_client::default line 7) DEBUG ssh: stdout: [2014-10-10T20:33:34+00:00] INFO: Processing yum_package[devtoolset-1.0-gcc-c++.x86_64] action install (vidya_client::default line 15) INFO interface: info: [2014-10-10T20:33:34+00:00] INFO: Processing yum_package[devtoolset-1.0-gcc-c++.x86_64] action install (vidya_client::default line 15) [2014-10-10T20:33:34+00:00] INFO: Processing yum_package[devtoolset-1.0-gcc-c++.x86_64] action install (vidya_client::default line 15) DEBUG ssh: stdout: [2014-10-10T20:33:34+00:00] INFO: yum_package[devtoolset-1.0-gcc-c++.x86_64] […]

如何使用IP限制或过滤规则过滤请求

我们现在有一个IIS站点,它有一个特定IP地址列表的允许列表,以及所有其他IP默认被拒绝。 我们想要添加另一个规则,即如果请求作为特定值的用户代理进入,则允许它,而不pipeIP是否在允许列表中。 这可能吗?

MariaDB 10.0 / Docker / Vagrant – subprocess/ usr / bin / dpkg返回一个错误代码

使用Vagrant,Docker和其他虚拟服务时,MariaDB 10.0不能正确安装。 $ DEBIAN_FRONTEND=noninteractive apt-get install -y mariadb-galera-server Setting up mariadb-galera-server-10.0 (10.0.14+maria-1~trusty) … invoke-rc.d: policy-rc.d denied execution of stop. dpkg: error processing package mariadb-galera-server-10.0 (–configure): subprocess installed post-installation script returned error exit status 1 dpkg: dependency problems prevent configuration of mariadb-galera-server: mariadb-galera-server depends on mariadb-galera-server-10.0 (= 10.0.14+maria-1~trusty); however: Package mariadb-galera-server-10.0 is not configured yet. dpkg: […]

在香草Ubuntu的gem安装失败 – EACCESS

我试图在Ubuntu Trusty(i386)的完全通用的安装上安装Middleman gem。 这是我的控制台input/输出: vagrant@vagrant-ubuntu-trusty-32:~/rj$ which ruby /usr/bin/ruby vagrant@vagrant-ubuntu-trusty-32:~/rj$ ruby -v ruby 1.9.3p484 (2013-11-22 revision 43786) [i686-linux] vagrant@vagrant-ubuntu-trusty-32:~/rj$ gem install middleman Fetching: bundler-1.7.7.gem (100%) ERROR: While executing gem … (Errno::EACCES) Permission denied – /var/lib/gems 正如你所看到的,在我的主机系统上出现类似的错误之后,我使用了一个Vagrant虚拟机。 (别人之前的问题的另一个答案已经指向了stream浪汉和Docker,每一个都给出了如上所述的输出。)有趣的是,即使使用sudo gem install middleman给我带来了问题。 (我想过把这个输出粘贴到这里,如果有人问,我仍然可能会这样做,但是说实话,我宁愿避免把外部的gem作为root来使用,而应该把注意力集中在上面的错误上。所有这些都是为了创build一组定义的输出,从而限制了对特权和自定义的需求。) 有没有人遇到过这样的错误? ====================== 编辑:通过请求,这里是我使用sudo gem install middleman时的输出: Fetching: bundler-1.7.7.gem (100%) Fetching: rack-1.5.2.gem (100%) Fetching: tilt-1.4.1.gem (100%) […]

Vagrant,nginx 404 – 在stderr中发送的fastcgi无法打开主脚本

谷歌很多,并没有find解决scheme。 在这里find了几个接受的答案在stackoverflow,但他们没有帮助我。 我正在使用stream浪者发展,或者至less试图使用它。 有没有安装它的问题,但是当我尝试运行一个网站,我越来越404,我的猜测是,这是更多的Nginx问题,而不是stream浪问题。 我已经添加到我的Windows主机127.0.0.1 lara.dev 这是我的nginx网站configuration如下: server { listen 80; server_name lara.dev; root C:/xampp/htdocs/lara/public; index index.html index.htm index.php; charset utf-8; location / { try_files $uri $uri/ /index.php?$query_string; } location = /favicon.ico { access_log off; log_not_found off; } location = /robots.txt { access_log off; log_not_found off; } access_log off; error_log /var/log/nginx/lara.dev-error.log error; error_page 404 /index.php; […]

限制带有策略映射的Cisco路由器的带宽不起作用

我在使用class-map和policy-map来限制GNS3中ubuntu PC的带宽时遇到了一些问题。 这是我在GNS3中的拓扑: ———–cisco-3725-router———–>Internet | | | | | Switch | | | | | | | UBUNTU-PC XP-PC R1是c3725-adventerprisek9-mz.124-25d.bin映像的思科3725路由器,这是我的configuration: ! ! version 12.4 service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption ! hostname R1 ! boot-start-marker boot-end-marker ! ! no aaa new-model ! resource policy ! memory-size iomem 5 […]

将stream浪Ubuntu VM迁移到物理机器

我正在尝试使用vagrant和puppet工作stream来configuration一个Ubuntu生产服务器VM,它将托pipe一个Web应用程序。 我希望能够重复使用这个工作stream程来在未来configuration多个相同的虚拟机。 VMconfiguration完成后,我正在尝试创build映像并将VM迁移到物理机器。 我计划使用像雾这样的PXE映像服务来创buildVM的映像,然后将其部署在裸机上。 我的问题是: 我会碰到任何不兼容问题/有没有存在,我需要一个类似于sysprep的实用程序? 是否有更有效的工具可以/应该用于这种情况? 任何援助感谢!

高入口stream量的随机峰值。 可能是什么原因?

我知道这是一个相当普遍的问题,但是想看看你们是否能提供一些好的反馈。 我们的业务有三个地点,一个在西海岸,两个在东海岸。 我们的两个东海岸地区似乎经历了随机的高入口stream量峰值,导致ISPclosures高带宽访问。 由于nagios服务器位于西海岸,并且无法连接到远程位置,因此会触发nagios的警报。 我应该注意到,这不仅基于nagios警报,在两个麻烦的地点的用户确认了互联网接入的损失。 ISP也确认暂时closures。 也就是说,入口stream量的增长比正常使用高出10-20倍。 在这些随机时间中,业务是正常进行的,没有什么不寻常的事情发生。 我们无法访问路由器,只有ISP可以访问,ISP已经确认他们的路由器function完整。 这可能是什么? 受影响的机器(僵尸networking?但为什么高入口stream量)? 坏开关(可能是一个坏的开关导致入口stream量增加10-20倍)? 我愿意接受任何想法。

厨师/stream浪汉 – 厨房不能连接到更新jenkins

Iam与厨师,stream浪者和testing厨房疯狂。 我们有一个定制的jenkins食谱,它适用于没有合作networkingProxys的“普通”客户端,但后面的错误失败。 – create new file /tmp/kitchen/cache/jenkins-cli.jar – update content in file /tmp/kitchen/cache/jenkins-cli.jar from none to 0b49c2 (new content is binary, diff output suppressed) * remote_file[/tmp/kitchen/cache/update-center.json] action create_if_missing [2015-05-11T16:28:32+00:00] ERROR: Error connecting to http://mirrors.jenkins-ci.org/updates/update-center.json, retry 1/5 [2015-05-11T16:30:43+00:00] ERROR: Error connecting to http://mirrors.jenkins-ci.org/updates/update-center.json, retry 2/5 [2015-05-11T16:32:54+00:00] ERROR: Error connecting to http://mirrors.jenkins-ci.org/updates/update-center.json, retry 3/5 [2015-05-11T16:35:06+00:00] ERROR: Error […]

videoStreming服务器出站带宽和提供商

想象一下Twitter Periscope或Meerkat的例子。他们的服务器的范例是,他们从用户接收video,然后将其stream式传输给大量的用户(为了这个论点说> 100K)。 现在,这是我的混乱。 假设一个video的比特率是2Mb / s(因为我们很喜欢1080p @ 30stream)。 也假设只有一个家伙播放。 所以:这个家伙需要2Mbps的出站带宽(没关系),服务器入站带宽也是~2Mbps(这太棒了),但是服务器的出站带宽应该是2Mbps * 100K = 200Gbps(圣牛) 这个问题对某些人来说可能是愚蠢的,但我仍然怀疑,像comcast,ATT,Level3这样的公司所看到的连接是最大10Gbps 他们如何pipe理出站连接提供商的带宽? 每台服务器机器连接10Gbps? 一个我不知道的计划? 或者他们根本不需要超过10Gbps? 谢谢!