Changes between Version 16 and Version 17 of NanoBSD
- Timestamp:
- Apr 21, 2009, 8:44:20 PM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
NanoBSD
v16 v17 35 35 }}} 36 36 37 38 XXX: TODO describe procedure 37 Briefly: 38 1. Compile all packages below using (cd /usr/ports$DIR; make package-recursive; cp *.tbz $R/pkg 39 1. Rerun build, saving some time, no kernel/world rebuild {{{sh /usr/src/tools/tools/nanobsd/nanobsd.sh -b -c $R/cfg/nanobsd.wleiden}}} 40 1. XXX: TODO how-to install config into image 41 1. 1. New image: Put full image on flash disk {{{dd bs=64k if=/usr/obj/nanobsd.wleiden/_.disk.full of=/dev/da0}}} 42 1. 1. Existing image: Put partial image on slice {{{dd bs=64k if=/usr/obj/nanobsd.wleiden/_.disk.image of=/dev/da0s[12]}}} 39 43 40 44 = WL specific = 41 45 stumber, hidden gem maybe /usr/src/tools/tools/net80211/stumber 46 47 Packages needed 48 {{{ 49 net/pen (Load balancing) 50 textproc/expat2 (apache2 dependency) 51 converters/libiconv (apache2 dependency) 52 devel/pcre (apache2 dependency) 53 www/apache2 BATCH=yes (webserver) 54 lang/perl58 (apache2 dependency) 55 net-mgmt/net-snmp WITHOUT_PERL=yes (monitoring) 56 net/isc-dhcp30-server (dhcp server) 57 net/pen (proxy load balancer) 58 }}} 59 60 = TODO = 61 XXX: Merge into tickets 62 XXX: Complete list/set scope 63 * Proper unique automated SSH key generation into image 64 * Script to generate into 65 66 67 = Optimization choices = 68 == Library trim, delete unused libraries === 69 {{{ 70 ldd -a /usr/bin/* /bin/* /sbin/* /usr/sbin/* /usr/local/bin/* /usr/local/sbin/* | awk '/=>/ {print $1}' | sort -u 71 basename `ls -1 /lib/* /usr/lib/* /usr/local/lib/*` | sort -u > /tmp/all.txt 72 }}} 73 74 == Light based packages = 75 * dnsmasq instead of isc-dhcp30-server and bind 76 * thttpd instead of apache 77 42 78 43 79 = Hints = … … 46 82 * It seems tempting to follow {{{/usr/share/examples/cvsup/stable-supfile}}} instead of {{{/usr/share/examples/cvsup/standard-supfile}}} please __DO NOT__ unless your like big trouble as stable-supfile is the stable __DEVELOPMENT__ branch e.g. upcoming stable. 47 83 * Default username/password = root/welkom01 84 * Great mac os x terminal emulator is `screen` install using macports.org {{{$ screen /dev/tty.PL2303-0000101D 9600}}} 48 85 = Comments, questions or remarks? = 49 86 Feel free to edit this page or [mailto:techniek@lijst.wirelessleiden.nl?subject=NanoBSD%20odefactory%improvement send an email] to our [http://lijst.wirelessleiden.nl/mailman/listinfo/techniek techniek mailinglist]