在ec2上运行cloud9

问题描述 投票:2回答:1

刚刚使用https://github.com/ajaxorg/cloud9上的说明在ec2上安装了cloud9。一切顺利。在aws安全组中打开3131添加了dir cloud9 / projects IDE弹出,当我做了很多事情时崩溃了

Console
[ec2-user@ip-172-30-0-35 cloud9]$ bin/cloud9.sh -l 0.0.0.0 -w projects
mkdir -p plugins-client/lib.ace/www/worker
rm -rf /tmp/c9_worker_build
rm: cannot remove ‘/tmp/c9_worker_build/ext/codecomplete’: Permission denied
rm: cannot remove ‘/tmp/c9_worker_build/ext/csslanguage’: Permission denied
rm: cannot remove ‘/tmp/c9_worker_build/ext/linereport’: Permission denied
rm: cannot remove ‘/tmp/c9_worker_build/ext/jslanguage’: Permission denied
rm: cannot remove ‘/tmp/c9_worker_build/ext/linereport_php’: Permission denied
rm: cannot remove ‘/tmp/c9_worker_build/ext/language’: Permission denied
rm: cannot remove ‘/tmp/c9_worker_build/ext/htmllanguage’: Permission denied
rm: cannot remove ‘/tmp/c9_worker_build/ext/linereport_python’: Permission denied
make: *** [plugins-client/lib.ace/www/worker/worker-language.js] Error 1
Linux 64 bit
connect plugin start
Connect server listening at http://x.x.x.x.0:3131 x.x.x.x replaces zeros in url
IDE SERVER PLUGIN:  auth
IDE SERVER PLUGIN:  git
IDE SERVER PLUGIN:  gittools
IDE SERVER PLUGIN:  hg
IDE SERVER PLUGIN:  npm
IDE SERVER PLUGIN:  filelist
IDE SERVER PLUGIN:  search
IDE SERVER PLUGIN:  revisions
IDE SERVER PLUGIN:  settings
IDE SERVER PLUGIN:  shell
IDE SERVER PLUGIN:  state
IDE SERVER PLUGIN:  watcher
IDE SERVER PLUGIN:  node-runtime
IDE SERVER PLUGIN:  npm-runtime
IDE SERVER PLUGIN:  python-runtime
IDE SERVER PLUGIN:  apache-runtime
IDE SERVER PLUGIN:  ruby-runtime
IDE SERVER PLUGIN:  php-runtime
Started '/home/ec2-user/cloud9/configs/default'!
IDE server initialized. Listening on x.x.x.x.0:3131 x.x.x.x replaces zeros in url

events.js:72
        throw er; // Unhandled 'error' event
              ^
Error: spawn ENOENT
    at errnoException (child_process.js:1000:11)
    at Process.ChildProcess._handle.onexit (child_process.js:791:34)

有没有人有这方面的经验?

amazon-web-services amazon-ec2 cloud9-ide
1个回答
1
投票

一般来说,ENOENT意味着符号链接,套接字,管道,文件,目录等存在一些问题。或者某些东西不存在或者您没有访问权限。我想猜一下套接字或目录相关的东西。

现在还有一种更容易在EC2上运行Cloud9的方法:https://aws.amazon.com/cloud9/

© www.soinside.com 2019 - 2024. All rights reserved.