diff --git a/README.md b/README.md index fa15514..4901744 100644 --- a/README.md +++ b/README.md @@ -1,17 +1,30 @@ -## 快速开始 -copy database - -cd redis-4.0.1 +## ubuntu18.04环境下编译skynet +编译步骤 +1. 环境安装 +2. 编译安装jemalloc(使用github镜像链接) +3. 编译skynet -make install - -redis-server database/redis.conf +``` +$ 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 +``` -## 重启 -cd server -sh restart.sh \ No newline at end of file -- libgit2 0.21.2