Articles of stream浪者

监控整个办公室的互联网stream量的最好方法是什么?

我们目前有一个约28人的T3线,白天变得致命,所以我需要一些东西来帮助追踪为什么。 我假设有人正在下载他们可能不知道的东西。

在apt-get安装之后阻止Apache启动

当apt-get install apache2 ,服务器在安装完成时自动启动,默认的Apacheconfiguration使/var/www/客户端都可以访问。 因此,如果我在安装Apache之前在该目录中有任何closures的源服务器端脚本或其他秘密信息,那么它是公开访问的,直到我更改Apacheconfiguration并重新启动Apache,或者直到我停止Apache。 我可以做这个 sudo apt-get install -y apache2 sudo service apache2 stop # Finish setting up… 然后,只有一个简单的窗口,可以访问秘密的东西,但是最好让Apache不要自动启动,甚至一刻也不要暴露/var/www/ 。 有没有我可以通过apt-get install或其他方式来防止Apache安装后自动启动的选项?

我怎样才能通过IP在Linux上进行stream量整形?

我们有一个透明的代理设置。 我试图在Linux中寻找stream量整形,而我所能find的所有方法都是通过接口(eth0 / eth1 …)来限制stream量。 我需要通过IP地址或IP范围限制带宽(从不超过特定的限制),我找不到一个方法来做到这一点。 有没有办法做到这一点?

第一天上网:如何不杀你的网站

假设你有这个奇特的新网站,有大量的数据(比如大图片),你就要把它放到网上。 如果你做了“太多”的宣传,在开始的几天里,网站就会被要求淹没。 我怎样才能减轻这种风险? 我想过了 像SO和SF一样逐渐生活:“私人”公测,公开testing 允许X. 连接 会话同时进行,所以连接的用户仍然有很好的网站体验,其他人都有一个很好的道歉信息 我不能: 购买更多的服务器,因为在第一天之后,网站的stream量会less很多:)

NFS与encryption的Ubuntu主目录

我无法通过vagrant获取NFS设置: 在我的本地机器上,我已经安装了NFS: apt-get install nfs-common nfs-kernel-server 并在我的Vagrantfile设置它被使用: config.vm.share_folder("v-root", "/vagrant", ".", :nfs => true) 在vagrant up我得到: exportfs: /home/<user>/path/to/dir does not support NFS export Mounting NFS shared folders failed. This is most often caused by the NFS client software not being installed on the guest machine. Please verify that the NFS client software is properly installed, and […]

networkingstream量监测

监控/分析整个networking(几个子网)的networkingstream量的最佳工具是什么? 我正在寻找一些能够帮助我解决带宽问题的方法,例如,用户开始抱怨“networking速度慢”

Tc:入口pipe制和ifb镜像

我正在尝试在Linux网关上设置stream量整形。 脚本需要定制,因为我有多个LAN接口。 因此,为了塑造LAN端,我打算创build一个ifb伪设备,如下所示: modprobe ifb ip link set dev ifb0 up /sbin/tc qdisc add dev $WAN_INTERFACE ingress /sbin/tc filter add dev $WAN_INTERFACE parent ffff: protocol ip u32 match u32 0 0 action mirred egress redirect dev ifb0 从上面提到的要点回购脚本有这些行: /sbin/tc qdisc add dev $WAN_INTERFACE handle ffff: ingress /sbin/tc filter add dev $WAN_INTERFACE parent ffff: protocol ip […]

SSH中止身份validation失败太多

我试图运行这个简单的configuration脚本,但是在运行vagrant up和vagrant provision命令时遇到了错误。 我读到,我需要创build一个/etc/ansible/hosts文件,我已经完成,填充它: [vagrant] 192.168.222.111 我的SSHconfiguration(删除了一些细节): Host default HostName 127.0.0.1 User vagrant Port 2222 UserKnownHostsFile /dev/null StrictHostKeyChecking no PasswordAuthentication no IdentityFile /Users/ashleyconnor/.vagrant.d/insecure_private_key IdentitiesOnly yes LogLevel FATAL Host server HostName XXX.XXX.XXX.XXX User ash PreferredAuthentications publickey IdentityFile ~/.ssh/ash_ovh Host deployer HostName XXX.XXX.XXX.XXX User deployer PreferredAuthentications publickey IdentityFile ~/.ssh/deployer_ovh Host bitbucket.org PreferredAuthentications publickey IdentityFile ~/.ssh/bitbucket Host github.com […]

stream浪:客人的互联网连接速度很慢

我正在试图build立一个stream浪汉。 主机是Ubuntu 12.10。 这是我的stream浪文件: Vagrant::Config.run do |config| config.vm.share_folder("v-root", "/vagrant", ".", :nfs => true) config.vm.network :bridged, :bridge => "eth0" config.vm.define "restserver" do |chefs_config| chefs_config.vm.box = "precise64" chefs_config.vm.box_url = "http://files.vagrantup.com/precise64.box" chefs_config.vm.host_name = "restserver" chefs_config.vm.network :hostonly, "192.168.20.50" chefs_config.vm.forward_port 80, 8080 config.vm.provision :chef_solo do |chef| chef.log_level = :debug chef.cookbooks_path = "cookbooks" chef.run_list.clear chef.add_recipe "apt" chef.add_recipe "base" chef.add_recipe "mongodb::default" chef.add_recipe […]

NGINX – 节stream请求,以防止滥用

我想这样做的原因是因为用户使用JavaScript来开发我们的API,一些开发者搞砸了,导致访问者通过AJAX请求来closures服务器。 发生这种情况时,我希望能够将API请求限制为每分钟50个请求 ,或者是这种情况。 注意:(尤其是DB密集型资源,或许在path级别,而不是服务器范围内(例如:“/ json_api /”,而不是“/ static /”)。