构建工具支持:Ant、Bower、Grunt、Gulp、Maven 和 Npm
网站建设哪家好,找创新互联公司!专注于网页设计、网站建设、微信开发、小程序制作、集团企业网站建设等服务项目。为回馈新老客户创新互联还提供了岭东免费建站欢迎大家使用!
支持开发工具链:Code Mirror、Git、Orion、SSH、Subversion
首先需要安装docker。使用CentOS7 直接yum安装:启动docker。
yum -y install docker
service docker start
systemctl enable docker
#增加开机启动。
eclipse che下载地址:
http://www.eclipse.org/che/
开源的技术发展的真快,已经开始折腾云IDE了。
看看这个是用啥技术实现的。
github项目地址:
https://github.com/eclipse/che/
看了看项目的ide,居然是用GWT开发的。挺怀念的,之前一直研究这个,可惜没有使用上。
各种报错:
!!!
!!! Running 'docker' succeeded, but 'docker ps' failed. This usually means that docker cannot reach its daemon.
!!!
############################这个是因为docker服务没有启动。
执行service docker start,一定要有docker服务。
!!!
!!! This Linux user is not in docker group. See https://docs.docker.com/engine/installation/Ubuntulinux/#create-a-docker-group
!!!
!!!
!!! This Linux user was launched with a UID != 1000. Che must run under UID 1000. See https://eclipse-che.readme.io/docs/usage#section-cannot-create-projects
!!!
!!!
!!! Running 'docker' succeeded, but 'docker ps' failed. This usually means that docker cannot reach its daemon.
!!!
############################因为组设置的不对,创建docker用户。
useradd docker
gpasswd -a docker root
sudo su docker
sh bin/che.sh run
!!!
!!! JAVA_HOME is not set. Please set to directory of JVM or JRE.
!!!
修改 /home/docker/.bashrc 最后一行增加
#add JAVA_HOME
export JAVA_HOME=/usr/java/default
export PATH=$JAVA_HOME/bin:$PATH
export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar
!!!
!!! Che requires Java version 1.8 or higher. We found 1.7.0_75.
!!!
必须安装jdk 1.8
成功启动:
############## HOW TO CONNECT YOUR CHE CLIENT ###############
After Che server has booted, you can connect your clients by:
1. Open browser to http://localhost:8080, or:
2. Open native chromium app.
#############################################################
Using CATALINA_BASE: /data/eclipse-che/tomcat
Using CATALINA_HOME: /data/eclipse-che/tomcat
Using CATALINA_TMPDIR: /data/eclipse-che/tomcat/temp
Using JRE_HOME: /usr/java/default
Using CLASSPATH: /data/eclipse-che/tomcat/conf/:/usr/java/default/lib/tools.jar:/data/eclipse-che/tomcat/bin/bootstrap.jar:/data/eclipse-che/tomcat/bin/tomcat-juli.jar
2016-03-14 12:56:11,212[main] [INFO ] [o.a.c.s.VersionLoggerListener 89] - Server version: Apache Tomcat/8.0.29
2016-03-14 12:56:11,214[main] [INFO ] [o.a.c.s.VersionLoggerListener 91] - Server built: Nov 20 2015 09:18:00 UTC
2016-03-14 12:56:11,214[main] [INFO ] [o.a.c.s.VersionLoggerListener 93] - Server number: 8.0.29.0
2016-03-14 12:56:11,214[main] [INFO ] [o.a.c.s.VersionLoggerListener 95] - OS Name: Linux
2016-03-14 12:56:11,227[main] [INFO ] [o.a.c.s.VersionLoggerListener 97] - OS Version: 3.10.0-229.el7.x86_64
2016-03-14 12:56:11,227[main] [INFO ] [o.a.c.s.VersionLoggerListener 99] - Architecture: amd64
2016-03-14 12:56:11,227[main] [INFO ] [o.a.c.s.VersionLoggerListener 101] - Java Home: /usr/java/jdk1.8.0_40/jre
2016-03-14 12:56:11,228[main] [INFO ] [o.a.c.s.VersionLoggerListener 103] - JVM Version: 1.8.0_40-b26
2016-03-14 12:56:11,228[main] [INFO ] [o.a.c.s.VersionLoggerListener 105] - JVM Vendor: Oracle Corporation
2016-03-14 12:56:11,228[main] [INFO ] [o.a.c.s.VersionLoggerListener 107] - CATALINA_BASE: /data/eclipse-che/tomcat
2016-03-14 12:56:11,229[main] [INFO ] [o.a.c.s.VersionLoggerListener 109] - CATALINA_HOME: /data/eclipse-che/tomcat
2016-03-14 12:56:11,229[main] [INFO ] [o.a.c.s.VersionLoggerListener 115] - Command line argument: -Djava.util.logging.config.file=/data/eclipse-che/tomcat/conf/logging.properties
2016-03-14 12:56:11,229[main] [INFO ] [o.a.c.s.VersionLoggerListener 115] - Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
2016-03-14 12:56:11,229[main] [INFO ] [o.a.c.s.VersionLoggerListener 115] - Command line argument: -Xms256m
2016-03-14 12:56:11,229[main] [INFO ] [o.a.c.s.VersionLoggerListener 115] - Command line argument: -Xmx1024m
2016-03-14 12:56:11,230[main] [INFO ] [o.a.c.s.VersionLoggerListener 115] - Command line argument: -Djava.security.egd=file:/dev/./urandom
2016-03-14 12:56:11,230[main] [INFO ] [o.a.c.s.VersionLoggerListener 115] - Command line argument: -Dport.http=8080
2016-03-14 12:56:11,230[main] [INFO ] [o.a.c.s.VersionLoggerListener 115] - Command line argument: -Dche.home=/data/eclipse-che
2016-03-14 12:56:11,230[main] [INFO ] [o.a.c.s.VersionLoggerListener 115] - Command line argument: -Dche.logs.dir=/data/eclipse-che/tomcat/logs/
2016-03-14 12:56:11,231[main] [INFO ] [o.a.c.s.VersionLoggerListener 115] - Command line argument: -Dcom.sun.management.jmxremote
2016-03-14 12:56:11,231[main] [INFO ] [o.a.c.s.VersionLoggerListener 115] - Command line argument: -Dcom.sun.management.jmxremote.ssl=false
2016-03-14 12:56:11,231[main] [INFO ] [o.a.c.s.VersionLoggerListener 115] - Command line argument: -Dcom.sun.management.jmxremote.authenticate=false
2016-03-14 12:56:11,231[main] [INFO ] [o.a.c.s.VersionLoggerListener 115] - Command line argument: -Dche.local.conf.dir=/data/eclipse-che/conf/
2016-03-14 12:56:11,231[main] [INFO ] [o.a.c.s.VersionLoggerListener 115] - Command line argument: -Djava.endorsed.dirs=/data/eclipse-che/tomcat/endorsed
2016-03-14 12:56:11,231[main] [INFO ] [o.a.c.s.VersionLoggerListener 115] - Command line argument: -Dcatalina.base=/data/eclipse-che/tomcat
2016-03-14 12:56:11,231[main] [INFO ] [o.a.c.s.VersionLoggerListener 115] - Command line argument: -Dcatalina.home=/data/eclipse-che/tomcat
2016-03-14 12:56:11,232[main] [INFO ] [o.a.c.s.VersionLoggerListener 115] - Command line argument: -Djava.io.tmpdir=/data/eclipse-che/tomcat/temp
2016-03-14 12:56:11,521[main] [INFO ] [o.a.c.http11.Http11NioProtocol 425] - Initializing ProtocolHandler ["http-nio-8080"]
2016-03-14 12:56:11,544[main] [INFO ] [o.a.t.util.net.NioSelectorPool 72] - Using a shared selector for servlet write/read
2016-03-14 12:56:11,573[main] [INFO ] [o.a.catalina.startup.Catalina 587] - Initialization processed in 924 ms
2016-03-14 12:56:11,625[main] [INFO ] [c.m.JmxRemoteLifecycleListener 332] - The JMX Remote Listener has configured the registry on port 32001 and the server on port 32101 for the Platform server
2016-03-14 12:56:11,625[main] [INFO ] [o.a.c.core.StandardService 433] - Starting service Catalina
2016-03-14 12:56:11,625[main] [INFO ] [o.a.c.core.StandardEngine 259] - Starting Servlet Engine: Apache Tomcat/8.0.29
2016-03-14 12:56:11,758[ost-startStop-1] [INFO ] [o.a.c.startup.HostConfig 916] - Deploying web application archive /data/eclipse-che/tomcat/webapps/swagger.war
2016-03-14 12:56:12,425[ost-startStop-1] [INFO ] [o.a.c.startup.HostConfig 980] - Deployment of web application archive /data/eclipse-che/tomcat/webapps/swagger.war has finished in 667 ms
2016-03-14 12:56:12,426[ost-startStop-1] [INFO ] [o.a.c.startup.HostConfig 916] - Deploying web application archive /data/eclipse-che/tomcat/webapps/dashboard.war
2016-03-14 12:56:12,695[ost-startStop-1] [INFO ] [o.a.c.startup.HostConfig 980] - Deployment of web application archive /data/eclipse-che/tomcat/webapps/dashboard.war has finished in 269 ms
2016-03-14 12:56:12,697[ost-startStop-1] [INFO ] [o.a.c.startup.HostConfig 916] - Deploying web application archive /data/eclipse-che/tomcat/webapps/ide.war
2016-03-14 12:56:19,156[ost-startStop-1] [WARN ] [p.DockerExtConfBindingProvider 51] - DockerExtConfBindingProvider
2016-03-14 12:56:21,243[ost-startStop-1] [INFO ] [.c.p.d.c.DockerRegistryChecker 43] - Probing registry 'http://localhost:5000'
2016-03-14 12:56:21,267[ost-startStop-1] [WARN ] [.c.p.d.c.DockerRegistryChecker 50] - Docker registry http://localhost:5000 is not available, which means that you won't be able to save snapshots of your workspaces.
How to configure registry?
Local registry -> https://docs.docker.com/registry/
Remote registry -> set up 'docker.registry.auth.*' properties
2016-03-14 12:56:23,230[ost-startStop-1] [INFO ] [o.a.c.startup.HostConfig 980] - Deployment of web application archive /data/eclipse-che/tomcat/webapps/ide.war has finished in 10,532 ms
2016-03-14 12:56:23,232[ost-startStop-1] [INFO ] [o.a.c.startup.HostConfig 1036] - Deploying web application directory /data/eclipse-che/tomcat/webapps/ROOT
2016-03-14 12:56:23,325[ost-startStop-1] [INFO ] [o.a.c.startup.HostConfig 1152] - Deployment of web application directory /data/eclipse-che/tomcat/webapps/ROOT has finished in 93 ms
2016-03-14 12:56:23,342[main] [INFO ] [o.a.c.http11.Http11NioProtocol 470] - Starting ProtocolHandler ["http-nio-8080"]
2016-03-14 12:56:23,350[main] [INFO ] [o.a.catalina.startup.Catalina 638] - Server startup in 11776 ms
eclipse che都已经发布到4的版本了。还没有咋研究呢。
总体感觉上肯定没有本地IDE功能强大。
思路挺好的。可以将docker结合起来,而且还开源,将来做一些云服务,还是挺好的。
由于国内网络问题,没有进入工作界面。
只要有网络的地方,使用浏览器都能让码农干活。
这种项目最好还是不要发明出来的好!!!
网站栏目:EclispseChe(1):CentOS7安装che服务
网页URL:http://www.shufengxianlan.com/qtweb/news10/304960.html
网站建设、网络推广公司-创新互联,是专注品牌与效果的网站制作,网络营销seo公司;服务项目有等
声明:本网站发布的内容(图片、视频和文字)以用户投稿、用户转载内容为主,如果涉及侵权请尽快告知,我们将会在第一时间删除。文章观点不代表本网站立场,如需处理请联系客服。电话:028-86922220;邮箱:631063699@qq.com。内容未经允许不得转载,或转载时需注明来源: 创新互联