Upgrading 10.x to 10.3
Ports Collection
Operating System
- cd /usr/src/sys/arch/conf
- diff GENERIC $KERNCONF > $KERNCONF.diff
- cd /usr/src
- svn sw svn://svn.db.tokushima-u.ac.jp/base/releng/10.3/
- Configure /usr/src/sys/arch/conf/$KERNCONF
- rm -rf /usr/obj
- make buildworld
- make buildkernel
- make installkernel
- reboot
- mergemaster -p
- make installworld
- mergemaster -iFU
- yes | make delete-old
- reboot
Mail System
- cd /etc/mail
- make install
- newaliases
Ports Collection / User Application
- cd /usr/local/lib/compat/pkg
- (remove old libraries)
- pkg update
- portupgrade -afc
- Recompile user applications
Operating System
- cd /usr/src
- yes | make delete-old-libs
Miscellaneous
EDB/Java RMI
- cd /usr/local/etc/rc.d/
- cp /home/private/edbjavarmi/rc.d/edbjavarmi .
ZFS
- (Not need following operations in 10.2→10.3)
- zpool upgrade -a
- (upgrade boot partitions: gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 device)
Upgrading 10.3 to 11.0
Ports Collection
SSH (If needed)
- /etc/ssh/ssh_config: PubkeyAcceptedKeyTypes +ssh-dss
- /etc/ssh/sshd_config: PubkeyAcceptedKeyTypes +ssh-dss
Operating System
- cd /usr/src/sys/arch/conf
- diff GENERIC $KERNCONF > $KERNCONF.diff
- cd /usr/src
- svn sw svn://svn.db.tokushima-u.ac.jp/base/releng/11.0/
- Configure /usr/src/sys/arch/conf/$KERNCONF
- rm -rf /usr/obj
- make buildworld
- make buildkernel
- make installkernel
- reboot
- mergemaster -p
- make installworld
- mergemaster -iFU
- yes | make delete-old
- reboot
Mail System
- cd /etc/mail
- make install
- newaliases
Ports Collection / User Application
- pkg-static install -f pkg
- cd /usr/local/lib/compat/pkg
- (remove old libraries)
- pkg update
- portupgrade -afc
- Recompile user applications
Operating System
- cd /usr/src
- yes | make delete-old-libs
Miscellaneous
EDB/Java RMI
- cd /usr/local/etc/rc.d/
- cp /home/private/edbjavarmi/rc.d/edbjavarmi .
ZFS
- zpool upgrade -a
- (upgrade boot partitions: gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 device)