我有一台带有Areca 1880i RAID卡的64位CentOS 6.0 Linux计算机。 RAID卡有自己的以太网端口,但现在没有连接任何东西。 而不是使用该以太网端口的电子邮件通知,我想从主板上的以太网端口发送电子邮件通知。 我猜想将RAID卡上的以太网端口直接连接到互联网是安全的,因为它运行着自己的基于固件的networking服务器。 在这个槟榔网页上: http://www.areca.com.tw/support/s_linux/linux.htm 有archttp软件的下载链接 http://www.areca.us/support/s_linux/http/x86_64/archttp64.zip [root@server ~]# wget –quiet http://www.areca.us/support/s_linux/http/x86_64/archttp64.zip [root@server ~]# unzip archttp64.zip Archive: archttp64.zip inflating: archttp64 [root@server ~]# chmod 755 archttp64 [root@server ~]# ./archttp64 -h Usage: archttp32 [TCP Port#] To Terminate the archttp: Press CTRL-C Command for reconfiguring the archttp: kill -sHUP <archttp's pid> [root@server ~]# […]
有没有办法获得DTrace的printf输出字节在人类可读的格式GB,TB,…? 例如这里: #!/usr/sbin/dtrace -s #pragma D option quiet dtrace:::BEGIN { trace("Tracing… Hit Ctrl-C to end.\n"); } nfsv3:::op-read-done { @readbytes[args[1]->noi_curpath] = sum(args[2]->res_u.ok.data.data_len); } nfsv3:::op-write-done { @writebytes[args[1]->noi_curpath] = sum(args[2]->res_u.ok.count); } dtrace:::END { printf("\n%12s %12s %s\n", "Rbytes", "Wbytes", "Pathname"); printa("%@12d %@12d %s\n", @readbytes, @writebytes); } 来源http://wikis.sun.com/display/DTrace/nfsv3+Provider
我的openSUSE 11.3networking有问题。 所以,我已经为它分配了IP地址192.168.137.2,而另一台计算机(Windows 7)的IP地址是192.168.137.1。 在openSUSE上,网关是192.168.137.1。 ping的结果是 ping 192.168.137.1 PING 192.168.137.1 (192.168.137.1) 56(84) bytes of data. 64 bytes from 192.168.137.1: icmp_seq=1 ttl=128 time=2.53 ms 64 bytes from 192.168.137.1: icmp_seq=2 ttl=128 time=0.437 ms ^C — 192.168.137.1 ping statistics — 2 packets transmitted, 2 received, 0% packet loss, time 1001ms rtt min/avg/max/mdev = 0.437/1.487/2.537/1.050 ms 路由是: route -n […]
我有一个使用gfx_passthrough选项的testingxen安装。 它似乎运行良好。 但是,大约15分钟后,整个安装重新启动没有任何明显的原因。 我没有看到日志中的任何暗示原因的东西。 我怎样才能追踪/缩小这个? 即没有任何login/ usr / log / messages或任何xen日志文件。 我应该启用核心转储,并尝试debugging?
我有一个内有近100,000个文件的目录。 我想复制20,000个到另一个目录。 是否有可能做到这一点与cp命令或有任何其他方式?
我在Ubuntu KVM主机上有两个虚拟机 – www.example.com和uat.example。 我可以ping和SSH到我的UAT服务器,但我无法SSH到我的WWW服务器,即使我可以ping它。 两个虚拟机之间唯一不同的是IP组。 UAT服务器的IP是:59.134.127.155 WWW服务器的IP是:168.127.204.236 主机KVM服务器的IP为:59.134.127.157 所有连接都通过的主机KVM服务器上有一个桥梁。 这是我的/ etc / network / interfaces文件: # The loopback network interface auto lo iface lo inet loopback # The primary network interface auto eth0 iface eth0 inet manual # The primary bridge interface auto br0 iface br0 inet static address 59.134.127.157 netmask 255.255.255.248 gateway 59.134.127.153 […]
我的客户端的linux服务器有问题。 有人可以知道我的linux服务器上目录结构大小的最大限制是什么? 我无法在我的网站的根目录1目录中创build超过8000个目录。
当我将SSL添加到我的nginx.conf时出现以下错误:[emerg]:在/etc/nginx/nginx.conf中不允许使用“server”指令:106 NGINX版本:nginx / 0.8.54 这是我的nginx.conf hpw的样子: ####################################################################### # # This is the main Nginx configuration file. # # More information about the configuration options is available on # * the English wiki – http://wiki.nginx.org/Main # * the Russian documentation – http://sysoev.ru/nginx/ # ####################################################################### #———————————————————————- # Main Module – directives that cover basic functionality # # […]
我已经使用这个 howto设置了一个CentOS 5 OpenVPN服务器。 testing客户端是另一个CentOS 5,我已经将ca.crt , client1.crt , client1.key和client.conf client1.key到了。 我没有看到任何错误 openvpn –config client.conf 在客户端上,并且在服务器日志中看不到任何错误消息。 客户端上的ifconfig只显示我eth0和lo , route默认网关没有改变为openvpn的IP地址。 题 如何知道VPN连接是否已build立并正在工作? 我应该期待什么命令输出? 更新 当我看这个 howto时,他configuration了iptable。 我也应该这样做吗? UPDATE2 问题可能是我的testing客户端是VMware VM。 当我尝试使用裸机客户端时,我得到了tun0设备。 为什么我不能在VMware虚拟机中使用OpenVPN连接,但我认为这是我遇到的问题。
我有一个使用交叉电缆连接到MySQL数据库服务器的Magentonetworking服务器(CentOS)。 有一天,我升级了Magento服务器。 我从旧的Magento服务器断开交叉电缆,并将其插入新的。 我能够连接到MySQL,但它花了大约90秒。 当我试图打开网页基本上超时。 为什么这么慢? 什么types的caching等我需要清除? 我完全重新启动了两台服务器,以确保它不是一些随机服务。