服务器问题集锦,包括 Linux(Ubuntu, Centos,Debian等)和Windows Server服务器
我已经取消设置所有代理环境variables,并且在networking代理下将代理更改为无。 尽pipe这样做,每当我运行sudo apt-get更新它尝试连接到代理服务器。 问题在哪里?
我们有一个已经工作了3年的MRTG装置,我注意到在18个月左右的时间里,数据会开始录制一个新的。 现在我想传输安装和所有graphics数据,是否可以将这些数据传输到新的安装? 这是做什么的程序。 安装已经在Freebsd 8.0上完成了,而新版本是Freebsd 10.0
Windows已经安装了freeSSHd。 使用Windowslogin凭据通过SSH从Ubuntu 14.04 LTSloginssh可以正常工作。 使用SFTPlogin也可以正常工作。 此testing正在从VirtualBox中的虚拟机运行到运行Windows 7 Professional的主机。 尝试各种组合(端口是2222): scp -v -P 2222 [email protected]:at.exe . 失败 Next authentication method: password [email protected]'s password: debug1: Authentication succeeded (password). Authenticated to 172.26.170.180 ([172.26.170.180]:2222). debug1: channel 0: new [client-session] debug1: Entering interactive session. debug1: Sending environment. debug1: Sending env LANG = en_US.UTF-8 debug1: Sending command: scp -v -f at.exe […]
我有我的域控制器2008r2存储在networking位置的几个系统状态备份。 我想build立一个testing环境,所以我可以练习恢复域控制器,并testing备份的工作。 我过去尝试过在虚拟机上从零开始创build一个新的服务器,使用DC promo并configurationDHCP和DNS,但是当进入恢复模式时,当我将其指向networking共享时,它不能看到系统状态备份。 这是因为它是一个不同的服务器,用不同的名字? 我试图在一个单独的networking上,以防止任何问题,并与系统状态备份位于虚拟机本身,它仍然不能看到它。 如果我的域控制器死了,它将是一个不同的服务器,所以这就是为什么我有点困惑,也有点担心备份有缺陷。 如何创build一个testing环境或者如何testing域系统状态备份的完整性,任何帮助都是很棒的。 非常感谢 戈登
我试图从cache_access.log中了解这个服务器日志行。 每个领域代表什么,特别是为什么列出三个IP,每个代表什么? [HIT – – – -] 1.1.1.0, 1.1.1.2 (1.1.1.3) – – [25/Apr/2014:00:30:02 +0000] "GET /page/content HTTP/1.1" 200 1721 "http://www.url.com/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/34.0.1847.116 Safari/537.36"
我几个小时前刚刚和Laravel一起玩过,好像打了一堵墙。 我的nginx文档根目录是usr/share/nginx/html/ 。 在这个文件夹里我有一个index.php (显示phpinfo(); )和一个Laravel 4项目,位于文件夹helloworld 在Laravel helloworld项目中,我有一个像这样的routes.php Route::get('/', function() { return 'hello world'; }); Route::get('about', function() { return 'this is about'; }); 浏览到localhost/helloworld/public/ ,它展示了hello world ,这是正确的。 但是浏览到localhost/helloworld/public/about ,它显示了index.php在文档的根html而不是显示this is about 看来我错误地configuration了一些东西。 这是我的nginx的default.conf 请帮忙。 先谢谢你。
当我手动运行用户nagios时,我有bash脚本返回正确的结果。 在nagiosconfiguration中configuration失败。 nagiosconfiguration中的条目 define command { command_name check_s3descrepency command_line /usr/lib64/nagios/plugins/check_s3descrepency $ARG1$ } define service{ use generic-service service_description Check android_event S3 descrepency host_name nagios-server check_command check_s3descrepency!android_event } [root@nagios nagios]# sudo -u nagios /usr/lib64/nagios/plugins/check_s3descrepency android_event OK – 2014-05-07-22-00 Data size match with pre week 2014-04-30-22-00 by 102% [root@nagios nagios]# 启用debugging,以下是日志 [1399529584.757820] [016.0] [pid=1089] Checking service 'Check android_event […]
如何广播我的所有虚拟主机? 雪豹已经回答了这个问题 ,不幸的是,这个主题中指出的configuration文件在Maverick中已经不存在了。
我已经将openvpn的configuration设置为 route 10.8.0.0 255.255.255.0 push "route 10.8.0.0 255.255.255.0" client-to-client 并将ccd / username设置为 iroute 10.8.0.0 255.255.255.0 但是,客户端的networking掩码是255.255.255.252呢。 和服务器的ifconfig是: tun0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 inet addr:10.8.0.1 PtP:10.8.0.2 Mask:255.255.255.255 UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1 我想将客户端和服务器的掩码设置为255.255.255.0,用于客户端到客户端的通信。
我正在运行Ubuntu 12.04.4并将其用作互联网服务器,文件服务器和打印机服务器。 问题是我的公司经理决定限制每个用户每月的带宽和数据量,例如100 Kb / s和5 GB month / user。 用户通过PPTP连接到服务器。 我想知道一个解决scheme,以在服务器上进行此限制。 谢谢你们。