在次走进教室

很早之前就想过回到学校在学点什么,可是自己一直没下定过决心,这次在老婆的一再坚持下,已经托了一周了。。终于帮我报了名,下个月开学,希望顺利毕业

freebsd6升级到freebsd7

Upgrading from FreeBSD 6.X to FreeBSD 7.X
=========================================

Author:   Ralf S. Engelschall 
Created:  2007-05-24
Modified: 2009-08-01
Version:  1.3

ATTENTION: THIS UPGRADE PROCEDURE MIGHT NOT WORK FOR YOU AS YOUR
ENVIRONMENT IS DIFFERENT. ALSO, THIS UPGRADE PROCEDURES MIGHT DESTROY
YOUR SYSTEM AND YOU POTENTIALLY MIGHT LOOSE DATA. NO WARRANTY AT ALL.
USE IT AT YOUR OWN RISK!

This upgrades from FreeBSD 6.4-STABLE to 7.2-STABLE.

---- PROLOG -----------------------------------------------------------------

o # reboot once to make sure OLD system is at least
  # able to still successfully reboot autonomous at all
  # SORRY, THIS IS _NOT_ A JOKE -- THIS IS A VERY SERIOUS ISSUE!
  $ shutdown -r now

---- BUILD ------------------------------------------------------------------

o # switch to a reasonable run-time environment
  $ cd /; exec `/usr/bin/which bash sh | head -1`
  $ PATH=/bin:/usr/bin:/sbin:/usr/sbin; umask 022; unset TMOUT

o # install backward compatibility files 
  # ("locale data" to /usr/local/share/compat/, "libraries" to /usr/local/lib/compat/)
  # notice: via binary packages as FreeBSD 7.x ports cannot be installed under FreeBSD 6.X
  $ url="ftp://ftp.freebsd.org/pub/FreeBSD/ports/`uname -m`/packages-7-stable/All"; \
    ( cd /tmp; for pkg in localedata-5.4.tbz compat6x-`uname -m`-6.4.604000.200810.tbz; do \
        fetch -p $url/$pkg; pkg_add $pkg; rm -f $pkg; \
    done )

o # install latest FreeBSD Upgrade Toolkit
  $ cd /usr; \
    fetch http://people.freebsd.org/~rse/dist/freebsd-adm-1.2.2.tar.gz; \
    rm -rf adm; gunzip > RELENG_7

o # upgrade /usr/src (already required for "mergemaster -p" below!)
  $ (cd /usr/src && make cleandir); \
    (cd /usr/adm && make update)

o # upgrade kernel configuration
  $ vi /sys/`uname -m`/conf/`hostname -s | tr 'a-z' 'A-Z'`

  >> options        COMPAT_FREEBSD6
  >> options        SCTP            # Stream Transmission Control Protocol
  >> options        UFS_GJOURNAL    # Enable gjournal-based UFS
  >> options        STOP_NMI        # Stop CPUS using NMI instead of IPI
  >> options        AUDIT           # Security event auditing
  >> options        GEOM_LABEL      # Provides labelization

  << options        GEOM_GPT        # GUID Partition Tables.
  >> options        GEOM_PART_GPT   # GUID Partition Tables.

  << options        COMPAT_43       # Compatible with BSD 4.3 [KEEP THIS!]
  >> options        COMPAT_43TTY    # BSD 4.3 TTY compat [KEEP THIS!]

  << options        NTFS

  >> options        STACK           # stack(9) support

  >> device         uart            # Generic UART driver

  << device         lnc             # NE2100, NE32-VL Lance Ethernet cards
  >> device         le              # AMD Am7900 LANCE and Am79C9xx PCnet

  >> device         firmware        # firmware assist module

  >> device         dcons           # Dumb console driver
  >> device         dcons_crom      # Configuration ROM for dcons

  << device         rr232x          # Highpoint RocketRAID 232x

o # prepare the upgrade
  # (mainly create "ftp" group)
  $ mergemaster -p

o # build new system
  $ cd /usr/adm && make world-build kernel-build

---- INSTALL ----------------------------------------------------------------

o # upgrade system 
  $ make world-install kernel-install

o # cleanup system (part 1)
  $ rm -f /etc/rc.d/ike /etc/rc.d/pccard /etc/rc.d/pcvt /etc/rc.d/ramdisk
  $ rm -f /etc/rc.d/ramdisk-own /etc/rc.d/usbd /etc/rc.d/nfslocking
  $ make etc
  $ make clean

o # reboot into upgraded system
  $ shutdown -r now

