README.md 597 Bytes

## ubuntu18.04环境下编译skynet 编译步骤

  1. 环境安装
  2. 编译安装jemalloc(使用github镜像链接)
  3. 编译skynet
$ 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

快速开始

$ copy database
$ cd redis-4.0.1
$ make install
$ redis-server database/redis.conf
$ cd server
$ sh restart.sh

重启

cd server
sh restart.sh