how to install cloud9 IDE on ubuntu server

前端 未结 2 1035
萌比男神i
萌比男神i 2021-02-01 23:28

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 o

2条回答
  •  鱼传尺愫
    2021-02-02 00:29

    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. Install Git if you haven't already:

      sudo apt-get update && apt-get install build-essential
      sudo apt-get install git
      
    2. Install node.js if you don't already have a recent version installed:

      # 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
      
    3. 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
      
    4. 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/
      
    5. Visit http://localhost:8181 to see the Cloud9 IDE in your browser.

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

提交回复
热议问题