---- CLEANUP ----------------------------------------------------------------

o # switch to a reasonable run-time environment
  $ cd /; exec `/usr/bin/which bash sh | head -1`
  $ PATH=/bin:/usr/bin:/sbin:/usr/sbin; umask 022; unset TMOUT

o # cleanup system (part 2)
  $ ( for dir in /bin /sbin /usr/bin /usr/sbin /usr/libexec /usr/libdata; do \
      find $dir -mtime +2 -type f -xdev -print; \
      find $dir -mtime +2 -type l -xdev -print; \
      done ) >/tmp/remove
  $ vi /tmp/remove
  # REVIEW FILES TO REMOVE MANUALLY
  $ cat /tmp/remove | xargs rm -f
  $ ( for dir in /lib /usr/lib; do \
      find $dir -mtime +2 -type f -xdev -print; \
      find $dir -mtime +2 -type l -xdev -print; \
      done ) | grep -v /usr/lib/compat >/tmp/move
  $ vi /tmp/move
  # REVIEW FILES TO MOVE MANUALLY
  $ for x in `cat /tmp/move`; do chflags noschg $x; mv $x /usr/lib/compat/; done
  $ cd /usr/src; make BATCH_DELETE_OLD_FILES=YES delete-old delete-old-libs

---- EPILOG ----------------------------------------------------------------

o # reboot into cleaned system
  # (mainly to reload the shared library cache and to
  # make sure everything really still works fine)
  $ shutdown -r now

freebsd7升级到freebsd8

Upgrading from FreeBSD 7.X to FreeBSD 8.X
=========================================

Author:   Ralf S. Engelschall 
Created:  2009-01-01
Modified: 2011-01-29
Version:  1.4

ATTENTION: THIS UPGRADE PROCEDURE MIGHT NOT WORK FOR YOU AS YOUR
ENVIRONMENT IS DIFFERENT. ALSO, THIS UPGRADE PROCEDURES MIGHT DESTROY
YOUR SYSTEM AND YOU POTENTIALLY MIGHT LOOSE DATA. NO WARRANTY AT ALL.
USE IT AT YOUR OWN RISK!

This upgrades from FreeBSD 7.3-STABLE to 8.2-STABLE.

---- PREPARE ----------------------------------------------------------------

o # reboot once to make sure OLD system is at least
  # able to still successfully reboot autonomous at all
  # SORRY, THIS IS _NOT_ A JOKE -- THIS IS A VERY SERIOUS ISSUE!
  $ shutdown -r now

---- BUILD ------------------------------------------------------------------

o # switch to a reasonable run-time environment
  $ cd /; exec `/usr/bin/which bash sh | head -1`
  $ PATH=/bin:/usr/bin:/sbin:/usr/sbin; umask 022; unset TMOUT

o # install backward compatibility files 
  # ("locale data" to /usr/local/share/compat/, "libraries" to /usr/local/lib/compat/)
  # notice: via binary packages as FreeBSD 8.X ports cannot be installed under FreeBSD 7.X
  $ url="ftp://ftp.freebsd.org/pub/FreeBSD/ports/`uname -m`/packages-8-stable/All"; \
    ( cd /tmp; for pkg in localedata-5.4.tbz \
      compat6x-`uname -m`-6.4.604000.200810_3.tbz \
      compat7x-`uname -m`-7.3.703000.201008_1.tbz; do \
        fetch -p $url/$pkg; pkg_add $pkg; rm -f $pkg; \
    done )

o # install latest FreeBSD Upgrade Toolkit
  $ cd /usr; \
    fetch http://people.freebsd.org/~rse/dist/freebsd-adm-1.2.2.tar.gz; \
    rm -rf adm; gunzip > RELENG_8

o # upgrade /usr/src (already required for "mergemaster -p" below!)
  $ (cd /usr/src && make cleandir); \
    (cd /usr/adm && make update)

o # upgrade kernel configuration
  $ vi /sys/`uname -m`/conf/`hostname -s | tr 'a-z' 'A-Z'`

  << options        ADAPTIVE_GIANT
  << options        STOP_NMI
  << device         sio
  << device         ugen
  << device         uscanner
  << device         isa
  << device         mem
  << device         io
  << device         sl
  << device         ppp

  >> options        COMPAT_FREEBSD6
  >> options        COMPAT_FREEBSD7
  >> options        P1003_1B_SEMAPHORES
  >> options        PRINTF_BUFR_SIZE=128
  >> options        HWPMC_HOOKS
  >> options        MAC
  >> options        FLOWTABLE
  >> device         acpi
  >> device         uart

