From 5027814cd7c49f67c7456381188918a09f70f7d6 Mon Sep 17 00:00:00 2001 From: HarrisChu <1726587+HarrisChu@users.noreply.github.com> Date: Mon, 25 Apr 2022 14:27:48 +0800 Subject: [PATCH 1/2] update ubuntu installation --- README.md | 16 ++++++++++++++++ README_cn.md | 16 ++++++++++++++++ requirements.txt | 1 - 3 files changed, 32 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 68bcd9f..ffcd2b4 100644 --- a/README.md +++ b/README.md @@ -25,6 +25,8 @@ The main features: ### prepare +#### Centos7 + ```bash sudo yum install -y git \ make \ @@ -40,6 +42,20 @@ sudo yum install -y git \ ``` +#### Ubuntu + +```bash +sudo apt-get install -y \ + git \ + wget \ + python3-pip \ + python \ + java-1.8.0-openjdk \ + maven + +export JAVA_HOME=/usr/lib/jvm/default-java/ +``` + ```bash git clone https://github.com/vesoft-inc/nebula-bench.git cd nebula-bench diff --git a/README_cn.md b/README_cn.md index b35fcdb..614f90c 100644 --- a/README_cn.md +++ b/README_cn.md @@ -22,6 +22,8 @@ ### 安装准备 +#### Centos7 + ```bash sudo yum install -y git \ make \ @@ -38,6 +40,20 @@ sudo yum install -y git \ ``` +#### Ubuntu + +```bash +sudo apt-get install -y \ + git \ + wget \ + python3-pip \ + python \ + java-1.8.0-openjdk \ + maven + +export JAVA_HOME=/usr/lib/jvm/default-java/ +``` + ```bash git clone https://github.com/vesoft-inc/nebula-bench.git cd nebula-bench diff --git a/requirements.txt b/requirements.txt index cfe3941..a81d57a 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,3 @@ Jinja2 click python-dotenv -pandas From 613e4b865cc8d645d0af106181d775f932e3a2ae Mon Sep 17 00:00:00 2001 From: HarrisChu <1726587+HarrisChu@users.noreply.github.com> Date: Mon, 25 Apr 2022 14:29:51 +0800 Subject: [PATCH 2/2] fix typo --- README.md | 2 +- README_cn.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index ffcd2b4..f5ee4ce 100644 --- a/README.md +++ b/README.md @@ -50,7 +50,7 @@ sudo apt-get install -y \ wget \ python3-pip \ python \ - java-1.8.0-openjdk \ + openjdk-8-jdk \ maven export JAVA_HOME=/usr/lib/jvm/default-java/ diff --git a/README_cn.md b/README_cn.md index 614f90c..bb19d55 100644 --- a/README_cn.md +++ b/README_cn.md @@ -48,7 +48,7 @@ sudo apt-get install -y \ wget \ python3-pip \ python \ - java-1.8.0-openjdk \ + openjdk-8-jdk \ maven export JAVA_HOME=/usr/lib/jvm/default-java/