今天尝试安装了centos系统 玩一玩 刚刚装好的操作系统 ping www.baidu.com的时候  报出 name or service not known 查了好多资料,都没有很好的解决 最后综合好几个资料 解决办法如下: 1 首先 添加dns服务器 vi /etc/resolv.conf 在文件中添加如下两行: nameserver 8.8.8.8nameserver 8.8.4.4 保存退出,重启服务器.之后再ping 一次试一试 如果没有解决 继续: 2 设置一个文件: vi /e…
CentOS 7.2重启网络报错 Failed to start LSB: Bring up/down 我的虚拟机原本有两块网卡,一块叫eno16777736,另一块叫eno5033674.本来是正常使用,后来我下线了eno5033674,也是正常使用吧.后面手残删了ifcfg-eno16777736这个文件,结果# systemctl rstart network.service 就出错了. 使用# journalctl -xe查看日志 发现了一份红色错误(当时没截图) Failed to s…
linux下面重启nfs报错:nfs-server.service:main process exited [root@dhcp-66-83-39 images]# service rpcbind status Redirecting to /bin/systemctl status rpcbind.service rpcbind.service - RPC bind service Loaded: loaded (/usr/lib/systemd/system/rpcbind.service;…
在虚拟机上安装的CentOS,但是当执行ping命令的时候,提示name or service not known 解决方法如下: 1. 添加DNS服务器 vi /etc/resolv.conf 1 在文件中添加如下两行(可以自己选择DNS服务器,这里选的是114的,包括谷歌的8.8.8.8和腾讯的119.29.29.29都可以): nameserver 114.114.114.114 nameserver 114.114.114.115 1 2 两行分别是首选DNS服务器和备选DNS服务器.…
问题描述 CentOS,但是当执行ping命令的时候,提示name or service not known 解决方法 1.添加DNS服务器 vi /etc/resolv.conf 进入编辑模式,增加如下两行内容,分别是首选DNS服务器和备选DNS服务器.(可以自己选择DNS服务器,包括谷歌的8.8.8.8或者腾讯的119.29.29.29都是可以的) nameserver 114.114.114.114 nameserver 114.114.114.115 保存退出.测试一下,如果还是报错,请…
场景:我的centos-204是一台centos的机器,本来用https://www.cnblogs.com/zndxall/p/8297356.html 的centos slave方式搭建ok的,一直在使用中,之前重启机器slave相关服务也是可以自动起来的,但是最近我觉得我的这台机器构建太慢了,让运维帮我加成四核的cpu,结果他加完了,重启了机器,slave相关服务就怎么也起不来,一直报错: 没办法,查询了一圈还是没找到答案,后面干脆重新装了centos-204,启动方式还是“lunch s…
今天在学习Docker的时候 使用yum install docker安装完后启动不了,报错如下: [root@Sakura ~]# service docker start docker: unrecognized service 一直停留在以上步骤,如果有遇到和我一样类似问题的小伙伴可以按照如下方法进行安装,即可安装成功~~ 方法一: 先移除docker [root@Sakura ~]# yum remove docker 再移除docker-selinux(如果你之前有安装过的话) [ro…
使用命令: yum install kubernetes 报错: Error: docker-ce-cli conflicts with :docker--.git07f3374.el7.centos.x86_64 You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest 错误原因: yum安装kubernetes之前已经安装过d…
ubuntu设置静态ip以后忘记设置dns,ping的时候报错:Name or service not known 添加dns即可 vi /etc/resolv.conf nameserver 8.8.8.8 nameserver 8.8.4.4…
报错信息: 克隆完成之后,使用的是NAT模式,进入系统之后有IP地址也可以ping外网,但是没有ifcfg-eth0这个文件,使用setup命令配置网卡时报以下错误: 待解决-…
报错信息: Can't locate ExtUtils/MakeMaker.pm in @INC (@INC contains: /usr/local/lib64/perl                                                                             5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_pe       …
在Centos6下使用yum安装Nginx报错 解决方案: yum install epel-release…
(1)yum安装docker [root@namenode ~]# yum install docker-io (2)启动docker [root@namenode ~]# /etc/init.d/docker restart 停止 docker:                                              [失败] Starting docker:                                   [确定] [root@namenode ~]#…
使用yum命令报错 File "/usr/bin/yum", line 30 except KeyboardInterrupt, e: ^ SyntaxError: invalid syntax 问题出现原因:yum包管理是使用python2.x写的,将python2.x升级到python3.x以后,由于python版本语法兼容性导致问题出现 解决办法: 修改yum配置文件,将python版本指向以前的旧版本 vi /usr/bin/yum #!/usr/bin/python2.7 修…
pip install MySQL-python 报错 pip install MySQL-python DEPRECATION: Python . Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. Looking in indexes: http://mirrors.clou…
本地运行spark报错 18/12/18 12:56:55 WARN Utils: Service 'sparkDriver' could not bind on port 0. Attempting port 1.18/12/18 12:56:55 WARN Utils: Service 'sparkDriver' could not bind on port 0. Attempting port 1.18/12/18 12:56:55 WARN Utils: Service 'sparkDr…
上一篇创建了一个centos的容器,而且已经安装了openssh [root@node6 ~]# docker ps -a f2320c5d3c54 centos minutes ago Exited () seconds ago compassionate_elbakyan [root@node6 ~]# docker images centos_jenkins latest deca1dcb74be minutes ago 703MB 1. 配置作为jenkins 的slave 2. 点击构…
最近阿里云服务器(操作系统centOS 7.x) 安装docker,参照阿里云帮助文档https://help.aliyun.com/document_detail/51853.html?spm=a2c4g.11186623.4.1.32f34c07tZ5Knr. 安装过程顺利进行,包括拉取镜像资源,但是运行容器的时候出现了问题,入下图所示: 尝试了度娘给的各种方案,无法处理,只得阿里云提交工单,进行咨询,沟通一上午的时间,最后也是无果而终. 无奈了,只得回头重新浏览各种博客文章寻找答案,原文参…
1.错误内容 package docker-ce-3:19.03.2-3.el7.x86_64 requires containerd.io >= 1.2.2-3, but none of the providers can be installed - cannot install the best candidate for the job - package containerd.io-1.2.2-3.3.el7.x86_64 is excluded - package container…
./configure --with-mysql=/backup/mysql --with-freetype-dir --with-jpeg-dir --with-png-dir --with-zlib --with-curl --with-gd --enable-gd-native-ttf --with-apxs2=/usr/local/apache/bin/apxs --enable-sockets --with-iconv make时提示: ........................…
VirtualBox error: Kernel driver not installed (rc=1908) Hi all, Let me first say that this is my final resort after googling this issue for the last several hours. None of the solutions that I have found are working for me. My VirtualBox (PUEL, not O…
[root@zabbix ~]# cat /etc/resolv.conf ; generated by /sbin/dhclient-script nameserver 219.141.136.10…
最新文章:Virson's Blog 重新加载网卡时出现的错误如下: [root@vdb1 dev]# service network restart Shutting down interface eth0: Device state: (disconnected) [ OK ] Shutting down interface eth1: [ OK ] Shutting down interface eth2: Device state: (disconnected) [ OK ] Shutt…
重新加载网卡时出现的错误如下: 1 [root@vdb1 dev]# service network restart 2 Shutting down interface eth0: Device state: 3 (disconnected) 3 [ OK ] 4 Shutting down interface eth1: [ OK ] 5 Shutting down interface eth2: Device state: 3 (disconnected) 6 [ OK ] 7 Shutti…
个人博客:https://blog.sharedata.info/ 错误信息:/opt/libreoffice5.2/program/soffice.bin: error while loading shared libraries: libGL.so.1: cannot open shared object file: No such file or directory解决方式:yum install libgl1-mesa-glx…
ERROR: Command errored : command: /usr/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-pS3uLm/mysql-python/setup.py'"'"'; __file__='"'"'/tmp/pip-install-pS3uLm/mysql-python/setup.py'"…
转自(方法1):https://www.cnblogs.com/ECJTUACM-873284962/p/9362840.html…
1.报错 [root@localhost ~]# service iptables save The service command supports only basic LSB actions (start, stop, restart, try-restart, reload, force-reload, status). For other actions, please try to use systemctl. 2.无法执行的原因是/etc/sysconfig/iptables 这个…
centos 6  编译APR包报错 在当前apr 目录 : #Vi configure +31880  ,注释掉此行 再次编译即可.…
一.问题描述: gulp项目在本地windows 10机器上跑没有任何问题,但是放在centos 7虚拟机上跑报错:AssertionError: Task function must be specified. 二.解决: 我本来以为是操错系统的原因,后来搜到一篇文章发现了原因. gulp项目需要全局安装gulp和项目内安装gulp,在该项目下输入命令:gulp -v 能查看到这两个版本号: CLI version和Local version, win10机器上两个都是3.9.1版本,but!…