change version
[debian6500.git] / install_debian.txt
CommitLineData
a3300608
LM
1Step 1: Minimalist Debian install
2* locale: English/US
3* timezone: France
4* keboard: French
3a8d2b2f 5* eth1 / 10.133.26.160 / 255.255.255.0 / 10.133.26.231 / no dns
a3300608
LM
6* hostname: trc00.thalesgroup.com
7* root password: thales
8* local user: trc6500
9* user password: thales
10* partitionning:
11 - sda1 / 20GB ext4
12 - sda2 (none) 1G swap
13 - sda3 /var/media/backup (remaining) ext4
14* repository: no cd, no network mirror
15* popurarity-contest: no
16* software selection: none
17* grub: yes
18* reboot
19
20Step 2: First configuration
21* on blade
b16b04f6 22 ## restore network connection
a3300608 23 aptitude install openssh-server rsync
b16b04f6 24 eject
a3300608 25* on server
3a8d2b2f 26 ~/debian6500/master/opt/cluster/bin/sync_master.sh 10.133.26.160
b16b04f6
LM
27* on blade
28 mount -a
29 mv /home /var/media/backup
b16b04f6
LM
30 mkdir -p /var/media/backup/dump/{core,dump_delay_line,dump_track_base,log,prod,rec,trace}
31 ln -s /var/media/backup/home /home
32 reboot
a3300608
LM
33
34Step 3:
35* on server
b16b04f6 36 ## restore network connection
3a8d2b2f 37 cat ~trc6500/ftp/TRC6500.pub | ssh root@10.133.26.160 apt-key add -
a3300608 38* on blade
b16b04f6 39 aptitude update
a3300608
LM
40 aptitude install $(cat /root/debian-list.txt)
41* on server
3a8d2b2f 42 ~/debian6500/master/opt/cluster/bin/sync_master.sh 10.133.26.160
a3300608 43* on blade
b16b04f6
LM
44 update-rc.d waitswitches defaults
45 update-rc.d waitswitches enable
46 update-rc.d etherwake defaults
a3300608 47 update-rc.d etherwake enable
b16b04f6 48 update-rc.d ipmiwake defaults
1716702f 49 update-rc.d ipmiwake enable
b16b04f6 50 update-rc.d wakeonlan defaults
a3300608 51 update-rc.d wakeonlan enable
b16b04f6
LM
52 update-rc.d waitslaves defaults
53 update-rc.d shutdownallblades defaults
95f543f2
LM
54 update-rc.d checkudevrules enable
55 update-rc.d checkudevrules defaults
b16b04f6 56 chown webconfig /etc/webconfig/alias.csv /etc/dhcp/dhcpd.conf
91b93b1f 57 chsh -s /usr/bin/pdmenu trc6500
a3300608 58 reboot