Install Tpcc-mysql to do stress test, because Tpcc-mysql is BZR tool for version control, so first install BZR
[Email protected]_backup/root] #rpm-UVH http://dl.fedoraproject.org/pub/epel/5/i386/ Epel-release-5-4.noarch.rpmretrieving http://dl.fedoraproject.org/pub/epel/5/i386/ Epel-release-5-4.noarch.rpmwarning:/var/tmp/rpm-tmp. K7uqlw:header V3 dsa/sha1 Signature, key ID 217521f6:nokeypreparing ... ################################## ######### [100%]
Then install BZR
[[Email protected]_backup /root] #yum install bzr -yLoaded plugins: Fastestmirror, refresh-packagekitloading mirror speeds from cached hostfile * epel: ftp.sjtu.edu.cnsetting up install processresolving dependencies-- > running transaction check---> package bzr.x86_64 0:2.1.4-2.el5 will be installed--> processing dependency: python (ABI) = 2.4 for Package: bzr-2.1.4-2.el5.x86_64--> processing dependency: python-paramiko for package: bzr-2.1.4-2.el5.x86_64--> processing dependency: python-elementtree for package: bzr-2.1.4-2.el5.x86_64--> running transaction check---> Package bzr.x86_64 0:2.1.4-2.el5 will be installed--> Processing Dependency: python (ABI) = 2.4 for package: bzr-2.1.4-2.el5.x86_64--> processing dependency: python-elementtree for package: bzr-2.1.4-2.el5.x86_64---> Package python-paramiko.noarch 0:1.7.6-1.el5 will be installed--> processing Dependency: python (ABI) = 2.4 for package: python-paramiko-1.7.6-1.el5.noarch-- > Processing Dependency: python-crypto >= 1.9 for package: Python-paramiko-1.7.6-1.el5.noarch--> running transaction check---> Package bzr.x86_64 0:2.1.4-2.el5 will be installed--> processing dependency: Python (ABI) = 2.4 for package: bzr-2.1.4-2.el5.x86_64--> Processing dependency: python-elementtree for package: bzr-2.1.4-2.el5.x86_64---> Package python-crypto.x86_64 0:2.0.1-22.el6 will be installed---> Package python-paramiko.noarch 0:1.7.6-1.el5 will be Installed--> processing dependency: python (ABI) = 2.4 for package: Python-paramiko-1.7.6-1.el5.noarch--> finished dependency resolutionerror: package: bzr-2.1.4-2.el5.x86_64 (Epel) Requires: python (ABI) = 2.4 installed: python-2.6.6-36.el6.x86_64 (@anaconda-centos-201303020151.x86_64/6.4) python (ABI) = 2.6 Available: python26-2.6.8-2.el5.x86_64 ( Epel) python (ABI) = 2.6error: package: bzr-2.1.4-2.el5.x86_64 (Epel) requires: python-elementtreeerror: package: python-paramiko-1.7.6-1.el5.noarch (Epel) requires: python (ABI) = 2.4 installed: python-2.6.6-36.el6.x86_64 (@anaconda-centos-201303020151.x86_64/6.4) python (ABI) = 2.6 Available: python26-2.6.8-2.el5.x86_64 (Epel) python (ABI) = 2.6 you could try using --skip-broken to work around the problem You could try running: rpm -va --nofiles --nodigest
Find error message, version is not compatible, Google Help
Http://serverfault.com/questions/322911/centos-6-yum-update-packages-skipped-because-of-dependency-problems
It turns out that the Epel installed version is incorrect. To view the actual system version:
#cat/etc/redhat-release CentOS Release 4.0 (Final) This file is easily modified and cannot be authentic [[email protected]_backup/opt/tpcc-mysql] #cat/etc/ Issuecentos Release 6.4 (Final) Kernel \ r on an \m
Delete the old Epel version. Use the new
#rpm -ivh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpmRetrieving Http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpmwarning: /var/tmp/rpm-tmp. qaksyl: header v3 rsa/sha256 signature, key id 0608b895: nokeypreparing... ########################################### [100%] 1:epel-release ########################################### [100%] [[email protected]_backup /root] #yum clean allLoaded plugins: fastestmirror, refresh-packagekitcleaning repos: aliyun epel local-232cleaning Up everythingcleaning up list of fastest mirrors[[email protected]_backup /root] #yum -y install bzrinstalled: bzr.x86_64 0:2.1.1-2.el6 dependency installed: python-crypto.x86_64 0:2.0.1-22.el6 python-paramiko.noarch 0:1.7.5-2.1.el6 complete!
At this point can be installed correctly, no error.
Installing TPCC
[Email protected]_backup/opt] #bzr Branch Lp:~percona-dev/perconatools/tpcc-mysqlyou has not informed BZR of your Laun Chpad ID, and you must does this towrite to Launchpad or access private data. See "Bzr help Launchpad-login". Branched revision (s). Cd/opt/tpcc-mysql/srcexport Ld_library_path=/usr/local/mysql/libexport c_include_path=/usr/local/mysql/ Includemake-j 2
Installation Tpcc-mysql Error