内网部署 YApi
Ubuntu 20.04 虚拟机下载手动部署 YApi 服务。 适用 Yapi v1.10.x 版本 环境要求 nodejs 版本 v12.x; mongodb 版本 v4.4; 安装 nodejs 系统默认 nodejs 版本为 10.x ,直接安装可能失败,需要升级至 12.x 版本。 12345678# 导入秘钥,注册源,更新curl -fsSL https://deb.nodesource.com/setup_12.x | sudo -E bash -# 安装sudo apt install -y nodejs# 替换 npm 源npm config set registry https://registry.npmmirror.com 安装 mongodb 12345678# 导入秘钥wget -qO - https://www.mongodb.org/static/pgp/server-4.4.asc | sudo apt-key add -# 注册源echo "deb [ arch=amd64,arm64 ] https://repo.mo...
