個人心情和 Linux / FreeBSD 等技術

2011/06/08

cisco 推出了新型 router ASR9000

http://newsroom.cisco.com/dlls/2011/prod_060711b.html

看了一下是針對影像推出的產品, 不過那個接近真人高的高度是發生啥事..

更新一下..算是舊產品但內容升級了

2011/03/09

Daughtry - Poker Face

原來當然是 lady gaga 唱的

Daughtry 吉他版本我覺得翻唱的不錯的

2011/03/04

升級到 freebsd 8.2 備忘

The freebsd-update(8) utility supports binary upgrades of i386 and amd64 systems running earlier FreeBSD releases. Systems running 7.[01234]-RELEASE, 8.[01]-RELEASE, 8.2-BETA1, or 8.2-RC[123] can upgrade as follows:
# freebsd-update upgrade -r 8.2-RELEASE


During this process, FreeBSD Update may ask the user to help by merging some configuration files or by confirming that the automatically performed merging was done correctly.
# freebsd-update install


The system must be rebooted with the newly installed kernel before continuing.
# shutdown -r now


After rebooting, freebsd-update needs to be run again to install the new userland components:
# freebsd-update install


At this point, users of systems being upgraded from FreeBSD 7.4-RELEASE or earlier will be prompted by freebsd-update to rebuild all third-party applications (e.g., ports installed from the ports tree) due to updates in system libraries.


為了 rebuild  third-party application , 最快的方式就是全部移除掉重來..


免的解一些奇怪的 ports bug , 這邊參考  portmaster


Using portmaster to do a complete reinstallation of all your ports:
1. portmaster --list-origins > ~/installed-port-list
2. Update your ports tree
3. portmaster -ty --clean-distfiles
4. portmaster --check-port-dbdir
5. portmaster -Faf
6. pkg_delete '*'
7. rm -rf /usr/local/lib/compat/pkg
8. Back up any files in /usr/local you wish to save,
such as configuration files in /usr/local/etc
9. Manually check /usr/local and /var/db/pkg
to make sure that they are really empty
10. Re-install portmaster
11. portmaster `cat ~/installed-port-list`




After updating installed third-party applications (and again, only if freebsd-update printed a message indicating that this was necessary), run freebsd-update again so that it can delete the old (no longer used) system libraries:
# freebsd-update install


Finally, reboot into 8.2-RELEASE:
# shutdown -r now


參考: http://www.freebsd.org/releases/8.2R/announce.html 

2011/02/25

trafficserver 2.1.5 在 Debian Squeeze 上的安裝

拿 trafficserver 2.1.5 版..

做個紀錄

$ sudo groupadd -g 3128 trafficserver
$ sudo useradd -g 3128 -u 3128 -r trafficserver
$ sudo aptitude install autoconf automake libtool g++ libssl-dev tcl-dev expat libexpat1-dev libpcre3-dev libsqlite3-dev



編譯選項
sudo ./configure --with-user=trafficserver --with-group=trafficserver  --with-gnu-ld

註記

*2.1.5 版開啟 --enable-webui  會踩到 bug 編譯失敗 , 2.1.4 版則是可以編譯成功, 但老實說畫面實在是太陽春...無用 = =

*另外 build instruction 上寫到需要 libexpat-dev , squeeze 上已經不叫這名稱..

參考 : http://svn.apache.org/repos/asf/trafficserver/traffic/trunk/README