摘要:
1. 使用nvm安装node之后,直接运行node命令会报错 node: command not found 需要使用nvm ls 查询一下当前使用的安装的node版本,然后使用node use 版本号 ,在运行node -v 就可以了 2. 但是当重新连接服务器后,运行node又会报错 node: 阅读全文
摘要:
nginx 正常启动,可以访问服务器地址:welcome to nginx 使用nginx -t 等命令时 报错:nginx: command not found 这是环境变量未配置 配置环境变量 vim /etc/profile # /usr/local/webserver/nginx/sbin 阅读全文