How to run SPECcpu + 配置本地yum源

mkdir /root/speccpu2006
mkfs.ext4 /dev/nvme0n1
mount /dev/nvme0n1 /root/speccpu2006
mount -o loop SPEC_CPU2006v1.2.iso /mnt
cp -a /mnt/* /root/speccpu2006
tar xvf FOR-OEMs-cpu2006-1.2-ic17.0-lin-binaries-20160922.tar.xz -C /root/speccpu2006
chmod -R 777 /root/speccpu2006
cd /root/speccpu2006
umount /mnt

============================================================================================
mkdir -p /mnt/rhel
mount RHEL-7.2-20151030.0-Server-x86_64-dvd1.iso /mnt/rhel/
vim /etc/yum.repos.d/local.repo

[local]
name=local
baseurl=file:///mnt/rhel
enabled=1
gpgcheck=0

记住:如果编辑保存local.repo后执行yum update失败,就把文件夹里的local.repo拷贝过来替换掉,然后再次执行yum update

yum update
yum install glibc.i686
yum install -y libgcc.i686 
yum install -y libstdc++.i686

./install.sh
source shrc
export LD_LIBRARY_PATH=/root/speccpu2006/libs/32:/root/speccpu2006/libs/64:$LD_LIBRARY_PATH
./reportable-ic17.0-lin-workstation-core-avx2-rate-smt-on-20160922.sh

 

 

你可能感兴趣的:(Linux)