發表文章

目前顯示的是 7月, 2012的文章

ssh 出現 error in libcrypto Connection closed 錯誤訊息

 最近公司的產品OS更換到Alma Linux,因此安裝了一台全新的Alma Linux機器,然後接下來要使用scp去別的主機搬移檔案的時候出現了下面的錯誤訊息 The authenticity of host '10.*.*.68 (10.*.*.68)' can't be established. RSA key fingerprint is SHA256:RKJMaNXf4Fw5I2rjsdiLr17MQn1LTyMurlb6hV2qo18. This key is not known by any other names Are you sure you want to continue connecting (yes/no/[fingerprint])? yes Warning: Permanently added '10.*.*.68' (RSA) to the list of known hosts. ssh_dispatch_run_fatal: Connection to 10.*.*.68 port 22: error in libcrypto Connection closed 解決方法是指定加密演算法 update-crypto-policies --set DEFAULT:SHA1

flot & jqplot使用上遇到的問題

目前正在準備做網站會用到的jQuery Chart元件,最後決定採用的兩家分別為flot與jqplot, http://code.google.com/p/flot/ http://www.jqplot.com/ 而這兩家各有優點,像jqplot支援的效果很齊全是我目前的首選,flot則是顯得相對輕量化, 製作簡單圖表與動態更新的時候就比較合適。 接下來進行網站jQuery架構整合測試的時候兩個元件於firefox、chrome、opera、safari等瀏覽器都運行的非常好,但唯獨ie系列有發生問題(雖然驚訝但不意外XD),而用ie除錯訊息來看, 兩個元件各別的錯誤如下: flot:   window.G_vmlCanvasManager is null or not an Object jqplot:  initElement is null .... 接著就依據錯誤訊息進行google,flot的解決方式即為將元件包內附的excanvas.js放在flot js套件 前讀入,會進行相容性修正,果然加入excanvas.js之後ie的每個版本都沒發生錯誤了,而jqplot的錯誤解決方式也與flot一樣,jqplot套件也包含了excanvas.js之類的檔案,不過由於flot的壓縮之後比較小,所以就用flot提供的版本,目前兩個元件都在ie上運作的很正常。