
1.4、编译安装htop
1.5、安装benchmarksql
1.6、安装并替换JDBC驱动
https://www.gnu.org/licenses/.18
[root@opengauss-node1 ~]# wget https://github.com/htop-
dev/htop/releases/download/3.2.0/htop-3.2.0.tar.xz
[root@opengauss-node1 ~]# tar -zxvf htop-3.2.0.tar.gz
[root@opengauss-node1 ~]# cd htop-3.2.0
[root@opengauss-node1 htop-3.2.0]# ./autogen.sh
[root@opengauss-node1 htop-3.2.0]# ./configure
[root@opengauss-node1 htop-3.2.0]# make && make install
-- 验证并查看版本
[root@opengauss-node1 ~]# htop --version
htop 3.2.0
1
2
3
4
5
6
7
8
9
[root@opengauss-node1 ~]# wget
https://udomain.dl.sourceforge.net/project/benchmarksql/benchmarksql-5.0.zip
[root@opengauss-node1 ~]# unzip benchmarksql-5.0.zip
[root@opengauss-node1 ~]# ls -l benchmarksql-5.0
total 36
-rwxr-xr-x 1 root root 1130 May 26 2016 build.xml
drwxr-xr-x 3 root root 4096 May 26 2016 doc
-rwxr-xr-x 1 root root 6376 May 26 2016 HOW-TO-RUN.txt
drwxr-xr-x 5 root root 4096 May 26 2016 lib
-rwxr-xr-x 1 root root 5318 May 26 2016 README.md
drwxr-xr-x 7 root root 4096 May 26 2016 run
drwxr-xr-x 6 root root 4096 May 26 2016 src
1
2
3
4
5
6
7
8
9
10
11
-- 下载对应版本jdbc驱动
[root@opengauss-node1 ~]# wget https://opengauss.obs.cn-south-
1.myhuaweicloud.com/3.1.0/x86/openGauss-3.1.0-JDBC.tar.gz
-- 解压jdbc驱动
[root@opengauss-node1 ~]# tar -zxvf openGauss-3.1.0-JDBC.tar.gz
postgresql.jar
opengauss-jdbc-3.1.0.jar
README_cn.md
README_en.md
[root@opengauss-node1 ~]# mv /root/benchmarksql-5.0/lib/postgres/postgresql-
9.3-1102.jdbc41.jar /root/benchmarksql-5.0/lib/postgres/postgresql-9.3-
1102.jdbc41.jar_bak
[root@opengauss-node1 ~]# cp /root/postgresql.jar /root/benchmarksql-
5.0/lib/postgres/
[root@opengauss-node1 ~]# ls -lrt /root/benchmarksql-5.0/lib/postgres/
total 1408
-rw-r--r-- 1 root root 592322 May 26 2016 postgresql-9.3-
1102.jdbc41.jar_bak
-rw-r--r-- 1 root root 847123 Nov 21 09:31 postgresql.jar
1
2
3
4
5
6
7
8
9
10
11
12
13
14
文档被以下合辑收录
相关文档
评论