Skip to content

v1.1.0-beta-2

Latest
Compare
Choose a tag to compare
@wuwen5 wuwen5 released this 12 Apr 09:38
· 1 commit to master since this release
a072181

What's Changed

Oracle客户端下载地址

https://www.oracle.com/database/technologies/instant-client/downloads.html

使用RPM安装方式,将以下RPM上传到服务器:

  • oracle-instantclient19.22-basic-19.22.0.0.0-1.x86_64.rpm
  • oracle-instantclient19.22-devel-19.22.0.0.0-1.x86_64.rpm
yum -y localinstall oracle-instantclient19.22-basic-19.22.0.0.0-1.x86_64.rpm
yum -y localinstall oracle-instantclient19.22-devel-19.22.0.0.0-1.x86_64.rpm

使用zip 安装方式

unzip instantclient-basic-linux.x64-19.22.0.0.0dbru.zip
unzip instantclient-sdk-linux.x64-19.22.0.0.0dbru.zip
echo "/root/instantclient_19_22" > /etc/ld.so.conf.d/oracle-instantclient.conf
ldconfig

编译&安装 Sysbench

./autogen.sh
# 使用--with-oracle 支持oracle, 通过--with-oracle-includes --with-oracle-libs指定Oracle客户端路径 (如未安装mysql客户端驱动,可--without-mysql排除默认的mysql支持)
# --with-oracle-libs=lib路径,如rpm安装方式,可指定为/usr/lib/oracle/19.22/client64/lib
# --with-oracle-includes=include路径,如rpm安装方式,可指定为/usr/include/oracle/19.22/client64
./configure --with-oracle --with-oracle-libs=/root/instantclient_19_22 --with-oracle-includes=/root/instantclient_19_22/sdk/include --without-mysql
make -j
make install

New Contributors

  • @wuwen5 made their first contribution in #1

Full Changelog: v1.1.0-beta-1...v1.1.0-beta-2