January 6, 2009
2009, What I have and what I want
It's Jun 6, 2008 16:40.
Time turns out to be amazing fast since I've had this job. Not meaning this job makes me too busy to remember what was going on. Time flies by, I had never grabed a moment.
So what I still have after what have lost?
0) Health, me, my family & my Macropodus opercularis
1) A job
2) Freedom
3) A photoblog
4) A DSLR and some lens
Then what do I want?
0) Health, me, my family & of cause the Macropodus opercularis
1) An advancement of my career
2) Freedom
3) A house
4) An Evo OR a STI
5) Canon 5D MarkII with EF 16-35mm f/2.8 L II / 70-200mm f/2.8L / EF 400mm f/2.8L IS USM lens
6) A trip to AU & Namibia
7) Joy
8) ...
-EOF-
January 5, 2009
Sigma 105mm f/2.8 EX Macro
d70s, so far so good. with Sigma 105mm f/2.8 EX Macro lens

Canon 5D MarkII
Willing to get one with EF 70-200 f/2.8 L Lens =3=
Make Your Tomcat5.5 Running at Port 80
Mentioned in my last POST.
If you want to make your tomcat5.5 running at tcp port 80, with editing /etc/tomcat5.5/server.xml. You will eventuall failed. Because it just can't be done by normal user, simple rule, isn't it?
Open /etc/init.d/tomcat5.5
Replace `TOMCAT5_USER=tomcat55` with `#TOMCAT5_USER=root`, change the port setting in /etc/tomcat5.5/server.xml, save your modification and restart the tomcat process.
You're done.
-EOF-
Weird issue with tomcat5.5
After Installing Tomcat5.5 on the system (etch), I noticed that tomcat5.5 actually listened on port 8180 (which is 8080 on windows platform), the configuration file can be found at /etc/tomcat5.5/server.xml.
After change the Anybody knows why? -EOF-
Installing Tomcat5.5 in Debian GNU/Linux Etch
In order to test a oss photoblog software, I will need to install tomcat on my server, since it's brand new, I'll just take some records here, to show you how it's done. The whole process is pretty straight forward to me. Yet one problem remains -- That's the listened port seems to be unchangeable -- which is 8180.
Let's get started.
First of all, I just get the standard system installed.
Clear the whole /etc/apt/sources.list and add these three lines to the file, save and exit.
deb http://ftp.twaren.net/debian/ etch main non-free contrib
deb http://ftp.twaren.net/debian-security/ etch/updates main contrib non-free
deb-src http://ftp.twaren.net/debian/ etch main non-free contrib
execute an update by
www~# aptitude update
www~# aptitude upgrade
www~# aptitude dist-upgrade
Reboot the system, it's the tomcat installation part.
www~# aptitude install sun-java5-jdk
www~# aptitude install tomcat5.5 tomcat5.5-admin tomcat5.5-webapps
You're done, it's that easy, the tomcat5.5 file is located on /etc/tomcat5.5/server.xml and there is a link to this file at /var/lib/tomcat5.5/conf/server.xml.
Default non-ssl http port is 8180, ssl http port is 8443.
Manage user can be added via /var/lib/tomcat5.5/conf/tomcat-users.xml.
-EOF-
Disabling IPv6 under Debian GNU/Linux
Disable IPv6 support in Debian GNU/Linux is easy, simple add these two lines
alias net-pf-10 off
alias ipv6 off
to /etc/modprobe.d/00local, (create one if this file not existed)
Save & exist to the shell prompt, then reboot your box, you're done.
December 22, 2008
Merry Christmas
奇怪了, 為什麼不是Happy Christmas而是Merry Christmas and Happy holiday? 我就不胡扯了. 繼續延用. 在icrt上面聽到一首非常喜歡的歌, 叫Christmas In Our Hearts, 我還是特別喜歡這種調調, 似乎是一個人遠在千裏之外. Youtube上面有人放了一個連接, 音質不是太好, 可以將就聽一聽. Jesus的節日快到了, 感受一下感受之外吧.
December 18, 2008
自由自在地工作
郭小懶說, 幸福就是貓吃魚狗吃肉奧特曼打小怪獸! 但我仍然向往自由自在的工作, 自由自在的生活.
陳一大早就給我發來一個天涯上的鏈接, 上面說是麗江的某一個客栈在找寫字的和拍照的. 於是我給樓主寫郵件說, 這個, 我有一個以前在2416的小女孩推薦, 可否談談? 在麗江認識的, 同去的都離開了那個地方, 但最近的畢竟是她, 也只有她才能跑到那兒去工作. 所以盡自己一份努力. 幫幫她.
樓主的那個帖子裏面有一些麗江的圖片, 看著看著, 不得不說我是想起那個地方了. 不管有多少人說它俗, 也不管有多少人說它商業化程度有多高. 我只是單純的喜歡那裏. 這...是一個無法解釋的事件. 搞不好我只是喜歡陌生的地方, 比如自己跑到上海去, 杭州去, 感覺都是一流.




