最近,丫滴公司開始導入 Libre Office
將棄用 MS Office 了
但多數情況下,客戶大多數還是以 MS Office 的檔案往來為主
如果,沒有特別想用 Libre Office
或者,基本上只需要查看客戶提供的檔案
而且,又不想將這些檔案透過雲端儲存或傳送的話
那或許可以考慮,直接安裝 MS Office 檔案的相關 Viewer 就好囉~
‧Microsoft Office Word、Excel 及 PowerPoint 檔案格式相容性套件
http://www.microsoft.com/zh-tw/download/details.aspx?id=3
‧Word Viewer
http://www.microsoft.com/zh-tw/download/details.aspx?id=4
‧Excel Viewer
http://www.microsoft.com/zh-tw/download/details.aspx?id=10
‧PowerPoint Viewer
http://www.microsoft.com/zh-tw/download/details.aspx?id=13
‧Microsoft Visio 2013 Viewer
http://www.microsoft.com/zh-tw/download/details.aspx?id=35811
2015-03-20
2014-11-05
Window 7 AppLocker 初體驗
今天的丫滴又熊熊搞腦包了
話說電腦裡,有時候總有些程式是很討人厭的
即使不想開,它卻都又會自已開機自動啟動
( 咦!?丫滴你腦袋進水了嗎?不會把它從開機自動啟動停用或刪掉,不就好了~! )
是的,丫滴本來也是這麼想的
但偏偏就是有些軟體,沒有放在【服務】,在【msconfig】裡也找不到
即使拿了【CCleaner】出來晃一晃,也不見它的蹤影
但偏偏。。。它就是開機又自動啟動了 ><"
偶然間,看到了 AppLocker 這個看似神奇的玩意兒~ 好 High 呀~
丫滴索性就隨便先設了兩個想要【封鎖】禁止【執行】的程式
話說 AppLocker 好像是打從 Window 7 開始有的產物
網上 Google 了一下,也有網友特別提到:
設定 AppLocker 完了之後,必需要【重啟電腦】
而且,要確認【服務】裡的【Application Identity】有啟動
這樣的話 AppLocker 就能夠生效了 ( 好開心呀 )
丫滴就這樣不假思索的給它【設定了兩條禁止執行】然後就給它【重新開機】了
就這樣。。。惡夢開始了。。。
興奮的看著 Windows 7 正在載入設定檔 ( 嗯~ 很棒 )
接著終於登入畫面出現了 ( 很好~ 打密碼登入~ )
然後進到了丫滴的桌面
( 讚~! 趕快來看一下工作管理員,看那兩個程式還有沒有自動啟動 )
咦!工作管理員怎麼開不起來。。。
接著,丫滴又按了一下【電腦→管理】
哇哩。。。沒有可以執行的權限,請聯絡系統管理員 ( 暈了。。。 )
再按看看其它的程式。。。IE、Chrome、記事本。。。
全部都沒有權限可以執行 ( 好個 AppLocker ) Orz
丫滴竟然把自己鎖在門外了。。。吐血。。。
好家在家裡還有老爹和老媽的電腦可以用。。。先來 Google 一下吧 ( 冏爆了 )
話說 AppLocker 果然是好物,竟然連在 Google 上都找不到太多的相關問題排除方案
不過幸好丫滴在網上找到了下面這則大致上的解決方案
【无法进入系统的情况下,如何关闭某个服务,或者关闭applocker】
【zhidao.baidu.com/question/414496931.html】
【http://webcache.googleusercontent.com/search?q=cache:-r459NJGRRMJ:zhidao.baidu.com/question/414496931.html+&cd=1&hl=zh-TW&ct=clnk&gl=tw】
該帖子說明的方式如下:
从光盘启动-修复计算机-命令提示符,输入:
reg load hklm\abc C:\windows\system32\config\system
reg delete "hklm\abc\CurrentControlSet1\services\AppIDSvc" /v start /f
reg add "hklm\abc\CurrentControlSet1\services\AppIDSvc" /v start /t REG_DWORD /d 4
reg unload hklm\abc
重启电脑
看著它的說明,丫滴傻傻的照著做了
1.先找出來 Windows 7 的安裝光碟
由於丫滴裝的是 Win7 64bit 的,結果一時無法確定
所以想說沒關係,先拿個 Win7 32bit 的光碟來用看看唄~
不好意思。。。失敗。。。Windows 會特別提示:
您用的安裝光碟和系統不符,無法進行修復
所以丫滴又乖乖的去確認了之前燒的 Win7 64bit DVD
找到了,也確認了之後,一樣,就用 Win7 64bit DVD 開機
進入了之後,選擇修復,然後最下面應該會有一個類似【命令提示字元】的功能
( 也就是常會用到的 cmd )
點選後,終於先看到了熟悉的 cmd 了
不過,由於每個人的電腦安裝時,硬體設備不同
所以正常的系統槽 C: 可能就會變成在其它的 D: 或 E: 甚至其它的囉~
PS:由於 Windows 7 光碟的修復模式所啟用的 cmd 是它自行另開一個暫存的目錄
所以基本上進入後,應該會是看到目前位於【X:\Source】底下
2.照著帖子上說的,丫滴打了
【reg load hklm\abc C:\windows\system32\config\system】
哇哩。。。找不到檔案 Orz
所以丫滴就找了一下。。。到底哪裡是丫滴原本的 C: 槽
切換磁碟槽的指令【C:】就會換到 C: 槽,【D:】就會換到 D: 槽
查看目前資料夾底下有什麼東西的指令【dir】
哈,好像回到國中的 DOS 上課時代。。。
不過,這些可都是系統問題排解的基本指令呀~ ><"
順利找到了丫滴原本的 C: 槽之後 ( 原來本成 E: 了 ) 再次輸入帖子上所說的方式
【reg load hklm\abc E:\windows\system32\config\system】成功了
3.接著輸入【reg delete "hklm\abc\CurrentControlSet1\services\AppIDSvc" /v start /f】
這次可冏了,丫滴無論怎麼找,就是找不到這組機碼的值
好吧!就暫時跳過吧~ 反正這個指令最主要是【刪除機碼的值】
如果都已經找不到的話,那跟刪掉了有什麼差別呢~ ( 呵呵~ 開心,繼續下一步 )
4.輸入
【reg add "hklm\abc\CurrentControlSet1\services\AppIDSvc" /v start /t REG_DWORD /d 4】
成功~
看起來好像還滿順利的呢~ ( 太開心了,電腦快要活起來了 )
5.輸入【reg unload hklm\abc】將 reg 缷載成功~ ( 太棒了~ 活起來吧~! )
6.重開機
經過了快半個小時的折磨,丫滴終於可以重生了
看到了登入畫面 ( 趕快輸入密碼 )
Oh~ No~~~~~~~~~~~~~~~~~~~~ 我的桌面咧!?我桌面的檔案咧!?怎麼全都不見了。。。
連【開始和工作列】也全都不見了。。。空空如也。。。我的媽呀。。。
PS:不過至少 Ctrl + Alt + Del 可以跳到正常重新開機或關機的登入畫面 Orz
當丫滴正低落的時候,開始思索著,之前在玩 Windows OS 和 DOS command 的一些經驗時
丫滴又回過頭來,再仔細去看了一下剛才找到的那個帖子
外加查看老爹目前沒問題的電腦 Windows 7 32bit
丫滴歸類了幾個重點:
1.目前是可以透過相應 bit 版本的 Window 7 光碟進入 DOS Command Mode 的
2.帖子上所使用的處理方式,都是透過 reg ( 也就是在 Windows 系統裡開啟的 regedit 這裡面的咚咚 )
3.其實【服務】裡的【Application Identity】就是帖子裡的【AppIDSvc】
4.正常情況下 Windows 7 剛安裝好的時候,除了自己的帳號以外,系統也預設建立了 Administrator 帳號
而 regedit 中,其實我們可以看到【HKEY_LOCAL_MACHINE\SYSTEM】底下
會有【ControlSet001】、【ControlSet002】
這個【ControlSet001】基本上應該就是 Administrator 帳號的註冊機碼設定
而【ControlSet002】應該就是丫滴自己的帳號了
5.這個【reg load hklm\abc E:\windows\system32\config\system】
其實應該就是丫滴系統裡的 regedit 註冊機碼設定檔
6.咦!?那為什麼要用 reg load hklm\abc 呢!?
丫滴的理解是:
因為我們要先把原本系統的註冊機碼設定檔掛載到 Windows 7 光碟所暫時啟動使用的 DOS Command
才能夠將原先設定【Application Identity】這個【服務】的【自動】改成【手動】
所以丫滴又 Google 確認了一下,其實無論是 hklm\abc 或 hklm\def
只要不會跟 Windows 原先 regedit 裡的機碼名稱相同的話,就應該都是 ok 的
所以多數網上的範例,或是網友的建議,都是直接以 hklm\abc 來做
會比較直接,也比較容易理解、好記
好吧~
既然都已經大概知道狀況了,丫滴就硬著頭皮再用 Windows 7 64bit DVD 進入 DOS Command
01.先掛載原系統註冊機碼設定檔【reg load hklm\abc E:\windows\system32\config\system】
02.查詢確認先前按照帖子寫入的機碼【reg query hklm\abc】
果不其然,可以發現多了個 hklm\abc\CurrentControlSet1 的機碼
更好笑的是,這一整組機碼裡面,除了剛才寫入的那個機碼以外,其它的機碼設定通通都沒有
03.再查詢確認一下原本系統裡的 ControlSetXXX 帳號註冊機碼設定【reg query hklm\abc\ControlSet001】
果不其然,跟老爹目前正常的 Windows 7 32bit 裡的機碼一樣 ( 廢話。。。都是丫滴灌的咩~ Orz )
再查詢確認一下【reg query hklm\abc\ControlSet002】
這下可就真相大白了 ( 真的很白。。。目 =.=" )
其實原本帖子裡大概的處理方式是沒問題的,但是因為每台電腦的安裝和設定方式不同
所以有些地方,真的是需要自己去查一下,然後做修改的
所以~ 接下來丫滴就沒有在怕的了 ( 衝吧~ )
04.刪除原本誤植入的機碼設定【reg delete hklm\abc\CurrentControlSet1】
這是剛才帖子裡教的寫法,寫錯了,把它刪掉唄~
PS:丫滴在想,這也就是為什麼,剛才按照帖子的方法做完了之後
再重開機登入時,整個東西全都不見了的原因
因為這個 CurrentControlSet1 底下根本就沒有其它的註冊機碼設定
Windows 又怎麼會知道你的桌面要怎麼初始化
05.把 Administrator 帳號【服務】的【Application Identity】改回【手動】的設定
【reg add hklm\abc\controlset001\services\appidsvc /v start /t REG_DWORD /d 3】
由於丫滴並沒有加入 /f 參數做強制覆寫,所以 DOS Command 應該會提示您:是否要覆寫已存在的機碼
直接輸入【y】然後 Enter,應該就可以看到正常覆寫成功囉~
06.把丫滴自己帳號【服務】的【Application Identity】改回【手動】的設定
【reg add hklm\abc\controlset002\services\appidsvc /v start /t REG_DWORD /d 3】
跟上面的步驟 5. 一樣
07.查詢確認 ControlSet001 和 ControlSet002 是否都有正常寫入機碼
【reg query hklm\abc\controlset001\services\appidsvc】
【reg query hklm\abc\controlset002\services\appidsvc】
08.缷載註冊機碼設定檔【reg unload hklm\abc】
( 改完了咩~ 就正常缷載退出唄~ 免得檔案損毀得不償失呀~ )
09.離開【exit】
10.重新開機
接著,就是重見天日的好消息了~
終於丫滴原本可愛的桌面整個全部都回來了 ( 感動~ )
雖然,這整篇寫的又臭又長
但丫滴還是比較希望,能夠提供個完整的處理過程和經驗,分享給大家
希望,真的有跟丫滴一樣【天】的朋友們遇到這類問題的話
能夠很快的、安心的,把電腦救回來囉~
如果有任何問題或心得可以分享的話
歡迎大大們不吝 PO 文留言,造福更多【愛玩的人】
話說電腦裡,有時候總有些程式是很討人厭的
即使不想開,它卻都又會自已開機自動啟動
( 咦!?丫滴你腦袋進水了嗎?不會把它從開機自動啟動停用或刪掉,不就好了~! )
是的,丫滴本來也是這麼想的
但偏偏就是有些軟體,沒有放在【服務】,在【msconfig】裡也找不到
即使拿了【CCleaner】出來晃一晃,也不見它的蹤影
但偏偏。。。它就是開機又自動啟動了 ><"
偶然間,看到了 AppLocker 這個看似神奇的玩意兒~ 好 High 呀~
丫滴索性就隨便先設了兩個想要【封鎖】禁止【執行】的程式
話說 AppLocker 好像是打從 Window 7 開始有的產物
網上 Google 了一下,也有網友特別提到:
設定 AppLocker 完了之後,必需要【重啟電腦】
而且,要確認【服務】裡的【Application Identity】有啟動
這樣的話 AppLocker 就能夠生效了 ( 好開心呀 )
丫滴就這樣不假思索的給它【設定了兩條禁止執行】然後就給它【重新開機】了
就這樣。。。惡夢開始了。。。
興奮的看著 Windows 7 正在載入設定檔 ( 嗯~ 很棒 )
接著終於登入畫面出現了 ( 很好~ 打密碼登入~ )
然後進到了丫滴的桌面
( 讚~! 趕快來看一下工作管理員,看那兩個程式還有沒有自動啟動 )
咦!工作管理員怎麼開不起來。。。
接著,丫滴又按了一下【電腦→管理】
哇哩。。。沒有可以執行的權限,請聯絡系統管理員 ( 暈了。。。 )
再按看看其它的程式。。。IE、Chrome、記事本。。。
全部都沒有權限可以執行 ( 好個 AppLocker ) Orz
丫滴竟然把自己鎖在門外了。。。吐血。。。
好家在家裡還有老爹和老媽的電腦可以用。。。先來 Google 一下吧 ( 冏爆了 )
話說 AppLocker 果然是好物,竟然連在 Google 上都找不到太多的相關問題排除方案
不過幸好丫滴在網上找到了下面這則大致上的解決方案
【无法进入系统的情况下,如何关闭某个服务,或者关闭applocker】
【zhidao.baidu.com/question/414496931.html】
【http://webcache.googleusercontent.com/search?q=cache:-r459NJGRRMJ:zhidao.baidu.com/question/414496931.html+&cd=1&hl=zh-TW&ct=clnk&gl=tw】
該帖子說明的方式如下:
从光盘启动-修复计算机-命令提示符,输入:
reg load hklm\abc C:\windows\system32\config\system
reg delete "hklm\abc\CurrentControlSet1\services\AppIDSvc" /v start /f
reg add "hklm\abc\CurrentControlSet1\services\AppIDSvc" /v start /t REG_DWORD /d 4
reg unload hklm\abc
重启电脑
看著它的說明,丫滴傻傻的照著做了
1.先找出來 Windows 7 的安裝光碟
由於丫滴裝的是 Win7 64bit 的,結果一時無法確定
所以想說沒關係,先拿個 Win7 32bit 的光碟來用看看唄~
不好意思。。。失敗。。。Windows 會特別提示:
您用的安裝光碟和系統不符,無法進行修復
所以丫滴又乖乖的去確認了之前燒的 Win7 64bit DVD
找到了,也確認了之後,一樣,就用 Win7 64bit DVD 開機
進入了之後,選擇修復,然後最下面應該會有一個類似【命令提示字元】的功能
( 也就是常會用到的 cmd )
點選後,終於先看到了熟悉的 cmd 了
不過,由於每個人的電腦安裝時,硬體設備不同
所以正常的系統槽 C: 可能就會變成在其它的 D: 或 E: 甚至其它的囉~
PS:由於 Windows 7 光碟的修復模式所啟用的 cmd 是它自行另開一個暫存的目錄
所以基本上進入後,應該會是看到目前位於【X:\Source】底下
2.照著帖子上說的,丫滴打了
【reg load hklm\abc C:\windows\system32\config\system】
哇哩。。。找不到檔案 Orz
所以丫滴就找了一下。。。到底哪裡是丫滴原本的 C: 槽
切換磁碟槽的指令【C:】就會換到 C: 槽,【D:】就會換到 D: 槽
查看目前資料夾底下有什麼東西的指令【dir】
哈,好像回到國中的 DOS 上課時代。。。
不過,這些可都是系統問題排解的基本指令呀~ ><"
順利找到了丫滴原本的 C: 槽之後 ( 原來本成 E: 了 ) 再次輸入帖子上所說的方式
【reg load hklm\abc E:\windows\system32\config\system】成功了
3.接著輸入【reg delete "hklm\abc\CurrentControlSet1\services\AppIDSvc" /v start /f】
這次可冏了,丫滴無論怎麼找,就是找不到這組機碼的值
好吧!就暫時跳過吧~ 反正這個指令最主要是【刪除機碼的值】
如果都已經找不到的話,那跟刪掉了有什麼差別呢~ ( 呵呵~ 開心,繼續下一步 )
4.輸入
【reg add "hklm\abc\CurrentControlSet1\services\AppIDSvc" /v start /t REG_DWORD /d 4】
成功~
看起來好像還滿順利的呢~ ( 太開心了,電腦快要活起來了 )
5.輸入【reg unload hklm\abc】將 reg 缷載成功~ ( 太棒了~ 活起來吧~! )
6.重開機
經過了快半個小時的折磨,丫滴終於可以重生了
看到了登入畫面 ( 趕快輸入密碼 )
Oh~ No~~~~~~~~~~~~~~~~~~~~ 我的桌面咧!?我桌面的檔案咧!?怎麼全都不見了。。。
連【開始和工作列】也全都不見了。。。空空如也。。。我的媽呀。。。
PS:不過至少 Ctrl + Alt + Del 可以跳到正常重新開機或關機的登入畫面 Orz
當丫滴正低落的時候,開始思索著,之前在玩 Windows OS 和 DOS command 的一些經驗時
丫滴又回過頭來,再仔細去看了一下剛才找到的那個帖子
外加查看老爹目前沒問題的電腦 Windows 7 32bit
丫滴歸類了幾個重點:
1.目前是可以透過相應 bit 版本的 Window 7 光碟進入 DOS Command Mode 的
2.帖子上所使用的處理方式,都是透過 reg ( 也就是在 Windows 系統裡開啟的 regedit 這裡面的咚咚 )
3.其實【服務】裡的【Application Identity】就是帖子裡的【AppIDSvc】
4.正常情況下 Windows 7 剛安裝好的時候,除了自己的帳號以外,系統也預設建立了 Administrator 帳號
而 regedit 中,其實我們可以看到【HKEY_LOCAL_MACHINE\SYSTEM】底下
會有【ControlSet001】、【ControlSet002】
這個【ControlSet001】基本上應該就是 Administrator 帳號的註冊機碼設定
而【ControlSet002】應該就是丫滴自己的帳號了
5.這個【reg load hklm\abc E:\windows\system32\config\system】
其實應該就是丫滴系統裡的 regedit 註冊機碼設定檔
6.咦!?那為什麼要用 reg load hklm\abc 呢!?
丫滴的理解是:
因為我們要先把原本系統的註冊機碼設定檔掛載到 Windows 7 光碟所暫時啟動使用的 DOS Command
才能夠將原先設定【Application Identity】這個【服務】的【自動】改成【手動】
所以丫滴又 Google 確認了一下,其實無論是 hklm\abc 或 hklm\def
只要不會跟 Windows 原先 regedit 裡的機碼名稱相同的話,就應該都是 ok 的
所以多數網上的範例,或是網友的建議,都是直接以 hklm\abc 來做
會比較直接,也比較容易理解、好記
好吧~
既然都已經大概知道狀況了,丫滴就硬著頭皮再用 Windows 7 64bit DVD 進入 DOS Command
01.先掛載原系統註冊機碼設定檔【reg load hklm\abc E:\windows\system32\config\system】
02.查詢確認先前按照帖子寫入的機碼【reg query hklm\abc】
果不其然,可以發現多了個 hklm\abc\CurrentControlSet1 的機碼
更好笑的是,這一整組機碼裡面,除了剛才寫入的那個機碼以外,其它的機碼設定通通都沒有
03.再查詢確認一下原本系統裡的 ControlSetXXX 帳號註冊機碼設定【reg query hklm\abc\ControlSet001】
果不其然,跟老爹目前正常的 Windows 7 32bit 裡的機碼一樣 ( 廢話。。。都是丫滴灌的咩~ Orz )
再查詢確認一下【reg query hklm\abc\ControlSet002】
這下可就真相大白了 ( 真的很白。。。目 =.=" )
其實原本帖子裡大概的處理方式是沒問題的,但是因為每台電腦的安裝和設定方式不同
所以有些地方,真的是需要自己去查一下,然後做修改的
所以~ 接下來丫滴就沒有在怕的了 ( 衝吧~ )
04.刪除原本誤植入的機碼設定【reg delete hklm\abc\CurrentControlSet1】
這是剛才帖子裡教的寫法,寫錯了,把它刪掉唄~
PS:丫滴在想,這也就是為什麼,剛才按照帖子的方法做完了之後
再重開機登入時,整個東西全都不見了的原因
因為這個 CurrentControlSet1 底下根本就沒有其它的註冊機碼設定
Windows 又怎麼會知道你的桌面要怎麼初始化
05.把 Administrator 帳號【服務】的【Application Identity】改回【手動】的設定
【reg add hklm\abc\controlset001\services\appidsvc /v start /t REG_DWORD /d 3】
由於丫滴並沒有加入 /f 參數做強制覆寫,所以 DOS Command 應該會提示您:是否要覆寫已存在的機碼
直接輸入【y】然後 Enter,應該就可以看到正常覆寫成功囉~
06.把丫滴自己帳號【服務】的【Application Identity】改回【手動】的設定
【reg add hklm\abc\controlset002\services\appidsvc /v start /t REG_DWORD /d 3】
跟上面的步驟 5. 一樣
07.查詢確認 ControlSet001 和 ControlSet002 是否都有正常寫入機碼
【reg query hklm\abc\controlset001\services\appidsvc】
【reg query hklm\abc\controlset002\services\appidsvc】
08.缷載註冊機碼設定檔【reg unload hklm\abc】
( 改完了咩~ 就正常缷載退出唄~ 免得檔案損毀得不償失呀~ )
09.離開【exit】
10.重新開機
接著,就是重見天日的好消息了~
終於丫滴原本可愛的桌面整個全部都回來了 ( 感動~ )
雖然,這整篇寫的又臭又長
但丫滴還是比較希望,能夠提供個完整的處理過程和經驗,分享給大家
希望,真的有跟丫滴一樣【天】的朋友們遇到這類問題的話
能夠很快的、安心的,把電腦救回來囉~
如果有任何問題或心得可以分享的話
歡迎大大們不吝 PO 文留言,造福更多【愛玩的人】
2014-08-02
編碼解碼器API
[ 編碼解碼器API:http://gamegear.myvnc.com/tools/enc_cvt.php ]
這陣子,常會用到 base64 的轉碼
但一想到,又要再重新去寫個程式來編碼或解碼
實在是給它粉不方便
索性,丫滴想到之前為了一些圖片、E-Mail、網址。。。等等
也常會用到像是
url encode / decode
base64 encode / decode
qouted-printable encode / decode
uu encode / decode
咦!還滿巧的!都是成對的 encode / decode
所以丫滴就乾脆把它寫成 post method 的 API
以後就可以隨時隨地,想要轉碼或解碼,上來就能用囉
這陣子,常會用到 base64 的轉碼
但一想到,又要再重新去寫個程式來編碼或解碼
實在是給它粉不方便
索性,丫滴想到之前為了一些圖片、E-Mail、網址。。。等等
也常會用到像是
url encode / decode
base64 encode / decode
qouted-printable encode / decode
uu encode / decode
咦!還滿巧的!都是成對的 encode / decode
所以丫滴就乾脆把它寫成 post method 的 API
以後就可以隨時隨地,想要轉碼或解碼,上來就能用囉
2014-07-20
PHP 的 imap_open .VS. Avast 防毒
這兩天心血來潮
丫滴試著玩了一下 PHP 的 IMAP 功能
但是就奇怪了
為什麼最基本的 imap_open 怎麼試
就都是:Notice: Unknown: [CLOSED] IMAP connection broken (server response) (errflg=2) in Unknown on line 0
雖然網上找了些資料,但仍然沒有找到適合的解決方式
索性丫滴就把電腦上裝的 Avast 防毒軟體停用一下
嘿嘿~! 可以 work 了!
希望對部份想玩 IMAP 功能的朋友們小有助益囉~
丫滴試著玩了一下 PHP 的 IMAP 功能
但是就奇怪了
為什麼最基本的 imap_open 怎麼試
就都是:Notice: Unknown: [CLOSED] IMAP connection broken (server response) (errflg=2) in Unknown on line 0
雖然網上找了些資料,但仍然沒有找到適合的解決方式
索性丫滴就把電腦上裝的 Avast 防毒軟體停用一下
嘿嘿~! 可以 work 了!
希望對部份想玩 IMAP 功能的朋友們小有助益囉~
2014-06-24
淺談 [ 免安裝 / Portable ] 軟體
越來越多的人,漸漸將多數的安裝軟體遺棄了
這其實已經演變成了一種趨勢
無論是從單純的小工具,或是功能較齊全的開發、設計專用軟體
使用者的需求,終歸是非常單純
所以不需要,也不期望各軟體繁雜的設定
甚至針對 OS 的註冊資訊進行修改
而通常這些 [ 免安裝 / Portable ] 軟體
都應具備下列各項特性:
這其實已經演變成了一種趨勢
無論是從單純的小工具,或是功能較齊全的開發、設計專用軟體
使用者的需求,終歸是非常單純
所以不需要,也不期望各軟體繁雜的設定
甚至針對 OS 的註冊資訊進行修改
而通常這些 [ 免安裝 / Portable ] 軟體
都應具備下列各項特性:
2014-04-03
BrazilFW 3.0.259 中文化
今天心血來潮,想到之前想要試看看人家寫好的 Router OS
偶然想到之前找到的這套 BrazilFW
官網:http://www.brazilfw.com.br/forum/
在 VirtualBox 上試裝 x84_64 的 3.0.259 版本
卻遇到了一些小問題
不過跟其它類似的 Router OS 相比
這套 BrazilFW 反而滿多國內資源可以找到的
所以很快就把一些小問題解決掉了
1.一開始用 .iso 開機完成後,會停留在 Command Mode
先輸入使用者 / 密碼 ( 都是 root ) 登入
2.直接輸入:install
開始進入正式安裝
安裝過程,其實都只是 [ 繼續、下一步、OK ]
結束完成安裝前,會提示先把光碟退出 ( 就...退出吧 )
3.接著重開機後,因為測試的環境,已有多個子網會相衝
所以一開始 BrazilFW 3.0.259 預設的 IP:192.168.0.1 不能使用
所以...一樣,先登入 root / root
然後玩一下 ifconfig 來設定網卡的 IP
因為在 VirtualBox 裡,只開了一張網卡來用
而 BrazilFW 又剛好是基於 Linux 開發出來的
所以一猜就猜到網卡名稱了:eth0
接著用下面的 Command 把網卡的 IP 先換掉
ifconfig eth0 192.167.1.6
PS:也可以直接用 ifconfig 查看目前的網卡代號,和 IP
然後就可以透過瀏覽器訪問 Web 管理介面了
https://192.167.1.6:8181/
4.雖然之前的版本好像有很多國內的高手們翻成中文
但目前 ( 2014-04-03 01:38 ) 查看
BrazilFW 3.0.259 似乎還沒有人翻成中文版
索興今天要玩,就順便來翻一下了
有興趣的網友可以在下面的網址下載回去玩看看
PS:翻的不好,還請多多包涵了
http://gamegear.myvnc.com/dl/brazilfw.zh-tw
翻譯檔要放在哪裡?都在這底下:/var/language/
可以用下面的 Command 找一下
因為不同語系的設定檔,都是放在同一個資料夾底下
cd /; find -type f -name brazilfw*
下面是中文化後的 Screen Capture 就...參考參考囉~
偶然想到之前找到的這套 BrazilFW
官網:http://www.brazilfw.com.br/forum/
在 VirtualBox 上試裝 x84_64 的 3.0.259 版本
卻遇到了一些小問題
不過跟其它類似的 Router OS 相比
這套 BrazilFW 反而滿多國內資源可以找到的
所以很快就把一些小問題解決掉了
1.一開始用 .iso 開機完成後,會停留在 Command Mode
先輸入使用者 / 密碼 ( 都是 root ) 登入
2.直接輸入:install
開始進入正式安裝
安裝過程,其實都只是 [ 繼續、下一步、OK ]
結束完成安裝前,會提示先把光碟退出 ( 就...退出吧 )
3.接著重開機後,因為測試的環境,已有多個子網會相衝
所以一開始 BrazilFW 3.0.259 預設的 IP:192.168.0.1 不能使用
所以...一樣,先登入 root / root
然後玩一下 ifconfig 來設定網卡的 IP
因為在 VirtualBox 裡,只開了一張網卡來用
而 BrazilFW 又剛好是基於 Linux 開發出來的
所以一猜就猜到網卡名稱了:eth0
接著用下面的 Command 把網卡的 IP 先換掉
ifconfig eth0 192.167.1.6
PS:也可以直接用 ifconfig 查看目前的網卡代號,和 IP
然後就可以透過瀏覽器訪問 Web 管理介面了
https://192.167.1.6:8181/
4.雖然之前的版本好像有很多國內的高手們翻成中文
但目前 ( 2014-04-03 01:38 ) 查看
BrazilFW 3.0.259 似乎還沒有人翻成中文版
索興今天要玩,就順便來翻一下了
有興趣的網友可以在下面的網址下載回去玩看看
PS:翻的不好,還請多多包涵了
http://gamegear.myvnc.com/dl/brazilfw.zh-tw
翻譯檔要放在哪裡?都在這底下:/var/language/
可以用下面的 Command 找一下
因為不同語系的設定檔,都是放在同一個資料夾底下
cd /; find -type f -name brazilfw*
下面是中文化後的 Screen Capture 就...參考參考囉~
2013-06-18
gcc-4.8.1 ( GNU C Compiler ) Configure Help
`configure' configures this package to adapt to many kinds of systems.
Usage: ./configure [OPTION]... [VAR=VALUE]...
To assign environment variables (e.g., CC, CFLAGS...), specify them as
VAR=VALUE. See below for descriptions of some of the useful variables.
Defaults for the options are specified in brackets.
Configuration:
-h, --help display this help and exit
--help=short display options specific to this package
--help=recursive display the short help of all the included packages
-V, --version display version information and exit
-q, --quiet, --silent do not print `checking...' messages
--cache-file=FILE cache test results in FILE [disabled]
-C, --config-cache alias for `--cache-file=config.cache'
-n, --no-create do not create output files
--srcdir=DIR find the sources in DIR [configure dir or `..']
Installation directories:
--prefix=PREFIX install architecture-independent files in PREFIX
[/usr/local]
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
[PREFIX]
By default, `make install' will install all the files in
`/usr/local/bin', `/usr/local/lib' etc. You can specify
an installation prefix other than `/usr/local' using `--prefix',
for instance `--prefix=$HOME'.
For better control, use the options below.
Fine tuning of the installation directories:
--bindir=DIR user executables [EPREFIX/bin]
--sbindir=DIR system admin executables [EPREFIX/sbin]
--libexecdir=DIR program executables [EPREFIX/libexec]
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
--libdir=DIR object code libraries [EPREFIX/lib]
--includedir=DIR C header files [PREFIX/include]
--oldincludedir=DIR C header files for non-gcc [/usr/include]
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
--infodir=DIR info documentation [DATAROOTDIR/info]
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
--mandir=DIR man documentation [DATAROOTDIR/man]
--docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
--htmldir=DIR html documentation [DOCDIR]
--dvidir=DIR dvi documentation [DOCDIR]
--pdfdir=DIR pdf documentation [DOCDIR]
--psdir=DIR ps documentation [DOCDIR]
Program names:
--program-prefix=PREFIX prepend PREFIX to installed program names
--program-suffix=SUFFIX append SUFFIX to installed program names
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
System types:
--build=BUILD configure for building on BUILD [guessed]
--host=HOST cross-compile to build programs to run on HOST [BUILD]
--target=TARGET configure for building compilers for TARGET [HOST]
Optional Features:
--disable-option-checking ignore unrecognized --enable/--with options
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
--enable-gold[=ARG] build gold [ARG={default,yes,no}]
--enable-ld[=ARG] build ld [ARG={default,yes,no}]
--disable-libquadmath do not build libquadmath directory
--disable-libquadmath-support
disable libquadmath support for Fortran
--enable-libada build libada directory
--enable-libssp build libssp directory
--disable-libstdcxx do not build libstdc++-v3 directory
--enable-static-libjava[=ARG]
build static libjava [default=no]
--enable-bootstrap enable bootstrapping [yes if native build]
--disable-isl-version-check
disable check for ISL version
--disable-cloog-version-check
disable check for CLooG version
--enable-lto enable link time optimization support
--enable-stage1-languages[=all]
choose additional languages to build during stage1.
Mostly useful for compiler development
--enable-objc-gc enable use of Boehm's garbage collector with the GNU
Objective-C runtime
--enable-serial-[{host,target,build}-]configure
force sequential configuration of sub-packages for
the host, target or build machine, or all
sub-packages
--enable-maintainer-mode
enable make rules and dependencies not useful (and
sometimes confusing) to the casual installer
--enable-stage1-checking[=all]
choose additional checking for stage1 of the
compiler
--enable-werror enable -Werror in bootstrap stage2 and later
Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
--with-build-libsubdir=DIR Directory where to find libraries for build system
--with-mpc=PATH specify prefix directory for installed MPC package.
Equivalent to --with-mpc-include=PATH/include plus
--with-mpc-lib=PATH/lib
--with-mpc-include=PATH specify directory for installed MPC include files
--with-mpc-lib=PATH specify directory for the installed MPC library
--with-mpfr-dir=PATH this option has been REMOVED
--with-mpfr=PATH specify prefix directory for installed MPFR package.
Equivalent to --with-mpfr-include=PATH/include plus
--with-mpfr-lib=PATH/lib
--with-mpfr-include=PATH
specify directory for installed MPFR include files
--with-mpfr-lib=PATH specify directory for the installed MPFR library
--with-gmp-dir=PATH this option has been REMOVED
--with-gmp=PATH specify prefix directory for the installed GMP
package. Equivalent to
--with-gmp-include=PATH/include plus
--with-gmp-lib=PATH/lib
--with-gmp-include=PATH specify directory for installed GMP include files
--with-gmp-lib=PATH specify directory for the installed GMP library
--with-host-libstdcxx=L use linker arguments L to link with libstdc++ when
linking with PPL
--with-stage1-libs=LIBS libraries for stage1
--with-stage1-ldflags=FLAGS
linker flags for stage1
--with-boot-libs=LIBS libraries for stage2 and later
--with-boot-ldflags=FLAGS
linker flags for stage2 and later
--with-cloog=PATH Specify prefix directory for the installed CLooG-ISL
package. Equivalent to
--with-cloog-include=PATH/include plus
--with-cloog-lib=PATH/lib
--with-isl=PATH Specify prefix directory for the installed ISL
package. Equivalent to
--with-isl-include=PATH/include plus
--with-isl-lib=PATH/lib
--with-isl-include=PATH Specify directory for installed ISL include files
--with-isl-lib=PATH Specify the directory for the installed ISL library
--with-cloog-include=PATH
Specify directory for installed CLooG include files
--with-cloog-lib=PATH Specify the directory for the installed CLooG
library
--with-build-sysroot=SYSROOT
use sysroot as the system root during the build
--with-debug-prefix-map='A=B C=D ...'
map A to B, C to D ... in debug information
--with-build-config='NAME NAME2...'
use config/NAME.mk build configuration
--with-build-time-tools=PATH
use given path to find target tools during the build
Some influential environment variables:
CC C compiler command
CFLAGS C compiler flags
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
nonstandard directory <lib dir>
LIBS libraries to pass to the linker, e.g. -l<library>
CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
you have headers in a nonstandard directory <include dir>
CXX C++ compiler command
CXXFLAGS C++ compiler flags
build_configargs
additional configure arguments for build directories
host_configargs
additional configure arguments for host directories
target_configargs
additional configure arguments for target directories
AR AR for the host
AS AS for the host
DLLTOOL DLLTOOL for the host
LD LD for the host
LIPO LIPO for the host
NM NM for the host
RANLIB RANLIB for the host
STRIP STRIP for the host
WINDRES WINDRES for the host
WINDMC WINDMC for the host
OBJCOPY OBJCOPY for the host
OBJDUMP OBJDUMP for the host
READELF READELF for the host
CC_FOR_TARGET
CC for the target
CXX_FOR_TARGET
CXX for the target
GCC_FOR_TARGET
GCC for the target
GCJ_FOR_TARGET
GCJ for the target
GFORTRAN_FOR_TARGET
GFORTRAN for the target
GOC_FOR_TARGET
GOC for the target
AR_FOR_TARGET
AR for the target
AS_FOR_TARGET
AS for the target
DLLTOOL_FOR_TARGET
DLLTOOL for the target
LD_FOR_TARGET
LD for the target
LIPO_FOR_TARGET
LIPO for the target
NM_FOR_TARGET
NM for the target
OBJDUMP_FOR_TARGET
OBJDUMP for the target
RANLIB_FOR_TARGET
RANLIB for the target
READELF_FOR_TARGET
READELF for the target
STRIP_FOR_TARGET
STRIP for the target
WINDRES_FOR_TARGET
WINDRES for the target
WINDMC_FOR_TARGET
WINDMC for the target
Use these variables to override the choices made by `configure' or to help
it to find libraries and programs with nonstandard names/locations.
Report bugs to the package provider.
Usage: ./configure [OPTION]... [VAR=VALUE]...
To assign environment variables (e.g., CC, CFLAGS...), specify them as
VAR=VALUE. See below for descriptions of some of the useful variables.
Defaults for the options are specified in brackets.
Configuration:
-h, --help display this help and exit
--help=short display options specific to this package
--help=recursive display the short help of all the included packages
-V, --version display version information and exit
-q, --quiet, --silent do not print `checking...' messages
--cache-file=FILE cache test results in FILE [disabled]
-C, --config-cache alias for `--cache-file=config.cache'
-n, --no-create do not create output files
--srcdir=DIR find the sources in DIR [configure dir or `..']
Installation directories:
--prefix=PREFIX install architecture-independent files in PREFIX
[/usr/local]
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
[PREFIX]
By default, `make install' will install all the files in
`/usr/local/bin', `/usr/local/lib' etc. You can specify
an installation prefix other than `/usr/local' using `--prefix',
for instance `--prefix=$HOME'.
For better control, use the options below.
Fine tuning of the installation directories:
--bindir=DIR user executables [EPREFIX/bin]
--sbindir=DIR system admin executables [EPREFIX/sbin]
--libexecdir=DIR program executables [EPREFIX/libexec]
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
--libdir=DIR object code libraries [EPREFIX/lib]
--includedir=DIR C header files [PREFIX/include]
--oldincludedir=DIR C header files for non-gcc [/usr/include]
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
--infodir=DIR info documentation [DATAROOTDIR/info]
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
--mandir=DIR man documentation [DATAROOTDIR/man]
--docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
--htmldir=DIR html documentation [DOCDIR]
--dvidir=DIR dvi documentation [DOCDIR]
--pdfdir=DIR pdf documentation [DOCDIR]
--psdir=DIR ps documentation [DOCDIR]
Program names:
--program-prefix=PREFIX prepend PREFIX to installed program names
--program-suffix=SUFFIX append SUFFIX to installed program names
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
System types:
--build=BUILD configure for building on BUILD [guessed]
--host=HOST cross-compile to build programs to run on HOST [BUILD]
--target=TARGET configure for building compilers for TARGET [HOST]
Optional Features:
--disable-option-checking ignore unrecognized --enable/--with options
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
--enable-gold[=ARG] build gold [ARG={default,yes,no}]
--enable-ld[=ARG] build ld [ARG={default,yes,no}]
--disable-libquadmath do not build libquadmath directory
--disable-libquadmath-support
disable libquadmath support for Fortran
--enable-libada build libada directory
--enable-libssp build libssp directory
--disable-libstdcxx do not build libstdc++-v3 directory
--enable-static-libjava[=ARG]
build static libjava [default=no]
--enable-bootstrap enable bootstrapping [yes if native build]
--disable-isl-version-check
disable check for ISL version
--disable-cloog-version-check
disable check for CLooG version
--enable-lto enable link time optimization support
--enable-stage1-languages[=all]
choose additional languages to build during stage1.
Mostly useful for compiler development
--enable-objc-gc enable use of Boehm's garbage collector with the GNU
Objective-C runtime
--enable-serial-[{host,target,build}-]configure
force sequential configuration of sub-packages for
the host, target or build machine, or all
sub-packages
--enable-maintainer-mode
enable make rules and dependencies not useful (and
sometimes confusing) to the casual installer
--enable-stage1-checking[=all]
choose additional checking for stage1 of the
compiler
--enable-werror enable -Werror in bootstrap stage2 and later
Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
--with-build-libsubdir=DIR Directory where to find libraries for build system
--with-mpc=PATH specify prefix directory for installed MPC package.
Equivalent to --with-mpc-include=PATH/include plus
--with-mpc-lib=PATH/lib
--with-mpc-include=PATH specify directory for installed MPC include files
--with-mpc-lib=PATH specify directory for the installed MPC library
--with-mpfr-dir=PATH this option has been REMOVED
--with-mpfr=PATH specify prefix directory for installed MPFR package.
Equivalent to --with-mpfr-include=PATH/include plus
--with-mpfr-lib=PATH/lib
--with-mpfr-include=PATH
specify directory for installed MPFR include files
--with-mpfr-lib=PATH specify directory for the installed MPFR library
--with-gmp-dir=PATH this option has been REMOVED
--with-gmp=PATH specify prefix directory for the installed GMP
package. Equivalent to
--with-gmp-include=PATH/include plus
--with-gmp-lib=PATH/lib
--with-gmp-include=PATH specify directory for installed GMP include files
--with-gmp-lib=PATH specify directory for the installed GMP library
--with-host-libstdcxx=L use linker arguments L to link with libstdc++ when
linking with PPL
--with-stage1-libs=LIBS libraries for stage1
--with-stage1-ldflags=FLAGS
linker flags for stage1
--with-boot-libs=LIBS libraries for stage2 and later
--with-boot-ldflags=FLAGS
linker flags for stage2 and later
--with-cloog=PATH Specify prefix directory for the installed CLooG-ISL
package. Equivalent to
--with-cloog-include=PATH/include plus
--with-cloog-lib=PATH/lib
--with-isl=PATH Specify prefix directory for the installed ISL
package. Equivalent to
--with-isl-include=PATH/include plus
--with-isl-lib=PATH/lib
--with-isl-include=PATH Specify directory for installed ISL include files
--with-isl-lib=PATH Specify the directory for the installed ISL library
--with-cloog-include=PATH
Specify directory for installed CLooG include files
--with-cloog-lib=PATH Specify the directory for the installed CLooG
library
--with-build-sysroot=SYSROOT
use sysroot as the system root during the build
--with-debug-prefix-map='A=B C=D ...'
map A to B, C to D ... in debug information
--with-build-config='NAME NAME2...'
use config/NAME.mk build configuration
--with-build-time-tools=PATH
use given path to find target tools during the build
Some influential environment variables:
CC C compiler command
CFLAGS C compiler flags
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
nonstandard directory <lib dir>
LIBS libraries to pass to the linker, e.g. -l<library>
CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
you have headers in a nonstandard directory <include dir>
CXX C++ compiler command
CXXFLAGS C++ compiler flags
build_configargs
additional configure arguments for build directories
host_configargs
additional configure arguments for host directories
target_configargs
additional configure arguments for target directories
AR AR for the host
AS AS for the host
DLLTOOL DLLTOOL for the host
LD LD for the host
LIPO LIPO for the host
NM NM for the host
RANLIB RANLIB for the host
STRIP STRIP for the host
WINDRES WINDRES for the host
WINDMC WINDMC for the host
OBJCOPY OBJCOPY for the host
OBJDUMP OBJDUMP for the host
READELF READELF for the host
CC_FOR_TARGET
CC for the target
CXX_FOR_TARGET
CXX for the target
GCC_FOR_TARGET
GCC for the target
GCJ_FOR_TARGET
GCJ for the target
GFORTRAN_FOR_TARGET
GFORTRAN for the target
GOC_FOR_TARGET
GOC for the target
AR_FOR_TARGET
AR for the target
AS_FOR_TARGET
AS for the target
DLLTOOL_FOR_TARGET
DLLTOOL for the target
LD_FOR_TARGET
LD for the target
LIPO_FOR_TARGET
LIPO for the target
NM_FOR_TARGET
NM for the target
OBJDUMP_FOR_TARGET
OBJDUMP for the target
RANLIB_FOR_TARGET
RANLIB for the target
READELF_FOR_TARGET
READELF for the target
STRIP_FOR_TARGET
STRIP for the target
WINDRES_FOR_TARGET
WINDRES for the target
WINDMC_FOR_TARGET
WINDMC for the target
Use these variables to override the choices made by `configure' or to help
it to find libraries and programs with nonstandard names/locations.
Report bugs to the package provider.
訂閱:
意見 (Atom)
