發表文章

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

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

如何在Ubuntu 15.04上安裝spotify

圖片
之前多使用windows上或是手機平台去使用spotify的軟體來聽音樂, 而當目前作業環境完全轉移去linux平台後,雖然spotify官方有提供網頁版本, 但是如果要 聽到高品質的音樂,還是要用軟體或app版本才能設定, 而在官網上面spotify也有 提供linux平台版本,下面鍊結是安裝說明 https://www.spotify.com/tw/download/linux/  官方也說明此為Debian版本之安裝檔,並且ubuntu 14.04上面已經驗證過。  不過我目前使用的ubuntu版本為15.04,依照官方教學安裝完之後會無法執行spotify軟體, 而上網找尋解答之後,發現是需要安裝 libgcrypt11 這個library,此安裝檔如下連結  https://launchpad.net/ubuntu/+archive/primary/+files/libgcrypt11_1.5.3-2ubuntu4.2_amd64.deb  (64 bit version) https://launchpad.net/ubuntu/+archive/primary/+files/libgcrypt11_1.5.3-2ubuntu4.2_i386.deb (32 bit version) 下載安裝之後,再度執行spotify直可使用。

Docker , my use case

圖片
Introduction Docker is a simple , faster VM like solution for developer to build lab environment quickly , also publish product in docker image is a easy way for customer test . Note : All below steps and experience was based on Windows platform . 1. Installation get the windows installer and related doc from below url link: https://docs.docker.com/installation/windows/ This installs Docker's management console program Boot2Docker . 1.1 trobule shooting mostly the installation should be successful , but in my case still encounter some issues. The tips you may need to take care . 1) Make sure the hardware virturalization has turn on your pc bios . Docker vm need the VT technology to bring on their service , if VT turn off , boot2docker would not start up . 2) Make sure docker vm in virtualbox network was mapping to adapter #1. If you have install and uninstall virtualbox few times , there will be more than one virtual interface in network , then after doc