Commit 1bde8cc4ffe81199a4f45767f38995cf681b8323

Authored by zhangqijia
1 parent cbc30891

fix: update readme linux 环境编译skynet步骤

Showing 1 changed file with 24 additions and 11 deletions   Show diff stats
README.md
1   -## 快速开始
2   -copy database
3   -
4   -cd redis-4.0.1
  1 +## ubuntu18.04环境下编译skynet
  2 +编译步骤
  3 +1. 环境安装
  4 +2. 编译安装jemalloc(使用github镜像链接)
  5 +3. 编译skynet
5 6  
6   -make install
7   -
8   -redis-server database/redis.conf
  7 +```
  8 +$ sudo apt-get install autoconf libreadline-dev gcc g++ make -y
  9 +$ git clone --depth=1 https://github.com.cnpmjs.org/jemalloc/jemalloc.git skynet/3rd/jemalloc
  10 +$ cd skynet/3rd/jemalloc
  11 +$ ./autogen.sh --with-jemalloc-prefix=je_ && make && sudo make install && cd -
  12 +$ make linux
  13 +```
9 14  
  15 +## 快速开始
  16 +```
  17 +$ copy database
  18 +$ cd redis-4.0.1
  19 +$ make install
  20 +$ redis-server database/redis.conf
  21 +$ cd server
  22 +$ sh restart.sh
  23 +```
  24 +## 重启
  25 +```
10 26 cd server
11   -
12 27 sh restart.sh
  28 +```
13 29  
14   -## 重启
15   -cd server
16 30  
17   -sh restart.sh
18 31 \ No newline at end of file
... ...