Install Notes
mount portage
mount -t nfs 192.168.99.1:/usr/portage /mnt/gentoo/usr/portage
mount -t nfs 192.168.99.1:/usr/local/distfiles /mnt/gentoo/usr/local/distfiles
chroot
cd /
mount /dev/sda3 /mnt/gentoo
mount /dev/sda1 /mnt/gentoo/boot
mount -t proc proc /mnt/gentoo/proc
mount -o bind /dev /mnt/gentoo/dev
cp -L /etc/resolv.conf /mnt/gentoo/etc/
chroot /mnt/gentoo /bin/bash
env-update && source /etc/profile
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 /mnt/gentoo/proc /mnt/gentoo/boot /mnt/gentoo/usr/portage /mnt/gentoo/usr/local/distfiles /mnt/gentoo/dev /mnt/gentoo
add a user
useradd -g users -G lp,wheel,audio,cdrom,portage,cron -m john
mkfs.vfat -F 32 -s 64 /dev/sdc1
touch all files in a directory and subdirectories
find ./ -type f -exec touch "{}" \;
emerge-update
env-update && source /etc/profile && etc-update
cv
grep -v "^#" $1 | grep "^\w"
l
ls -la --color "$@"
ssh
Port 20202
Protocol 2
PasswordAuthentication no
ChallengeResponseAuthentication no
UsePAM no
Subsystem sftp /usr/lib/misc/sftp-server
vi
rm /usr/bin/vi
ln -s /usr/bin/vim /usr/bin/vi
http-replicator
If it fails to start then try this:
Edit /etc/init.d/http-replicator and add "--oknodo" to the start stanza
start-stop-daemon --help