This is an automated email from the ASF dual-hosted git repository.
twice pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/kvrocks-website.git
The following commit(s) were added to refs/heads/main by this push:
new 3de0e1b Update commands in getting-start (#132)
3de0e1b is described below
commit 3de0e1bdf5c5662f43872d6aa29177a7c0e3c54e
Author: Twice <[email protected]>
AuthorDate: Sat Jul 15 14:41:17 2023 +0800
Update commands in getting-start (#132)
---
docs/getting-started.md | 21 ++++++++++++++-------
1 file changed, 14 insertions(+), 7 deletions(-)
diff --git a/docs/getting-started.md b/docs/getting-started.md
index 7000954..257e819 100644
--- a/docs/getting-started.md
+++ b/docs/getting-started.md
@@ -25,26 +25,33 @@ redis-cli -p 6666
### Install dependencies
<Tabs>
-<TabItem value="centos" label="CentOS/RedHat" default>
+<TabItem value="debian" label="Ubuntu/Debian">
```shell
-sudo yum install -y epel-release
-sudo yum install -y git gcc gcc-c++ make cmake autoconf automake libtool which
+sudo apt update
+sudo apt install -y git build-essential cmake libtool python3 libssl-dev
```
</TabItem>
-<TabItem value="debian" label="Ubuntu/Debian">
+<TabItem value="centos" label="CentOS/RedHat" default>
```shell
-sudo apt update
-sudo apt install gcc g++ make cmake autoconf automake libtool
+sudo yum install -y centos-release-scl-rh
+sudo yum install -y git devtoolset-11 autoconf automake libtool
libstdc++-static python3 openssl-devel
+# download and install cmake via https://cmake.org/download
+wget
https://github.com/Kitware/CMake/releases/download/v3.26.4/cmake-3.26.4-linux-x86_64.sh
-O cmake.sh
+sudo bash cmake.sh --skip-license --prefix=/usr
+# enable gcc and make in devtoolset-11
+source /opt/rh/devtoolset-11/enable
```
</TabItem>
<TabItem value="macos" label="macOS">
```shell
-brew install autoconf automake libtool cmake
+brew install git cmake autoconf automake libtool openssl
+# please link openssl by force if it still cannot be found after installing
+brew link --force openssl
```
</TabItem>