安装rpm包
rpm -ivh 软件包.rpm
rpm -ivh MySQL-server-5.5.24-1.linux2.6.x86_64.rpm --nodeps --force 后面必须带参数,否则会报错
---------------------------------------------------------------------------------------------------------------------------------
编译createrepo时报错
[root@RedHat01 inteldistro]# createrepo .
ImportError: No module named deltarpm
安装 rpm -ivh createrepo-0.9.8-4.el6.noarch.rpm deltarpm-3.5-0.5.20090913git.el6.x86_64.rpm libxml2-python-2.7.6-1.el6.x86_64.rpm python-deltarpm-3.5-0.5.20090913git.el6.x86_64.rpm
------------------------------------------------------------------------------------------------------------------------------------
rehat 安装软件源"Unable to read consumer identity"报错
进入到 /etc/yum.repos.d, 其中有个rhel-source.repo, 先改名为rhel-source.repo.bak,做个备份
然后新建个 rhel-source.repo 文件内容如下
[Server]
name=Server
baseurl=file:///mnt/cdrom/Server ###光盘挂载点
#baseurl=http://BigData01/cdrom/Server
enabled=1
gpgcheck=0
然后运行
rm -rfv /var/cache/yum/*
yum clean all
------------------------------------------------------------------------------------------------------------------------------------
~
~
~
~
评论专区