o # prepare the upgrade
  # (just to be sure, should be not really necessary this time)
  $ mergemaster -p

o # build new system
  $ cd /usr/adm && make world-build && make kernel-build

---- INSTALL ----------------------------------------------------------------

o # workaround 1/3 for "bad system call" during usage of ln(1) in "make etc"
  $ cp -p /bin/ln /bin/ln.old

o # upgrade system 
  $ make world-install && make kernel-install

o # workaround 2/3 for "bad system call" during usage of ln(1) in "make etc"
  $ cp -p /bin/ln /bin/ln.new
  $ cp -p /bin/ln.old /bin/ln

o # cleanup system (part 1)
  $ rm -f /etc/rc.d/early.sh /etc/rc.d/idmapd /etc/rc.d/isdnd /etc/rc.d/nfslocking /etc/rc.d/ip6fw
  $ make etc
  $ make clean

o # workaround 3/3 for "bad system call" during usage of ln(1) in "make etc"
  $ cp -p /bin/ln.new /bin/ln
  $ rm -f /bin/ln.old

o # regenerate /etc/localtime
  $ tzsetup

o # reboot into upgraded system
  $ shutdown -r now

---- CLEANUP ----------------------------------------------------------------

o # switch to a reasonable run-time environment
  $ cd /; exec `/usr/bin/which bash sh | head -1`
  $ PATH=/bin:/usr/bin:/sbin:/usr/sbin; umask 022; unset TMOUT

o # cleanup system (part 2)
  $ ( for dir in /bin /sbin /usr/bin /usr/sbin /usr/libexec /usr/libdata /usr/lib32; do \
      find $dir -mtime +2 -type f -xdev -print; \
      find $dir -mtime +2 -type l -xdev -print; \
      done ) >/tmp/remove
  $ vi /tmp/remove
  # REVIEW FILES TO REMOVE MANUALLY
  $ cat /tmp/remove | xargs chflags noschg
  $ cat /tmp/remove | xargs rm -f
  $ ( for dir in /lib /usr/lib; do \
      find $dir -mtime +2 -type f -xdev -print; \
      find $dir -mtime +2 -type l -xdev -print; \
      done ) | grep -v /usr/lib/compat >/tmp/move
  $ vi /tmp/move
  # REVIEW FILES TO MOVE MANUALLY
  $ for x in `cat /tmp/move`; do chflags noschg $x; mv $x /usr/lib/compat/; done
  $ cd /usr/src; make BATCH_DELETE_OLD_FILES=YES delete-old delete-old-libs

o # reboot into cleaned system
  # (mainly to reload the shared library cache and to
  # make sure everything really still works fine)
  $ shutdown -r now

freebsd8升级到freebsd9

Upgrading from FreeBSD 8.X to FreeBSD 9.X
=========================================

Author:   Ralf S. Engelschall 
Created:  2011-09-30
Modified: 2011-09-30
Version:  1.0

ATTENTION: THIS UPGRADE PROCEDURE MIGHT NOT WORK FOR YOU AS YOUR
ENVIRONMENT IS DIFFERENT. ALSO, THIS UPGRADE PROCEDURES MIGHT DESTROY
YOUR SYSTEM AND YOU POTENTIALLY MIGHT LOOSE DATA. NO WARRANTY AT ALL.
USE IT AT YOUR OWN RISK!

This upgrades from FreeBSD 8.2-STABLE to 9.0-BETA3.

---- PREPARE ----------------------------------------------------------------

o # reboot once to make sure OLD system is at least
  # able to still successfully reboot autonomous at all
  # SORRY, THIS IS _NOT_ A JOKE -- THIS IS A VERY SERIOUS ISSUE!
  $ shutdown -r now

---- BUILD ------------------------------------------------------------------

o # switch to a reasonable run-time environment
  $ cd /; exec `/usr/bin/which bash sh | head -1`
  $ PATH=/bin:/usr/bin:/sbin:/usr/sbin; umask 022; unset TMOUT

o # install backward compatibility files 
  # ("locale data" to /usr/local/share/compat/, "libraries" to /usr/local/lib/compat/)
  # notice: via binary packages as FreeBSD 9.X ports cannot be installed under FreeBSD 8.X
  $ url="ftp://ftp.freebsd.org/pub/FreeBSD/ports/`uname -m`/packages-9-current/All"; \
    ( cd /tmp; for pkg in localedata-5.4.tbz \
      compat6x-`uname -m`-6.4.604000.200810_3.tbz \
      compat7x-`uname -m`-7.3.703000.201008_1.tbz \
      compat8x-`uname -m`-8.2.802000.201109.tbz; do \
        (fetch -p $url/$pkg; if [ -f $pkg ]; then pkg_add $pkg; rm -f $pkg; fi) || true; \
    done )

