立即注册 登录
SCMLife.com 返回首页

okala的个人空间 http://space.scmlife.com/?70806 [收藏] [复制] [分享] [RSS]

日志

用unixbench给Linux系统评分

已有 1362 次阅读2012-7-4 16:03 |个人分类:Linux| 系统, Linux

How to run unixbench:
For CentOS
add enabled=0 to /etc/yum.repo.d/CentOS-Base.repo each repo
modify /etc/yum.repos.d/CentOS-Media.repo as:
[CentOS5.8x64]
name=CentOS-$releasever - Media
#baseurl=file:///var/ftp/pub/centos5.8x64/
baseurl=ftp://grouper/pub/centos5.8x64/
gpgcheck=0
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5

to fix gcc: Command not found
yum list gcc
yum install gcc.x86_64

to fix
./src/ubgears.c:48:22: error: X11/Xlib.h: No such file or directory
./src/ubgears.c:49:23: error: X11/Xutil.h: No such file or directory
./src/ubgears.c:50:24: error: X11/keysym.h: No such file or directory
./src/ubgears.c:51:19: error: GL/gl.h: No such file or directory
./src/ubgears.c:52:20: error: GL/glx.h: No such file or directory
yum list xorg-x11*
yum install xorg-x11*

to fix /usr/bin/ld: cannot find -lXext
rpm -ql libXext
ln -s /usr/lib64/libXext.so.6.4.0 /usr/lib/libXext.so

cd /root/unixbench-5.1.2
./Run &

For Red Hat Enterprise Linux
vi /etc/yum.repos.d/rhel-media.repo
[rhel5.7x64-arise]
name=RHEL
baseurl=ftp://aries/pub/rhel5.7x64/Server/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release

yum install gcc.x86_64
yum install xorg-x11*
ln -s /usr/lib64/libXext.so.6.4.0 /usr/lib/libXext.so

cd /root/unixbench-5.1.2
./Run &


鸡蛋

鲜花

评论 (0 个评论)

facelist doodle 涂鸦板

您需要登录后才可以评论 登录 | 立即注册



QQ|小黑屋|手机版|无图版|SCMLife.com ( 京ICP备06056490号-1 )

GMT+8, 2017-4-30 16:06 , Processed in 0.530560 second(s), 6 queries , Gzip On, Memcache On.

Powered by JoyShare X3.2 Licensed

© 2006-2013 JoyShare.

返回顶部