Add fetlab_deb_install_steps
This commit is contained in:
@@ -1,4 +1,30 @@
|
|||||||
# fetlab
|
# fetlab
|
||||||
|
## Debian Installation
|
||||||
|
Boot Image Debian Netinstall on USB stick, Advanced Options->Expert Install
|
||||||
|
Language: English, Location: other->Europe->Austria
|
||||||
|
Locale: en_US.UTF-8, Additional Locale: de_AT.UTF-8, System Locale: en_US.UTF-8
|
||||||
|
Keyboard: German
|
||||||
|
Detect and mount CD-ROM, Load installer components: no extra
|
||||||
|
Detect network hardware, Configure Network: Hostname: fetlabserv, IP 128.131.95.223/24 domain htu.tuwien.ac.at
|
||||||
|
Setup Users and Passwords: shadow, allow root login, no normal user
|
||||||
|
Configure the clock: NTP Server: tutimea.tuwien.ac.at,tutimeb.tuwien.ac.at,tutimec.tuwien.ac.at,
|
||||||
|
Detect disks, partition disks: manual
|
||||||
|
msdos table, 32GB primary for RAID
|
||||||
|
RAID: Create MD device RAID1
|
||||||
|
part LVM in raid1
|
||||||
|
LVM: volume group root on /dev/md0, logical volume sys 24GB, swap 6GB
|
||||||
|
root-roo btrfs for /
|
||||||
|
root-swap as swap
|
||||||
|
Generic Kernel
|
||||||
|
Mirror, no nonfree, contrib, allow backported
|
||||||
|
install with ssh server and standard sys utilities
|
||||||
|
Install Grub on /dev/sda(to removable media path)
|
||||||
|
Install Grub on /dev/sdb(to removable media path)
|
||||||
|
reboot, log in as root
|
||||||
|
edit /etc/ssh/sshd_config set PermitRootlogin to yes
|
||||||
|
service sshd reload
|
||||||
|
ssh-copy-id root@fetlabserv from client
|
||||||
|
edit /etc/ssh/sshd_config set PermitRootlogin to prohibit-password
|
||||||
## Setup ZFS
|
## Setup ZFS
|
||||||
```shell
|
```shell
|
||||||
for i in a b c d e f g h i; do echo -n "/dev/sd$i: "; hdparm -I /dev/sd$i | awk '/Serial Number/ {print $3}'; done
|
for i in a b c d e f g h i; do echo -n "/dev/sd$i: "; hdparm -I /dev/sd$i | awk '/Serial Number/ {print $3}'; done
|
||||||
|
|||||||
Reference in New Issue
Block a user