-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is there any tutorial to introduce how to deploy Che in a farm to keep every user has their own Che instance #1475
Comments
@42690727 I have not seen one. I don't know how automated you need this farm but you could open multiple che servers specifying a different port for each like che.sh -p:8081 for example. To provide a farm maybe you could create something to open che.sh -p:port with http server configuration. You also need to edit the tomcat/conf/server.xml port number to a different one each time. I created a linux script that might help that you could run in che root directory. Really doesn't manage manage port removals and adds. Could create database of that. This would copy saved data to each instance in storage folder but you could add to script to edit che.user.workspaces.storage and che.conf.storage each time too.
|
how to keep every user has their own Che instance and can not use others? |
@42690727 Authentication is not built into Eclipse Che. Might want to checkout codenvy.com if you want to do something like that. Again depending on what kind of security you need you could just provide separate storage folders for each che server. However someone with the port number for someone else could get in. Authentication is not currently part of eclipse che but you could provide it yourself. Not sure how codenvy does it but they allow authentication with eclipse che backend. Take a look at http://www.avajava.com/tutorials/lessons/how-do-i-use-basic-authentication-with-tomcat.html for simple tomcat authentication to get started. Modify tomcat/conf/server.xml as needed for authentication.
|
@james10174 thanks,i will try it |
Is there any tutorial to introduce how to deploy Che in a farm to keep every user has their own Che instance.
The text was updated successfully, but these errors were encountered: