我的问题是这样的:在安装nagios,编译nrpe和nagios-plugin时都出现下面的错误 [root@localhost nagios-plugins-2.1.2]# ./configure checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes che...
在VMware里克隆出来的CentOSLinux。。 ifconfig...没有看到eth0.。然后重启网卡又报下面错误。 故障现象: service network restart Shutting down loopback insterface: [ OK ] Bringing up loopback insterface: [ OK ] Bringing up interface eth0: Devic...
配置yum源(本地) 挂载系统安装光盘mount /dev/cdrom /mnt/cdrom/ 在linux 输入如下命令:cd /etc/yum.repos.d/,然后ls显示yum.repos.d文件里面的文件有:CentOS-Base.repo CentOS-CR.repo CentOS-Debuginfo.repo CentOS-fasttrack.repo CentOS-Media.repo...
虚拟机里的CentOS 7安装的Apache(httpd),yum方式安装过了,源码包方式也安装过了。本来是想检测软件是否安装成功的。在主机里访问虚拟机,压根不能访问。后来查相关资料得知是防火墙问题。 运行下面一条命令即可把tcp的80端口设置成允许任何IP都可以访问...
出现虚拟网卡是因为安装时启用了 libvirtd 服务后生成的 关闭方法 virsh net-list 名称 状态 自动开始 持久 --------------------------------------------------------- default active yes virsh net-destroy default virsh net-undefine default systemct...
磁盘分区格式MBR限制了单块磁盘大小为2TB,如果想挂载超过2TB的磁盘,就要换成其他格式如GPT格式。 因为帮助客户使用OnApp搭建云平台,存储先用6TB在测试,所以需要通过其他格式来挂载这6TB的磁盘。分享下Linux上(我用的CentOS5.9 x86_64)挂载使用6TB的Del...
监控命令 who 用户名 登录终端(tty本地终端 pts1远程终端 登录时间 远程登录地址) w:监视用户 uptime:显示第一行 1.系统当前时间 2.up多久没关机了 3.4 users有多少用户登录了 5.load average 1分钟5分钟15分钟的负载均衡,主要指CPU和内存的负载情况 5.ID...
问题: CentOS 7上编译Fastdfs libfastcommon,出现Error: expecting string instruction after `rep错误。 [root@localhost libfastcommon-1.0.35]#./make.sh cc -Wall -D_FILE_OFFSET_BITS=64-D_GNU_SOURCE -g -O3 -c -o hash.o hash.c /tmp/ccG7CWvO.s: A...
现象:启动sshd服务时,虽看似服务启动成功,但客户端并不能连接上sshd服务器端。 如下: 点击( 此处 )折叠或打开 [ root@aefe8007a17d ~ ] # / usr / sbin / sshd Could not load host key : / etc / ssh / ssh_host_rsa_key Could not load host key : / e...
Centos7 上使用gdb: $ gdb php$ run /home/www/2.php 运行完 run,后面跟着很长的提示: . Missing separate debuginfos, use: debuginfo-install cyrus-sasl-lib-2.1.26-17.el7.x86_64 glibc-2.17-55.el7_0.3.x86_64 keyutils-libs-1.5.8-3.el7.x86_64 krb5...