Public:Ubuntu-java

From CloudFit

Jump to: navigation, search

Contents

Info

* Based on ubuntu-base image.
* 64-bit (amd64).
* Java 1.6.0_18 (OpenJDK Runtime Environment and 64-bit Server VM)
* Build Essential (GCC, G++, Make, libc6-dev)
* NTP (Network Time Protocol) synchronized with cuco.di.fc.ul.pt.
* Text: vi, vim, nano.
* Script: Shell, Python, Perl.
* Accounts: root:quinta, deploy:quinta.

Image Usage

quinta:~$ kadeploy3 -e ubuntu-java -f nodesfile
quinta:~$ ssh root@node01

...

At the end of the usage, turn off the machine, from front-end:

quinta:~$ quinta off node01 node02 ... nodeN

Image Creation

quinta:~$ kadeploy3 -e ubuntu-base -f nodesfile
quinta:~$ ssh root@node01
node01:~$ export http_proxy="http://proxy.di.fc.ul.pt:3128/"
node01:~$ apt-get update
node01:~$ apt-get install openjdk-6-jdk
node01:~$ apt-get install build-essential
node01:~$ echo "" > /etc/udev/rules.d/70-persistent-net.rules
node01:~$ tgz-g5k user@r11:~/ubuntu-java.tgz

Descriptor File (dsc3)

name : ubuntu-java
version : 1
description : Ubuntu Lucid Lynx image with Sun Java installed.
author : Vinicius Vielmo Cogo (vielmo@lasige.di.fc.ul.pt)
tarball : /home/deploy/images/ubuntu-java.tgz|tgz
postinstall : /home/deploy/postinstalls/post4all.tgz|tgz|traitement.ash
kernel : /boot/vmlinuz-2.6.32-21-server
initrd : /boot/initrd.img-2.6.32-21-server
fdisktype : 83
filesystem : ext3
environment_kind : linux
visibility : public
Personal tools