o # install latest FreeBSD Upgrade Toolkit
  $ cd /usr; \
    fetch http://people.freebsd.org/~rse/dist/freebsd-adm-1.2.2.tar.gz; \
    rm -rf adm; gunzip > RELENG_9

o # upgrade /usr/src (already required for "mergemaster -p" below!)
  $ (cd /usr/src && make cleandir); \
    (cd /usr/adm && make update)

o # upgrade kernel configuration
  $ vi /sys/`uname -m`/conf/`hostname -s | tr 'a-z' 'A-Z'`

  >> options        COMPAT_FREEBSD6
  >> options        COMPAT_FREEBSD7

o # prepare the upgrade
  # (just to be sure, should be not really necessary this time)
  $ mergemaster -p

o # build new system
  $ cd /usr/adm && make world-build && make kernel-build

---- INSTALL ----------------------------------------------------------------

o # upgrade system 
  $ make world-install && make kernel-install

o # cleanup system (part 1)
  $ make etc
  $ make clean

o # regenerate /etc/localtime
  $ tzsetup

o # reboot into upgraded system
  $ shutdown -r now

---- CLEANUP ----------------------------------------------------------------

o # switch to a reasonable run-time environment
  $ cd /; exec `/usr/bin/which bash sh | head -1`
  $ PATH=/bin:/usr/bin:/sbin:/usr/sbin; umask 022; unset TMOUT

o # cleanup system (part 2)
  $ ( for dir in /bin /sbin /usr/bin /usr/sbin /usr/libexec /usr/libdata /usr/lib32; do \
      find $dir -mtime +2 -type f -xdev -print; \
      find $dir -mtime +2 -type l -xdev -print; \
      done ) >/tmp/remove
  $ vi /tmp/remove
  # REVIEW FILES TO REMOVE MANUALLY
  $ cat /tmp/remove | xargs chflags noschg
  $ cat /tmp/remove | xargs rm -f
  $ ( for dir in /lib /usr/lib; do \
      find $dir -mtime +2 -type f -xdev -print; \
      find $dir -mtime +2 -type l -xdev -print; \
      done ) | grep -v /usr/lib/compat >/tmp/move
  $ vi /tmp/move
  # REVIEW FILES TO MOVE MANUALLY
  $ for x in `cat /tmp/move`; do chflags noschg $x; mv $x /usr/lib/compat/; done
  $ cd /usr/src; make BATCH_DELETE_OLD_FILES=YES delete-old delete-old-libs

o # reboot into cleaned system
  # (mainly to reload the shared library cache and to
  # make sure everything really still works fine)
  $ shutdown -r now

godaddy开始限制中国用户?

最近 godaddy 2.95优惠码 ,5.95优惠码,中国用户支付的时候都会提示

Unfortunately, we are unable to process your purchase using this form of payment. Please utilize another form of payment, or contact (480) 505-8855 for further assistance.

包括刚刚活动的 2.95优惠码还是同样提示。希望这几次只是误伤,不过有同学打电话过去,注册成功,如果你口语还不错,可以试一下。。

GoDaddy .COM域名10月优惠码:2.95美元注册/转入.COM!

GoDaddy 2012年10月份GoDaddy优惠码:2.95美元超低价注册或转入.COM域名!而且不只适用于注册,还适用于从其它注册商将你的域名转入到GoDaddy!无论新老用户均可享受优惠!

[drpcoupon name=”godaddy cjc295v” exclude=”name,expiration,description,rss”]
(注:此优惠链接已集成GoDaddy 10月优惠码,无需再输入优惠码。有效期未知。)

GoDaddy .COM域名10月优惠码:5.99美元注册/转入.COM!

GoDaddy 2012年10月份GoDaddy优惠码:5.99美元超低价注册或转入.COM域名!而且不只适用于注册,还适用于从其它注册商将你的域名转入到GoDaddy!无论新老用户均可享受优惠!
[drpcoupon name=”godaddy cjc599v2″ exclude=”name,expiration,description,rss”]
(注:此优惠链接已集成GoDaddy 10月优惠码,无需再输入优惠码。有效期未知。)