wsjz_01 发表于 2018-10-1 07:23:26

tpcc-mysql install-wdegang

  原文在这里:http://wiki.bazaar.canonical.com/DistroDownloads#CentOS.2FRHEL
CentOS/RHEL
  Note: RHEL didn't start including python-2.4 until RHEL-5 so there won't be prepackaged versions of bzr for RHEL-4 and earlier. For Red Hat Enterprise Linux and derivative distributions like CentOS and Scientific Linux bzr packages are available from the EPEL repository. EPEL (Extra Packages for Enterprise Linux) is a repository created by the Fedora Project to bring packages present in Fedora to CentOS and RHEL.
  If you do not have the EPEL repository enabled, the first step is to enable it:
  su -c 'rpm -Uvh http://dl.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm'
  Then you can use yum to install the bzr package: su -c 'yum install bzr'
  If the latest bzr version is not found by yum, you may also check the EPEL-testing repository. This is done by editing the /etc/yum.repos.d/epel-testing.repo file (installed by the previous rpm command) and changing the first "enabled=0" to "enabled=1". Reexecute the yum command to search for bzr again: su -c 'yum install bzr'
  这里写的是为了安装一个bzr命令,用此命令下载tpcc-mysql的源码,然后安装。
  yum install bzr
  bzr branch lp:~percona-dev/perconatools/tpcc-mysql
  cd tpcc-mysql/src
  make
  ok
  这是会生成两个tpcc的工具tpcc-start和tpcc-load
  之后你就可以测试了

页: [1]
查看完整版本: tpcc-mysql install-wdegang