Skip to content

Instantly share code, notes, and snippets.

Chris Damian chrisdchristo

Block or report user

Report or block chrisdchristo

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile

Keybase proof

I hereby claim:

  • I am chrisdchristo on github.
  • I am chrisdchristo ( on keybase.
  • I have a public key ASADpB6LwhOyusSvxim8CMbmramJAJAvueEHgSp_XP5StAo

To claim this, I am signing this object:

chrisdchristo / ubuntu-java8-dockerfile
Last active Aug 29, 2015
Ubuntu + java8 Dockerfile
View ubuntu-java8-dockerfile
# chrischristo/ubuntu-java8
FROM ubuntu
# Install prerequisites
RUN apt-get update
RUN apt-get install -y software-properties-common
# Install java8
RUN add-apt-repository -y ppa:webupd8team/java
chrisdchristo / ubuntu-java8-vertx2-dockerfile
Last active Aug 29, 2015
Ubuntu + java8 + vertx2 Dockerfile
View ubuntu-java8-vertx2-dockerfile
# chrischristo/ubuntu-java8-vertx2
FROM chrischristo/ubuntu-java8
RUN tar -zvxf vert.x-$VERTX_VERSION.tar.gz
RUN mv vert.x-$VERTX_VERSION /var/lib/vertx
RUN ln -s /var/lib/vertx/bin/vertx /usr/bin/vertx
RUN rm -rf vert.x*
chrisdchristo /
Created Jan 6, 2014
Standard /etc/profile for Ubuntu
PS1='\[\e[0;36m\][\t] \[\e[31m\]\u@\H\[\e[32m\]$PWD \[\e[32m\]\n$\[\e[0m\] '

alias l="ls -la"

export JAVA_HOME=/usr/lib/jvm/java-7-openjdk-amd64
export JRE_HOME=/usr/lib/jvm/java-7-openjdk-amd64
export JAVA_OPTS="-Xmx1024M -Duser.timezone=UTC -Djavax.servlet.request.encoding=UTF-8 -Dfile.encoding=UTF-8"

export MAVEN_HOME=/usr/share/maven
chrisdchristo /
Created Jan 6, 2014
101: Add an admin user to ubuntu
useradd -m -s /bin/bash chris
sudo usermod -a -G sudo chris
passwd chris

101: OpenEJB

(This is a constantly updated article, be sure to check back for updates!)

Configuring OpenEJB (or TomEE) can be a bit of a pain as its not always obvious where to place the specific settings you want. I will describe in as much detail in how you can configure it in the various forms, whether XML, properties or the newly introduced JSON config!

The intention is to have this article as your one stop shop in finding all the possible ways to configure your OpenEJB instance. With this info, you can truly master your server backend.



101: Webmin

You will need some dependancy packages:

sudo apt-get install perl libnet-ssleay-perl openssl libauthen-pam-perl
sudo apt-get install libpam-runtime libio-pty-perl apt-show-versions python

101: Tomcat

sudo apt-get install tomcat7

Setup Environment

Open up global profile:


101: PhpLdapAdmin

sudo apt-get install phpldapadmin

By default, an apache phpldapadmin.conf file is placed in /etc/apache2/conf.d/phpldapadmin.conf which links a conf file in the phpldapadmin installation. Its is better to manage the various websites via ssl encrypted virtual hosts.

You can’t perform that action at this time.