[英]Installing node.js on Dreamhost VPS
I am trying to install node.js to Dreamhost VPS. 我正在尝试将node.js安装到Dreamhost VPS。 I have followed the directions for Debian here https://github.com/joyent/node/wiki/Installing-Node.js-via-package-manager everything works great until I run
我在这里按照Debian的说明https://github.com/joyent/node/wiki/Installing-Node.js-via-package-manager一切正常,直到我跑
$checkinstall
Then it says 然后它说
Failed to create temp dir! 无法创建临时目录! ** Do you have write permission for /var/tmp?
**你有/ var / tmp的写权限吗?
* * Aborting installation. * *中止安装。
I cannot figure out how to change the directory based on the instructions. 我无法弄清楚如何根据说明更改目录。 Any help would be greatly appreciated.
任何帮助将不胜感激。
Updated** 更新**
When I contacted DH support they said "Our directory is not located at /var/tmp its > at /tmp so you just need to update your configuration to reflect the > correct path." 当我联系DH支持时,他们说:“我们的目录不在/ var / tmp它位于/ tmp,所以你只需要更新配置以反映>正确的路径。”
How to do what they suggested?... 怎么做他们建议的?...
This worked for the var/tmp
issue: 这适用于
var/tmp
问题:
sudo mkdir /var/tmp
sudo chmod 1777 /var/tmp
**Updated **更新
Here is how to install node.js to DreamHost: 以下是如何将node.js安装到DreamHost:
tar -zxf node-v0.10.22.tar.gz
cd node-v0.10.22
./configure && make && sudo make install
Viola! 中提琴!
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.