Eclipse Che is a developer workspace server and cloud IDE.
curl -sSL https://get.docker.com/ | sh sudo usermod -aG docker $your_user
sudo apt-get install -y python-software-properties sudo add-apt-repository ppa:webupd8team/java sudo apt-get update sudo apt-get install -y oracle-java8-installer
and then add to PATH, and set JAVA_HOME environment variable for Che to use
export JAVA_HOME=/usr export PATH=$JAVA_HOME/bin:$PATH
wget http://www-us.apache.org/dist/maven/maven-3/3.3.9/binaries/apache-maven-3.3.9-bin.tar.gz tar zxvf *.tar.gz
and then add to PATH
git clone https://github.com/eclipse/che.git cd che/assembly mvn clean install cd che/assembly/assembly-main/target/eclipse-che-<version>/eclipse-che-<version>
or if you're going to access from non localhost web browser
bin/che.sh run --remote:126.96.36.199
In browser, go to <host ip>:8080
UID=1000 user is required to run it.
(had this issue running on google cloud). check which user this is by doing
cat /etc/passwd|grep 1000
note, may need to switch user:
sudo su <username>
note, may need to set password before switching to that user
sudo passwd <username>
make sure these ports are opened!
otherwise this error message happens when you try to create a workspace after loading it: "workspace agent. Error when trying to start the workspace agent: Timeout reached. The Che server has been unable to verify that your workspace's agent has successfully booted. Either the workspace is unreachable, ..."