本文介绍了如何在Ubuntu服务器上安装cloud9 IDE的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个开发服务器,该服务器主要运行基于python的应用程序。
我喜欢cloud9之类的工具的界面,但是由于我有一台服务器,所以我希望自己的服务器上有类似的东西。这就是我所说的自我托管。我只需要编辑本地文件(即该服务器上的文件)。

I have a development server which runs mostly python-based apps.I like the interface of tools like cloud9, but since I have a server I'd rather have something similar on my own server. This is what I mean by "self-hosting". I only need to edit local files (ie, files on that server).

该服务器正在运行Ubuntu服务器12.04。
cloud9显然可用于自托管,但我从未使用过node.js,并且我也不想尽可能了解它。我知道cloud 9还可以与其他服务器进行ssh集成,但是我希望找到一个可以轻松在Ubuntu上安装并轻松配置的软件包。

The server is running Ubuntu server 12.04.cloud9 is apparently available for self-hosting, but I have never used node.js and I don't want to learn about it if possible. I know that cloud 9 also offer ssh integration with other servers, but I'm hoping to find a package I can easily install on Ubuntu and easily configure.

有一个

推荐答案

Cloud9的git存储库和说明自发布其他答案以来已更改。有关更多信息,请参见。以下说明似乎适用于我在普通的Ubuntu 14.04上使用。

Cloud9's git repository and instructions have changed since the other answer was posted. See https://github.com/c9/core/ for more information. The following instructions seem to work for me on a vanilla Ubuntu 14.04.


  1. (如果尚未安装)

sudo apt-get update && apt-get install build-essential
sudo apt-get install git


  • 安装node.js :

    # Install node.js
    wget -O  ~/node-v0.10.33-linux-x64.tar.gz http://nodejs.org/dist/v0.10.33/node-v0.10.33-linux-x64.tar.gz
    tar -zxf ~/node-v0.10.33-linux-x64.tar.gz
    rm       ~/node-v0.10.33-linux-x64.tar.gz
    echo 'export PATH=$PATH:~/node-v0.10.33-linux-x64/bin' >> ~/.bashrc
    source ~/.bashrc
    


  • 下载并设置Cloud9:

  • Download and setup Cloud9:

    # Setup and start Cloud9 server
    # (You can get a zip file instead of using git)
    git clone https://github.com/c9/core.git c9sdk
    c9sdk/scripts/install-sdk.sh
    


  • 服务器成功启动后,可以使用 Ctrl-C 停止服务器。然后,您可以使用其他工作空间启动它:

  • After the server starts successfully, you can stop it with Ctrl-C. Then you can start it with a different workspace:

    node c9sdk/server.js -w ~/my_workspace/
    


  • 访问在浏览器中查看Cloud9 IDE。

  • Visit http://localhost:8181 to see the Cloud9 IDE in your browser.

    如果您不喜欢自托管Cloud9 Web-IDE,您可以尝试,。

    If you don't like the self-hosted Cloud9 web-IDE, you can try Orion, Codiad, or Codebox.

    这篇关于如何在Ubuntu服务器上安装cloud9 IDE的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

  • 07-03 07:12