- yum安装依赖库
sudo yum install -y gcc-c++
sudo dnf install -y make
sudo dnf install -y libffi openssl libtool
sudo dnf install -y git
sudo dnf install -y readline-devel autoconf
sudo dnf install -y openssl-devel
2.git clone skynet项目
git clone https://github.com/cloudwu/skynet.git
- 修改Makefile,启动TLS编译来支持ssl
-# TLS_MODULE=ltls
+TLS_MODULE=ltls
TLS_LIB=
TLS_INC=
- 编译skynet
cd skynet
make linux
5.测试运行skynet
./skynet examples/config
网友评论