Blame view

README.md 597 Bytes
1bde8cc4   zhangqijia   fix: update readm...
1
2
3
4
5
  ## ubuntu18.04环境下编译skynet
  编译步骤
  1. 环境安装
  2. 编译安装jemalloc(使用github镜像链接)
  3. 编译skynet
7f1e84e6   gaofengduan   add readme
6
  
1bde8cc4   zhangqijia   fix: update readm...
7
8
9
10
11
12
13
  ```
  $ sudo apt-get install autoconf libreadline-dev gcc g++ make -y
  $ git clone --depth=1 https://github.com.cnpmjs.org/jemalloc/jemalloc.git skynet/3rd/jemalloc
  $ cd skynet/3rd/jemalloc
  $ ./autogen.sh --with-jemalloc-prefix=je_ && make && sudo make install && cd -
  $ make linux
  ```
7f1e84e6   gaofengduan   add readme
14
  
1bde8cc4   zhangqijia   fix: update readm...
15
16
17
18
19
20
21
22
23
24
25
  ## 快速开始
  ```
  $ copy database
  $ cd redis-4.0.1
  $ make install
  $ redis-server database/redis.conf
  $ cd server
  $ sh restart.sh
  ```
  ## 重启
  ```
7f1e84e6   gaofengduan   add readme
26
  cd server
7f1e84e6   gaofengduan   add readme
27
  sh restart.sh
1bde8cc4   zhangqijia   fix: update readm...
28
  ```
7f1e84e6   gaofengduan   add readme

7f1e84e6   gaofengduan   add readme