install_notes
Differences
This shows you the differences between two versions of the page.
| install_notes [2011/03/04 00:55] – external edit 127.0.0.1 | install_notes [2012/05/16 12:35] (current) – [add a user] paulsmith | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Install Notes ====== | ||
| + | |||
| + | |||
| + | ===== mount portage ===== | ||
| + | < | ||
| + | mount -t nfs 192.168.99.1:/ | ||
| + | mount -t nfs 192.168.99.1:/ | ||
| + | </ | ||
| + | |||
| + | ===== chroot ===== | ||
| + | < | ||
| + | cd / | ||
| + | mount /dev/sda3 /mnt/gentoo | ||
| + | mount /dev/sda1 / | ||
| + | mount -t proc proc / | ||
| + | mount -o bind /dev / | ||
| + | cp -L / | ||
| + | chroot /mnt/gentoo /bin/bash | ||
| + | env-update && source / | ||
| + | </ | ||
| + | |||
| + | ===== grub ===== | ||
| + | < | ||
| + | grub | ||
| + | root (hd0,0) | ||
| + | setup (hd0) | ||
| + | quit | ||
| + | </ | ||
| + | |||
| + | ===== packages pre ===== | ||
| + | < | ||
| + | nfs-utils | ||
| + | portmap | ||
| + | ssmtp | ||
| + | mailx | ||
| + | gentoolkit | ||
| + | screen | ||
| + | logrotate | ||
| + | bind-tools | ||
| + | mtr | ||
| + | tcpdump | ||
| + | vim-core | ||
| + | |||
| + | </ | ||
| + | |||
| + | ===== umount ===== | ||
| + | < | ||
| + | umount / | ||
| + | </ | ||
| + | |||
| + | ===== add a user ===== | ||
| + | < | ||
| + | useradd -g users -G lp, | ||
| + | </ | ||
| + | |||
| + | ===== format a dos hard disk ===== | ||
| + | < | ||
| + | mkfs.vfat -F 32 -s 64 /dev/sdc1 | ||
| + | </ | ||
| + | |||
| + | |||
| + | ===== touch all files in a directory and subdirectories ===== | ||
| + | < | ||
| + | find ./ -type f -exec touch " | ||
| + | </ | ||
| + | |||
| + | ===== tools ===== | ||
| + | < | ||
| + | emerge-update | ||
| + | env-update && source / | ||
| + | |||
| + | cv | ||
| + | grep -v " | ||
| + | |||
| + | l | ||
| + | ls -la --color " | ||
| + | </ | ||
| + | |||
| + | ===== ssh ===== | ||
| + | < | ||
| + | Port 20202 | ||
| + | Protocol 2 | ||
| + | PasswordAuthentication no | ||
| + | ChallengeResponseAuthentication no | ||
| + | UsePAM no | ||
| + | Subsystem | ||
| + | </ | ||
| + | |||
| + | ===== vi ===== | ||
| + | < | ||
| + | rm /usr/bin/vi | ||
| + | ln -s / | ||
| + | </ | ||
| + | |||
| + | |||
| + | ===== http-replicator ===== | ||
| + | < | ||
| + | If it fails to start then try this: | ||
| + | |||
| + | Edit / | ||
| + | |||
| + | start-stop-daemon --help | ||
| + | </ | ||
