Changes between Version 16 and Version 17 of NanoBSD


Ignore:
Timestamp:
Apr 21, 2009, 8:44:20 PM (15 years ago)
Author:
rick
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • NanoBSD

    v16 v17  
    3535}}}
    3636
    37 
    38 XXX: TODO describe procedure
     37Briefly:
     381. Compile all packages below using (cd /usr/ports$DIR; make package-recursive; cp *.tbz $R/pkg
     391. Rerun build, saving some time, no kernel/world rebuild {{{sh /usr/src/tools/tools/nanobsd/nanobsd.sh -b -c $R/cfg/nanobsd.wleiden}}}
     401. XXX: TODO how-to install config into image
     411. 1. New image: Put full image on flash disk {{{dd bs=64k if=/usr/obj/nanobsd.wleiden/_.disk.full of=/dev/da0}}}
     421. 1. Existing image: Put partial image on slice {{{dd bs=64k if=/usr/obj/nanobsd.wleiden/_.disk.image of=/dev/da0s[12]}}}
    3943
    4044= WL specific =
    4145stumber, hidden gem maybe /usr/src/tools/tools/net80211/stumber
     46
     47Packages needed
     48{{{
     49net/pen (Load balancing)                             
     50textproc/expat2 (apache2 dependency)
     51converters/libiconv (apache2 dependency)
     52devel/pcre (apache2 dependency)
     53www/apache2 BATCH=yes (webserver)
     54lang/perl58 (apache2 dependency)
     55net-mgmt/net-snmp WITHOUT_PERL=yes (monitoring)
     56net/isc-dhcp30-server (dhcp server)
     57net/pen (proxy load balancer)
     58}}}
     59
     60= TODO =
     61XXX: Merge into tickets
     62XXX: 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{{{
     70ldd -a /usr/bin/* /bin/* /sbin/* /usr/sbin/* /usr/local/bin/* /usr/local/sbin/* | awk '/=>/ {print $1}' | sort -u
     71basename `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
    4278
    4379= Hints =
     
    4682 * 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.
    4783 * Default username/password = root/welkom01
     84 * Great mac os x terminal emulator is `screen` install using macports.org {{{$ screen /dev/tty.PL2303-0000101D 9600}}}
    4885= Comments, questions or remarks? =
    4986Feel 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]