By accessing the website and accepting the Cookie Policy, you agree to use the cookies provided by the Site in accordance with to analyze traffic, remember your preferences, and optimize your experience.

分类 - 宝塔面板

宝塔面板    2018-11-21 19:20:31    1873    0    0

首先,将对应版本的node/bin添加至全局目录即可,运行命令:

export PATH=$PATH:/www/server/nvm/versions/node/v10.13.0/bin​

其中“v10.13.0”为node当前使用的版本号。

至此,就可以在全局中使用npm和pm2命令了。

宝塔面板    2018-11-21 19:20:31    1946    0    0

尝试使用以下命令安装,看看具体报什么错:

bash /www/server/panel/install/nginx.sh install 1.15

再根据报错,手动安装缺少的库后,再尝试安装nginx即可正常安装。

宝塔面板    2018-11-21 19:20:31    2786    0    0

尝试使用以下命令安装,看看具体报什么错:

bash /www/server/panel/install/mysql.sh install 5.6

再根据报错,手动安装缺少的库后,再尝试安装mysql即可正常安装。

 

错误提示:

mysql.sh: line 270: cmake: command not found
make: *** No targets specif