Etch-x64-big-1.0

From Grid5000
Jump to: navigation, search

etch-x64-big-1.0 is derived from Etch-x64-nfs-1.0 to provide a debian environment, with LDAP and NFS homedir, and all the packages listed in Karafon.

Contents

Identification sheet

Etch-x64-big-1.0

Kernel version 2.6.18-6-amd64 from Debian for amd64/em64t

Authentication

  • Remote console: enabled on ttyS0 at 34800 bps
  • Services: ldap:yes, nfs:yes
  • Accounts: root:grid5000

Applications

Misc

Build

Here are explanations on how the system was installed and tuned starting from the content of the Etch-x64-nfs-1.0 environment. A script available from the svn do the work for us. This script is available from : [grid5000]/admin/trunk/images/build/nfs2big.sh

Repository enhancement

We add the non-free repository and the imag repository.

cat >> /etc/apt/sources.list <<EOF
deb http://ftp.fr.debian.org/debian etch non-free
deb http://security.debian.org/ etch/updates main contrib
deb http://oar.imag.fr/download ./
EOF

motd

We update the motd.

cat > /etc/motd.tail <<EOF
Etch-x64-big-1.0 (image based on Debian version Etch for AMD64/EM64T)
Maintained by Cyril Constantin <cyril.constantin@loria.fr>
Valid on Dell {PE1855, PE1950}, HP {DL140G3, DL145G2, DL385G2}, 
       IBM {e325, e326, e326m}, Sun {V20z, X2200 M2, X4100},
       Altix Xe 310
Applications
 * Text: Vim, XEmacs, JED, nano, JOE
 * Script: Perl, Python, Ruby
 (Type "dpkg -l" to see complete installed package list)
Misc
 * i386 shared libraries are available
 * SSH has X11 forwarding enabled
 * Max open files: 8192
 * TCP bandwidth: for 1Gbs
More details: https://www.grid5000.fr/index.php/Etch-x64-big-1.0
EOF

Packages install

We update and install all the packages of karafon.

apt-get update
apt-get upgrade
apt-get install autoconf bison cmake cvs elinks emacs flex g77 gdb gfortran git host iperf sun-java5-jre lam-runtime lshw m4 man mpich-bin openmpi-bin patch tcl8.4 php5-cli screen subversion taktuk telnet time valgrind zsh g++ automake automake1.9 xml-core libxi6 libxp6 libxtst6 gsfonts-x11 libterm-readline-gnu-perl

mpich2 doesn't have a package in debian. We compile it from the source obtained on the official site (mpich2-1.0.6p1.tar.gz at the build date).

cp /home/nancy/cconstantin/src/mpich2*.tar.gz /usr/local/src/
cd /usr/local/src/
tar zxf mpich2*
rm mpich2*.tar.gz
cd mpich2*
./configure && make && make install

Ending

Image is ready. We can keep a trace of the last update.

date > /root/release

Environment

Creating image's archive

As for Etch-x64-base-1.0, system archive creation and retrieving is done with TGZ-G5K:

tgz-g5k cconstantin@frontale:images/etch-x64-big-1.0.tgz

Creating postinstall's archive

The postinstall etch-x64-big-1.0-post is the same as etch-x64-nfs-1.0-post. It takes advantage from prepost mechanisms and so it is site-independent.

Orsay site particularities

The orsay site use for now a specific way to configure nfs. So you have to use the specific orsay postinstall available at orsay. This situation will be resolved. You can follow the bug on https://www.grid5000.fr/bugzilla/show_bug.cgi?id=1170 .

cd /home/
mkdir {bordeaux,grenoble,lille,lyon,orsay,nancy,rennes,sophia,toulouse}

Recording environment

Recording environment can be done from a description file. So we create etch-x64-big-1.0.dsc:

name = etch-x64-big-1.0
description = https://www.grid5000.fr/index.php/Etch-x64-big-1.0
author = cyril.constantin@loria.fr
filebase = file:///grid5000/images/etch-x64-big-1.0.tgz
filesite = file:///grid5000/postinstalls/etch-x64-big-1.0-post.tgz
size = 1000
initrdpath = /boot/initrd.img-2.6.18-6-amd64
kernelpath = /boot/vmlinuz-2.6.18-6-amd64
fdisktype = 83
filesystem = ext2

With karecordenv, the new environment can be known by Kadeploy:

karecordenv -fe etch-x64-big-1.0.dsc
Personal tools
Namespaces

Variants
Actions
Public Portal
Users Portal
Admin portal
Wiki special pages
Toolbox