yum install mysql提示“This system is not registered with RHN”
2013-02-06 22:19
525 查看
红帽中出现This system is not registered with RHN这个的原因是因为红帽中没有注册RHN。解决办法:(假定你已安装yum,且网络畅通)更改yum的源,即更换/etc/yum.repos.d /rhel-debuginfo.repo 这个文件。
进入/etc/yum.repos.d/目录,终端中输入wget http://docs.linuxtone.org/soft/lemp/CentOS-Base.repo即可在此目录下得到CentOS- Base.repo文件,这是centos的源文件,只需将其重命名为rhel-debuginfo.repo即可,以前的文件做个备份。
安装步骤:
本文固定链接: http://www.test-life.org/?p=465 | 测试之路-My Test Space
进入/etc/yum.repos.d/目录,终端中输入wget http://docs.linuxtone.org/soft/lemp/CentOS-Base.repo即可在此目录下得到CentOS- Base.repo文件,这是centos的源文件,只需将其重命名为rhel-debuginfo.repo即可,以前的文件做个备份。
安装步骤:
yum install mysql yum install mysql-server yum install mysql-devel chgrp -R mysql /var/lib/mysql chmod -R 770 /var/lib/mysql service mysqld start mysql SET PASSWORD FOR 'root'@'localhost' = PASSWORD('secret_password'); //设置密码
本文固定链接: http://www.test-life.org/?p=465 | 测试之路-My Test Space
相关文章推荐
- yum install mysql提示“This system is not registered with RHN”
- Centos 下使用 yum 提示 This system is not registered with RHN 的解决办法
- yum提示This system is not registered with RHN.RHN support will be disabled.
- yum提示This system is not registered with RHN.RHN support will be disabled.(转)
- 使用yum提示This system is not registered with ULN / RHN(转)
- RedHat的yum配置 以及 提示“This system is not registered with RHN” 的解决
- 红帽运行yum提示“This system is not registered with RHN”
- RHEL下yum更新出现This system is not registered with RHN解决办法
- yum 失败(This system is not registered with RHN.)解决
- 安装yum (This system is not registered with RHN.)解决方法
- 64位RHEL5系统上运行yum出现"This system is not registered with RHN”的解决方法
- RHEL6 64bit下更改YUM配置。yum this system is not registered with rhn的解决办法
- 亲测---yum安装出现This system is not registered with RHN
- yum 失败(This system is not registered with RHN.)解决方法
- 运行yum出现"Thissystem is not registered with RHN”的解决方法
- 解决Redhat Linux5 yum出现This system is not registered with RHN的方案
- yum 失败(This system is not registered with RHN.)解决
- yum 失败(This system is not registered with RHN.)解决
- 如何解决 yum安装出现This system is not registered with RHN
- Red Hat Enterprise Linux Server(RHEL) yum安装软件时This system is not registered with RHN. RHN support wi