一、根据官方文档安装YApi
文档地址:https://hellosean1025.github.io/yapi/devops/index.html#%e5%ae%89%e8%a3%85
1、可视化部署
npm install -g yapi-cli --registry https://registry.npm.taobao.org
2、启动YApi服务
yapi server
3、开放9090端口,并重启防火墙
firewall-cmd --zone=public --add-port=9090/tcp --permanent
firewall-cmd --reload
4、远程访问:ip:9090,本地访问:0.0.0.0:9090