2013年9月24日 星期二

在Ubuntu收公司信箱(Exchange)的艱辛歷程...

在Ubuntu收公司信箱的艱辛歷程...

公司信箱是Exchange...沒有開放POP3跟IMAP (MIS:摳鼻~)
  • 本地收信
    • 透過Playonlinux安裝office 2010,使用Outlook→沒辦法執行神秘的Activator?
      • Playonlinux有提供Activator patch,設定KMS Server即可啟用...
        • 感想: 緩慢...
    • Thunderbird→不支援Exchange
      • 改用支援Exchange的Evolation...
    • Evolution→不支援公司用的Exchange版本...
      • 改回Thunderbird,研究替代方案Davmail
    • Thunderbird + Davmail → Worked!
      • 感想: 
        • 緩慢: 不論是透過Davmail LDAP撈通訊錄或是走Davmail IMAP開啟信件都要等一下子。
        • 不夠便利: 透過Davmail POP3可以一次把信收下來,但是信件就收在本地端,沒辦法在不同地方可以查詢歷史郵件
        • 搜尋: 慢速...
放棄本地收信...開始研究如何用gmail把信收過去...

  • 雲端收信(感覺很屌?!)
    • Gmail→只能收IMAP或POP3,沒辦法收Exchange
      • 尋求其他Webmail solution...
    • Outlook.com→只能收POP3,沒辦法收Exchange
      • 都只能收IMAP+POP3,回頭研究Davmail...
    • Gmail + Davmail(Server Mode)→Worked!
      • Gmail預設一個小時檢查POP3帳戶一次...太慢了!
    • Outlook.com + Davmail(Server Mode)→Worked!
      • Outlook.com一樣一個小時檢查一次...上班時間沒辦法一個小時看一次信...
      • 尋找Webmail solution,可以自訂撈信間隔...
    • Roundcubemail + Gmail + Davmail→Failed...
      • Roundcubemail使用的Xpertmailer,mail server不能設定127.0.0.1,也不能設定Localhost...花了幾個小時斷斷續續追才找到原因...Worked!
      • 但pop3不知道甚麼時候才會撈信下來=.= 放棄Orz
      • 回頭研究怎麼加速Gmail檢查POP3的速度
    • Gmail + Davmail(Server Mode) + Gmail POP3 Checker(greasemonkey script)→Worked!
      • 沒有Donate的情況下,預設8分鐘自動檢查一次POP3 account
為了收信這件事...
研究Playonlinux安裝Office...
玩Davmail,研究設定跟Log...
架設Roundcubemail...花了一些時間除錯...
橫跨不少領域= =|||

當然還包含花了不少時間在搜尋資料...
真是花了不少功夫Orz


2013年9月12日 星期四

Ubuntu 64bit 12,04 Build android environment setting

I've refer http://source.android.com/source/initializing.html
and the answer of http://askubuntu.com/questions/256487/initialising-the-build-environment-for-android-on-64-bit-12-04
to setup the enviroment on my thinkpad T430...

After I've complete the environment setting up,
and build the image, it's all wonderful result...
till I've shut down my notebook, or reboot my notebook...
It will display "Could not write byte: broken pipe" with a blank screen...

It's almost make me crazy cause I've reinstall my notebook 10 times at least,
to find out which package fail, what package I've install...
lot of discussed point out that lightdm should be killer, But I can't fix it while I've follow the instruction.

finally, I doubt that why the android tool chain need glx and x11 package?
so I've reinstall again(yes...again)
and leave some package to not install that I've delete as below,
and try it...
Great, At least I can build the image same as before,
and....

Till now, I've not appear the god damn broken pipe issue again!

require package:
sudo apt-get install git gnupg flex bison gperf build-essential \
zip curl libc6-dev libncurses5-dev:i386 x11proto-core-dev \
libx11-dev:i386 libreadline6-dev:i386 libgl1-mesa-glx-lts-quantal:i386 \
libgl1-mesa-dev g++-multilib mingw32 tofrodos \
python-markdown libxml2-utils xsltproc zlib1g-dev:i386

PS: I found that package will cause error when make menuconfig, due to missing the package libncurses5-dev
but libncurses5-dev is conflict with libncurses5-dev:i386

solution is install the package as below,
lib32ncurses5-dev 
lib32readline6-dev
lib32z1-dev

and JDK6:
  1. Download binary from oracle website or other mirror and install it.
    1. download jdk-6u*-linux-x64.bin
    2. chmod a+x jdk-6u*-linux-x64.bin
    3. ./jdk-6u*-linux-x64.bin
    4. export PATH=~/jdk1.6.0_*/bin:$PATH
  2. Add PPA source
    1. https://launchpad.net/~webupd8team/+archive/java
Next step...
I'm still try to figure out how to install office on my ubuntu 12.04~

    Fix my Orange Pi 3 SBC not able to power up

    前幾天拿我的Orange Pi 3出來 取出MicroSD卡,更新Armbian到最新版本 想確認一下Panfrost會導致畫面閃爍/破碎的問題修正了沒 插上MicroSD卡之後開機,還在設定過程中突然斷電關機 重複一兩次都無法正常開機 伴隨著微微的異味 我想可能是有什麼東西燒掉...