Appearance
运行环境
搭建后端运行环境
推荐
宝塔面板 和 phpstudy 都是很常见的运行环境。以下两种根据自己系统类型选择其一即可。
PHP7.4
mysql5.7
nginx1.22.1
1. lnmp环境(生产环境建议使用)
- Linux面板的安装: https://www.kancloud.cn/chudong/bt2017/443922
- LNMP环境的安装:https://www.kancloud.cn/chudong/bt2017/424212
2. wamp环境(开发环境建议使用)
- phpStudy V8下载: https://www.xp.cn/download.html
- phpStudy V8安装:https://www.xp.cn/phpstudy-v8/download.html
搭建前端运行环境
推荐
Node.js 版本要求14.x以上,这里nodejs版本14.18.1 ,npm 版本6.14.15,nodejs和npm版本要匹配
1. nodejs
- nodejs安装: https://nodejs.org/en/download/releases
- nodejs参考文档:http://www.nodejs.com.cn/api-v14/index.html
2. npm
- npm参考文档:https://www.npmjs.cn/
3. nodejs 和 npm 版本匹配表
nodejs | npm |
---|---|
20.1.0 | 9.6.4 |
19.9.0 | 9.6.3 |
18.16.0 | 9.5.1 |
17.9.1 | 8.11.0 |
16.20.0 | 7.7.6 |
14.21.3 | 6.14.18 |