simpoir / Elixy

A java front-end to manage LXC containers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This project is dead. I recommend switching to LXD which has nice tooling and remote control.

Seriously, don't use this.

REQUIREMENTS

  • apache maven v2+
  • java jdk v6+ (developped against icedtea)

INSTALLING

The app needs to run as root, which makes it awfully insecure. This is one of the first reason why you should not use it.

In a shell:

# mvn clean package -P standalone
# java -jar elixy/target/elixy-0.0.1-SNAPSHOT-war-exec.jar

Then navigate to http://localhost:8080/elixy

The generated jar file supports arguments. see -help

OLD INSTALLATION PROCEDURE

Note this does not work anymore as sudo does not work with liblxc binding.

In a shell:

# mvn clean package
# cp target/elixy.war /path/to/tomcat webapps
# cp example-elixy.properties /etc/elixy.properties

edit the config restart tomcat

tomcat will also need some admin rights which are provided by visudo config:

tomcat6 ALL=NOPASSWD:/usr/bin/lxc-info,/usr/bin/lxc-start,/usr/bin/lxc-stop,/usr/bin/lxc-console

TESTING

The provided maven config has an embedded tomcat config for your pleasure:

# mvn -P test tomcat:run

Then navigate to http://localhost:8080/elixy

About

A java front-end to manage LXC containers

License:GNU Affero General Public License v3.0


Languages

Language:JavaScript 49.6%Language:Java 43.9%Language:CSS 6.5%