http://mirrors.163.com/centos/6/os/i386/repodata/repomd.xml: [Errno 14] PYCURL ERROR 6 - Couldnt resolve host mirrors.163.com Trying other mirror. Error: Cannot retrieve repository metadata (repomd.xml) for repository: base. Please verify...
因为工作需要切换到centos7系统, 网络配置,巨坑爹: 最小化安装的centos7里面甚至连ifconfig、route -ne都没有,需要自行yum install net-tools 安装。 弱弱的问一句,要是网络没通,然后又没有这些基础网络配置查询命令,你教我咋个yum,汗! 服务重启,...
我们克隆CentOS系统后,执行ifconfig -a命令,发现只有eth1网卡,而eth0网卡消失。但是/etc/sysconfig/network-scripts/目录下只有 eth0文件,而 eth1的配置文件不存在。 下 面我们来解决这个问题 1、记录下 eth1的HWADDR和IP地址 直接用 ifconfig -a命令查...
1.首先查看分区 #df -k 1 2 3 4 5 6 7 8 [root@CENTOS-YEARNFAR~]#df-k 文件系统1K-块已用可用已用%挂载点 /dev/mapper/VolGroup-lv_root 51606140730276482544242%/ tmpfs1694576016945760%/dev/shm /dev/sda1495844319494382957%/boot /dev/mapper/VolGrou...
一、准备工作 1 、安装编译工具gcc 、gcc-c++ 注意解决依赖关系,推荐使用yum安装,若不能联网可使用安装光盘做为yum源 1 )编辑yum 配置文件: #mount /dev/cdrom /mnt/cdrom #vi /etc/yum.repos.d/CentOS-Media.repo [c5-media] name=CentOS-$releasever-...
CentOS上 启动虚拟机报错:could not open /dev/vmmon 这些天在CentOS上安装虚拟机,结果启动虚拟机的时候提示could not open /dev/ vmmon:no such file or directory(vmmon模块未加载)。 于是各种搜索,有root下重新安装的,有是因为gcc版本过低的,也有...
VMware中CentOS6.5启动出现An error occurred during the file system check...
VMware中CentOS6.5启动出现An error occurred during the file system check...
背景: 最近客户那边新上一台server,系统是Centos7, 我写个开机执行脚本。 发现的/etc/rc.local不会开机执行,于是认真看了下/etc/rc.local文件内容的就发现了问题的原因了 #!/bin/bash #THISFILEISADDEDFORCOMPATIBILITYPURPOSES # #Itishighlyadvisabletoc...
准备重启网卡,用了两条命令都没能成功 [root@localhost Desktop]# ifup eth0 Active connection state: activating Active connection path: /org/freedesktop/NetworkManager/ActiveConnection/1 ^C** Message: Caught signal 2, shutting down... [root@l...