Fedora6-x64-base-1.0

From Grid5000
Jump to: navigation, search
Warning.png Warning

To watch

Contents

Identification sheet

Fedora6-x64-base

Kernel version 2.6.18-1.2798.fc6 from Fedora for x86_64

Authentication

  • Remote console:
  • Services: ldap:no, nfs:no
  • Accounts: root:grid5000, g5k:grid5000

Applications

Misc

  • ia32/i386 shared libraries are available
  • SSH has X11 forwarding enabled

Build

Installation

Start-it with CD

The environment is initially installed from a Fecora Core 6 (zod) DVD for x86_64 (64-bit, AMD64 and EM64T).

At this step, environnement is smallest as possible, but we have eliminates somes packages after.

  • root account is created with grid5000 as password

Post installation

Add packages

Default Fedora install does not contain all the packages we need:

  • Text editors
yum install vim less xemacs21 gawk jed joe nano
  • Script interpreters
yum install ruby python perl
  • Network tools
 install nc6 nmap 
  • Misc
yum install acpi strace  rcs 

SSH

Minor changes are done in configuration file /etc/ssh/sshd_config:

PrintMotd no
PasswordAuthentication no
ChallengeResponseAuthentication yes
PermitEmptyPasswords no
IgnoreUserKnownHosts yes
X11Forwarding yes

TCP bandwidth

On a grid, network kernel settings must be tuned to maximize inter-site connections bandwidth. This is done by editing /etc/sysctl.conf, as it is described on the related tuning page.

g5k user

A default user is added to make non-root connections possible:

$ groupadd --gid 1000 g5k
$ useradd --gid g5k --home-dir /home/g5k --create-home --uid 1000 g5k
$ echo "grid5000" | passwd --stdin g5k

Environment

Create Image File

ssh root@node-75.bordeaux.grid5000.fr "tar --posix --numeric-owner --one-file-system -zcf - /" > fedora6.tgz


Recording environment

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

name = fedora6-x64-base-1.0
description = https://www.grid5000.fr/index.php/fedora6-x64-base-1.0
author = pierre.lemoine@inria.fr
filebase = file:///grid5000/images/fedora6-x64-base-1.0.tgz
filesite = file:///grid5000/postinstalls/fedora6-x64-base-1.0-post.tgz
size = 1000
initrdpath = /boot/initrd-2.6.18-1.2798.fc6.img
kernelpath = /boot/vmlinuz-2.6.18-1.2798.fc6
fdisktype = 83
filesystem = ext2

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

karecordenv -fe fedora6-x64-base-1.0.dsc
Personal tools
Namespaces

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