Freebsd Minimal

July 21, 2016 | Author: mociyl | Category: Types, Instruction manuals
Share Embed Donate


Short Description

Install notes from FreeBSD minimal configuration....

Description

>>> minimal install of 7.0-curr with ZFS * boot with 7.0-curr minimal install cd * select country * choose custom install * partition with fdisk: one huge chunk * disklabel: 512MB /, some swap, the rest in an unmounted slice A: 512Mb UFS2 / B: swap D: rest of disk * choose minimal distribution * source from ftp passive * after installation, reboot into single user "4" >>> create zfs partitions mount -w / zpool create tank /dev/ad4s1d zfs create tank/usr zfs create tank/var zfs create tank/tmp df -h zfs list find -x / | cpio -pmd /tank rm -rf /tank/boot mkdir /tank/bootdir cd /tank ln -s bootdir/boot boot echo 'zfs_enable="YES"' >> /etc/rc.conf echo 'vm.kmem_size="512M"' >> /boot/loader.conf echo 'vm.kmem_size_max="512M"' >> /boot/loader.conf echo 'zfs_load="YES"' >> /boot/loader.conf echo 'vfs.root.mountfrom="zfs:tank"' >> /boot/loader.conf vi /tank/etc/fstab /dev/ad4s1a /bootdir ufs rw 1 1 zfs set mountpoint=/tmp tank/tmp zfs set mountpoint=/usr tank/usr zfs set mountpoint=/var tank/var zfs set mountpoint=legacy tank reboot >>> rebuild the world pkg_add -r bash; pkg_add -r cvsup-without-gui chsh -s bash; bash cat >> /etc/make.conf >> configure the system adduser [yourname] echo "proc /proc procfs rw 0 0" >> /etc/fstab cat >> /boot/loader.conf > /etc/rc.conf /usr/local/etc/ipfw.rules >> install ports cd /usr/ports/ports-mgmt/portaudit; make install clean portaudit -Fda cd /usr/ports/ports-mgmt/portupgrade; make install clean cd /usr/ports/security/sudo; make install clean visudo cd /usr/ports/sysutils/screen; make install clean cd /usr/ports/editors/vim; make install clean cd /usr/ports/devel/subversion; make install clean cd /usr/ports/x11/xorg; make BATCH=yes install clean #cd /usr/ports/x11/nvidia-driver; make install clean cd /usr/ports/security/nmap; make install clean cd /usr/ports/sysutils/gkrellm2; make install clean cd /usr/ports/www/firefox; make install clean cd /usr/ports/net-im/pidgin; make install clean cd /usr/ports/sysutils/cdrtools; make install clean >>> configure wireless vi /etc/rc.conf ifconfig_ath0="WPA DHCP" vi /etc/wpa_supplicant.conf network={ ssid="myssid" psk="mysecretpsk" } /etc/rc.d/netif start >>> install fusefs cd /usr/ports/sysutils/fusefs-kmod; make install clean cd /usr/ports/sysutils/fusefs-sshfs; make install clean echo 'vfs.usermount=1' >> /etc/sysctl.conf echo 'fuse_load="YES"' >> /boot/loader.conf >>> enable truetype vi /etc/X11/xorg.conf Load "freetype" FontPath "/usr/local/lib/X11/fonts/TrueType" cd /usr/ports/x11-fonts/ttmkfdir; make install clean cd /usr/local/lib/X11/fonts/TrueType ttmkfdir -o fonts.dir >>> install qemu cd /usr/ports/emulators/kqemu-kmod; make install clean #cd /usr/ports/emulators/qemu; make install clean echo 'kqemu_load="YES"' >> /boot/loader.conf

View more...

Comments

Copyright ©2017 KUPDF Inc.
SUPPORT KUPDF