
linux
文章平均质量分 85
muziwenrong
欢迎加群交流
144342994
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
VI使用手册(网络整理)
进入vi的命令 vi filename :打开或新建文件,并将光标置于第一行首 vi +n filename :打开文件,并将光标置于第n行首 vi + filename :打开文件,并将光标置于最后一行首 vi +/pattern filename:打开文件,并将光标置于第一个与pattern匹配的串处 vi -r filename :在上次正用vi编辑时转载 2014-09-04 11:25:59 · 324 阅读 · 0 评论 -
Cannot retrieve repository metadata (repomd.xml) for repository: local. Please verify its path and t
Centos6 使用yum安装时报错 Cannot retrieve repository metadata (repomd.xml) for repository: local. Please verify its path and try again 查看/etc/yum.repos.d/中的.repo文件 找到name=local的repo文件 [local] name=l原创 2017-05-08 09:50:10 · 1170 阅读 · 0 评论 -
VMWare Centos 设置时区和时间
设置虚拟机里面的Centos时区和时间会出现设置以后无效的现象 正常情况下使用tzselect可以设置 但虚拟机下需要另外的方法 其实RHEL设置时区很简单,在shell下几步就可以完成。 1.查看当前系统的时区 #cat /etc/sysconfig/clock //可以看到是美国/洛杉矶 2.vim /etc/sysconfig/clock ZON原创 2017-05-17 15:16:23 · 2769 阅读 · 0 评论 -
GPG key retrieval failed: [Errno 14] Could not open/read file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql
GPG key retrieval failed: [Errno 14] Could not open/read file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql 此类问题大多是系统中没有RPM-GPG-KEY-xxx这个文件 进入相应的.repo文件中 找到baseurl的值 mysql.repo [mysql57-community] name=M原创 2017-05-09 10:41:43 · 767 阅读 · 0 评论 -
Centos6下编译安装gcc6.4.0
转载自博客园 https://www.cnblogs.com/milton/p/7653760.html 保存学习用。 Centos6自带的gcc4.4.7不支持c++11, 于是编译安装最新版的gcc wget https://gmplib.org/download/gmp/gmp-6.1.2.tar.xz tar xvf gmp-6.1.2.tar.xz cd gmp转载 2017-11-30 11:31:17 · 4686 阅读 · 0 评论