我有Raspberry Pi运行Raspbian,我已经configuration它作为一个WiFi热点使用hostapd和dhcpd,我已经configuration了透明的鱿鱼代理服务器上。 现在所有stream量都通过我的代理服务器,我可以在/var/log/squid3/access.log中看到一个日志。 我需要保持用户连接到我的无线数据的轨道,我需要保留多less数据,他已经用于例如xxxx使用200MB,我需要禁止该用户使用500MB后。 我怎样才能实现透明的代理服务器,而不使用身份validation。 我试图挤压,但没有成功,因为我猜想它需要authentication。 提前致谢。
客人networking根本不工作。 换句话说,guest不能ping主机或lan网关。 我已经创build了br0桥接,brctl也显示在guest虚拟机启动时,vnet0被KVM正确添加到br0 我已经将ip_forward设置为1 Iptablesclosures,甚至没有安装,这是不需要的,因为我只需要客户通过桥接br0直接访问路由器/局域网 我有这个设置与其他系统与centos主机工作,但我是debian的新手,不知道我可能已经忘记做什么。 主机networking似乎工作正常,eth0不再有一个IP和br0有eth0曾经有的IP。 brctl show命令显示当guest虚拟机处于closures状态并且guest虚拟机处于打开状态时,eth0显示的eth0同时显示eth0和vnet0 我只是通过从VIRTIO更改为RTLnetworking接口,这与select“pipe理程序默认”是一样的。 还有lsmod | grep virtio的输出 lsmod | grep virtio virtio_pci 17389 0 virtio_net 26553 0 virtio_blk 17341 0 virtio_ring 17469 3 virtio_blk,virtio_net,virtio_pci virtio 13058 3 virtio_blk,virtio_net,virtio_pci 我不得不手动添加virtio与modprobe virtio,但它仍然没有解决问题。 添加modprobe virtio等内核模块后,我没有重新启动,但我重新启动libvirtd和virt-manager 它工作正常,但不是与virtio。 内核是否有潜在的问题? 我如何检查内核configuration,这是一个debian杰西与uname -a输出 Linux vmserver 3.14-2-amd64#1 SMP Debian 3.14.15-2(2014-08-09)x86_64 GNU / Linux 感谢mase。 清理我的第一篇文章。 我只注意到guest虚拟机上不存在/ […]
在我inheritance的Debian服务器(VPS)上的init进程有一个nice值设置为+10 。 系统上没有什么特别隐晦的东西。 它有一个LAMP堆栈,并做了很多的IO,并需要尽快升级。 我怀疑是以前的pipe理员设置了它(无论是否意外),所以想知道为init设置一个nice价值是否有任何真正的好处/目的。 我知道初始化是特殊的,我从来没有观察到使用CPU或MEM的初始化过程,所以设置nice它nice价值似乎很奇怪。
我正在尝试从nginx.org上的最新版本安装Nginx。但是,最新的软件包没有find: $ apt-get install nginx Reading package lists… Done Building dependency tree Reading state information… Done nginx is already the newest version.a 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 它看起来像Apt可以看到包,但不select它: $ apt-cache policy nginx nginx: Installed: 1.2.1-2.2+wheezy3 Candidate: 1.2.1-2.2+wheezy3 Version table: 1.6.2-2 0 300 http://ftp.nl.debian.org/debian/ sid/main amd64 Packages 1.6.2-1 0 […]
我的VPS托pipe服务提供商在重启失败后帮助我重新启动Debian VPS。 他告诉我有文件系统的错误,但告诉我参考日志,以了解发生了什么事。 我应该在这里和哪些日志文件中寻找什么样的东西? 提前致谢
我在Debian Jessie,Varnish 4.0.1上 从varnish 4 Wiki "Starting with Varnish 4.0, each VCL file must start by declaring its version with a special "vcl 4.0;" marker at the top of the file." : "Starting with Varnish 4.0, each VCL file must start by declaring its version with a special "vcl 4.0;" marker at the top of […]
我为用户“bob”设置了一个chroot监狱。 bob位于/ var / jails / bob Bob有一个位于/var/jails/bob/bobssite.com/public_html的网站 一切似乎工作到目前为止,包括这一事实,该进程是与鲍勃的uid运行(检查与PHP“exec('whoami')),也就是说,直到我设置在php5-fpmconfiguration文件中的bob的站点chroot /etc/php5/fpm/pool.d/bobssite.com.conf): [bobssite.com] ; Per pool prefix ; It only applies on the following directives: ; – 'slowlog' ; – 'listen' (unixsocket) ; – 'chroot' ; – 'chdir' ; – 'php_values' ; – 'php_admin_values' ; When not set, the global prefix (or /usr) applies instead. ; Note: […]
Apache尝试parsing我的* .tpl文件(其中包含js / html – 下划线模板)。 这是我根本不需要的东西。 所以,如果我将文件重命名为* .html,则内容按原样返回,如果该文件具有“tpl”扩展名,则会收到error handling的结果。 我通过添加行来解决问题 AddType text/plain .tpl 到configuration文件/etc/apache2/mods-enabled/mime.conf 。 但问题仍然是一样的 – 为什么orifinally文件被处理? 另外如果我明确指定 AddType application/octet-stream .tpl 文件也在处理中。 我不知道如何closures这种行为。 error.log / access.log(关于parsing错误)没有任何疑问。 这是Debian 7,Apache / 2.2.22(Debian)。 没有.htaccess 。 虚拟主机设置: <Directory /> Options FollowSymLinks Indexes Order allow,deny allow from all AllowOverride all Header set Access-Control-Allow-Origin "*" </Directory>
在我的Debian(Sid)机器上进行了一些软件包更新之后,我开始遇到如下错误: 来自服务器的错误消息:错误:无法加载库“/usr/lib/postgresql/9.1/lib/postgis-1.5.so”:/lib/x86_64-linux-gnu/libc.so.6:版本GLIBC_2.18 '找不到(需要/usr/lib/x86_64-linux-gnu/libstdc++.so.6) 这主要发生在我试图用PostGIS 1.5对Postgres 9.1数据库进行一些查询的时候。 我该如何解决这个问题? 降级libc6和libcstdc ++软件包没有帮助。
我已经成功地在我的nginx 1.6.2上设置了清漆4,它正在工作,但根据testing http://www.isvarnishworking.com/ 表明 Varnish看起来是在那个url上响应的,但是Cache-Control头的“max-age”值是小于1的,这意味着Varnish永远不会在这个url上从caching中提供内容。 最大年龄值看起来是:0 这可能是故意的,但是如果你想让Varnishcaching这个URL,你将不得不修复应用程序发送给Varnish的最大年龄值。 这意味着它不工作,但不是预期的,searchconfiguration文件,但由于清漆版本4的巨大变化那些configuration文件不起作用。 请帮帮我吧。 谢谢