rpm

linu下rpm安装和卸载jdk

安装jdk-8u92:rpm -ivh rpm -ivh jdk-8u92-linux-x64.rpm 安装时出现如下错误,提示文件冲突,表明正在安装的jdk-8u92和已安装的jdk-7u79冲突: file /etc/init.d/jexec from install of jdk-2000:1.7.0_21-fcs.x86_64 conflicts with file

CentOS制作本地rpm源

安装createrepo yum install createrepo制作本地rpm源 cd /opt/yliyun/conf createrepo ./rpmrepo配置 新建CentOS-Local.repo /opt/yliyun/conf/CentOS-Local.repo # CentOS-Local.repo # # This repo can be used