Quinta ubuntu-12.04
From Navigators
(Difference between revisions)
(Created page with "=== Info === * Based on Ubuntu 12.04 LTS (Precise Pangolin) Server Edition. * 64-bit (amd64). * NTP (Network Time Protocol) synchronized with ''cuco.di.fc.ul.pt''. * Text: ''...") |
(→Image Creation) |
||
(2 intermediate revisions not shown) | |||
Line 23: | Line 23: | ||
node01:~$ apt-get upgrade | node01:~$ apt-get upgrade | ||
+ | |||
+ | node01:~$ apt-get install ssh | ||
node01:~$ scp '''user'''@r11:~deploy/packages/tgz* . | node01:~$ scp '''user'''@r11:~deploy/packages/tgz* . | ||
node01:~$ dpkg -i tgz-g5k_1.0.3-1_all.deb | node01:~$ dpkg -i tgz-g5k_1.0.3-1_all.deb | ||
+ | |||
+ | node01:~$ chmod +r /boot/* | ||
node01:~$ echo "" > /etc/udev/rules.d/70-persistent-net.rules | node01:~$ echo "" > /etc/udev/rules.d/70-persistent-net.rules | ||
Line 33: | Line 37: | ||
=== Descriptor File (dsc3) === | === Descriptor File (dsc3) === | ||
- | name : ubuntu-12.04 | + | name : ubuntu-12.04 |
- | version : 1 | + | version : 1 |
- | description : Ubuntu 12.04 LTS image. | + | description : Ubuntu 12.04 LTS image. |
- | author : Vinicius Vielmo Cogo (vielmo <at> lasige <dot> di <dot> fc <dot> ul <dot> pt) | + | author : Vinicius Vielmo Cogo (vielmo <at> lasige <dot> di <dot> fc <dot> ul <dot> pt) |
- | tarball : /home/deploy/images/ubuntu-12.04.tgz|tgz | + | tarball : /home/deploy/images/ubuntu-12.04.tgz|tgz |
- | postinstall : /home/deploy/postinstalls/ubuntu-12.04-postinstall.tgz|tgz|traitement.ash | + | postinstall : /home/deploy/postinstalls/ubuntu-12.04-postinstall.tgz|tgz|traitement.ash |
- | kernel : /boot/vmlinuz-3.5.0-23-generic | + | kernel : /boot/vmlinuz-3.5.0-23-generic |
- | initrd : /boot/initrd.img-3.5.0-23-generic | + | initrd : /boot/initrd.img-3.5.0-23-generic |
- | fdisktype : 83 | + | fdisktype : 83 |
- | filesystem : ext3 | + | filesystem : ext3 |
- | environment_kind : linux | + | environment_kind : linux |
- | visibility : public | + | visibility : public |
Latest revision as of 19:58, 19 August 2013
Contents |
Info
* Based on Ubuntu 12.04 LTS (Precise Pangolin) Server Edition. * 64-bit (amd64). * 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-12.04 -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
Normal Ubuntu 12.04 installation in one node.
node01:~$ apt-get update
node01:~$ apt-get upgrade
node01:~$ apt-get install ssh
node01:~$ scp user@r11:~deploy/packages/tgz* .
node01:~$ dpkg -i tgz-g5k_1.0.3-1_all.deb
node01:~$ chmod +r /boot/*
node01:~$ echo "" > /etc/udev/rules.d/70-persistent-net.rules
node01:~$ tgz-g5k user@r11:~/debian-base.tgz
Descriptor File (dsc3)
name : ubuntu-12.04 version : 1 description : Ubuntu 12.04 LTS image. author : Vinicius Vielmo Cogo (vielmo <at> lasige <dot> di <dot> fc <dot> ul <dot> pt) tarball : /home/deploy/images/ubuntu-12.04.tgz|tgz postinstall : /home/deploy/postinstalls/ubuntu-12.04-postinstall.tgz|tgz|traitement.ash kernel : /boot/vmlinuz-3.5.0-23-generic initrd : /boot/initrd.img-3.5.0-23-generic fdisktype : 83 filesystem : ext3 environment_kind : linux visibility : public