postgresql:没有这样的文件或目录,使用ssh,cpanel

时间:2016-08-21 19:53:47

标签: postgresql ssh cpanel

我正在使用Windows 7和putty来访问我的主机(cPanel)的ssh。

使用本指南:https://forums.cpanel.net/threads/installing-postgresql-howto.13474/

我检查了我的cpanel和whm并没有找到任何名为postgre / postgresql的东西,所以我尝试通过ssh命令行。

但是当我输入这个命令时

myuser@host [~]# /scripts/installpostgres
-bash: /scripts/installpostgres: No such file or directory

在链接中它表示登录到root shell但是我使用我的cpanel id登录,可能是这一步是有原因的!

提前感谢。

1 个答案:

答案 0 :(得分:0)

我认为您尚未使用root用户登录服务器。请使用root用户登录cPanel服务器并尝试使用相同的命令。