Eclipse Che
Revision as of 10:28, 13 March 2016 by Administrator (talk | contribs) (Created page with "Eclipse Che is a developer workspace server and cloud IDE. ==Pre-requisites== ===Docker=== curl -sSL https://get.docker.com/ | sh sudo usermod -aG docker $your_user ===Ja...")
Eclipse Che is a developer workspace server and cloud IDE.
Pre-requisites
Docker
curl -sSL https://get.docker.com/ | sh sudo usermod -aG docker $your_user
Java
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
Maven
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
export PATH=~/apache-maven-3.3.9/bin:$PATH
Installation
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>
Run
bin/che.sh run
or if you're going to access from non localhost web browser
bin/che.sh run --remote:104.197.184.136
Use
In browser, go to <host ip>:8080
Issues
in google cloud, use ubuntu user. UID=1000 user is required to run it. 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>
cloud/firewall notes: make sure these ports are opened!
tcp:8080 tcp:32768-65535