Diff for /wikisrc/users/imil/cheatsheet.mdwn between versions 1.2 and 1.3

version 1.2, 2012/07/25 20:00:28 version 1.3, 2012/07/25 20:05:38
Line 2 Line 2
   
 ## Upgrade the system with binaries  ## Upgrade the system with binaries
   
         # cp /netbsd /netbsd.old  [[!template  id=programlisting text="""
         # tar zxvfp kern-MONOLITHIC.tgz -C /   # cp /netbsd /netbsd.old
         # sync; sync   # tar zxvfp kern-MONOLITHIC.tgz -C /
         # shutdown -r now   # sync; sync
         # for i in base comp games man misc modules tests text xbase xcomp xetc xfont xserver; do tar zxvfp $i.tgz -C /;done   # shutdown -r now
         # mkdir /tmp/temproot   # for i in base comp games man misc modules tests text xbase xcomp xetc xfont xserver; do tar zxvfp $i.tgz -C /;done
         # tar zxvfp etc.tgz -C /tmp/temproot   # mkdir /tmp/temproot
         # postinstall -s /tmp/tmproot check   # tar zxvfp etc.tgz -C /tmp/temproot
         # # copy postinstall's requirements   # postinstall -s /tmp/tmproot check
         # etcupdate -s /tmp/tmproot   # # copy postinstall's requirements
         # shutdown -r now   # etcupdate -s /tmp/tmproot
    # shutdown -r now
   """]]
   
 ## Upgrade the system with sources  ## Upgrade the system with sources
   
 * Build the userland  * Build the userland
   
                 # cd /usr/src  [[!template  id=programlisting text="""
                 # ./build.sh -O ../obj -T ../tools -j<njobs> -U distribution   # cd /usr/src
    # ./build.sh -O ../obj -T ../tools -j<njobs> -U distribution
   """]
   
 * Build the kernel  * Build the kernel
   
                 # cd /usr/src  [[!template  id=programlisting text="""
                 # ./build.sh -O ../obj -T ../tools -j<njobs> kernel=<KERNEL>   # cd /usr/src
    # ./build.sh -O ../obj -T ../tools -j<njobs> kernel=<KERNEL>
   """]
   
 * Install the new kernel  * Install the new kernel
   
                 # cd /usr/src  [[!template  id=programlisting text="""
                 # cp /netbsd /netbsd.old   # cd /usr/src
                 # cp /usr/obj/sys/arch/<ARCH>/compile/<KERNEL>/netbsd /   # cp /netbsd /netbsd.old
                 # shutdown -r now   # cp /usr/obj/sys/arch/<ARCH>/compile/<KERNEL>/netbsd /
                 # cd /usr/src   # shutdown -r now
                 # ./build.sh -O ../obj -T ../tools -U install=/   # cd /usr/src
                 # /usr/sbin/etcupdate -s /usr/src   # ./build.sh -O ../obj -T ../tools -U install=/
    # /usr/sbin/etcupdate -s /usr/src
   """]]]
   
 ## Adobe Flash  ## Adobe Flash
   
         # echo "procfs /emul/linux/proc procfs ro,linux" >> /etc/fstab  [[!template  id=programlisting text="""
         # mount /emul/linux/proc   # echo "procfs /emul/linux/proc procfs ro,linux" >> /etc/fstab
         # cd /usr/pkgsrc/www/nspluginwrapper   # mount /emul/linux/proc
         # make install   # cd /usr/pkgsrc/www/nspluginwrapper
         # cd /usr/pkgsrc/multimedia/ns-flash   # make install
         # make install   # cd /usr/pkgsrc/multimedia/ns-flash
         $ nspluginwrapper -i /usr/pkg/lib/netscape/plugins/libflashplayer.so   # make install
    $ nspluginwrapper -i /usr/pkg/lib/netscape/plugins/libflashplayer.so
   """]
   

Removed from v.1.2  
changed lines
  Added in v.1.3


CVSweb for NetBSD wikisrc <wikimaster@NetBSD.org> software: FreeBSD-CVSweb