原创 crt key轉p12, jks p12互轉,windows生成jks,

crt轉爲p12證書 openssl pkcs12 -export -in client.crt -inkey client.key -out iot.p12 -name "iot"  jks p12互轉 keytool -impo

原创 在ubuntu上安裝/卸載anaconda, 安裝tensorflow

下載地址:https://mirrors.tuna.tsinghua.edu.cn/anaconda/archive/ tensorflow 鏡像地址:https://mirror.tuna.tsinghua.edu.cn/help/te

原创 ubuntu 清華大學鏡像

https://mirror.tuna.tsinghua.edu.cn/help/ubuntu/

原创 ubuntu設置su密碼

部署成功ubuntu系統後, su賬戶是無密碼,需要手工初始化 su設置su 密碼:   1)sudo passwd root 2)設置密碼   3)su  進入 

原创 ubuntu 更新硬件時鐘

  修改日期和時間 sudo date -s 05/29/2020 sudo date -s 20:13:45 更新計算機硬件時鐘: sudo hwclock --systohc 

原创 ubuntu 使用pip 安裝時If executing pip with sudo, you may want sudo's -H flag.

錯誤信息: The directory '/home/cephCluster/.cache/pip/http' or its parent directory is not owned by the current user and th

原创 CentOS中mysql修改用戶密碼

/usr/bin/mysqladmin -u root password 'new-password'

原创 openstack基本包安裝在CentOS上官方鏈接安裝失敗的解決方法

問題1: yum install http://repos.fedorapeople.org/repos/openstack/openstackicehouse/rdo-release-icehouse-3.noarch.rpm 解決方

原创 word設置字體快捷鍵,可設置爲alt+c

1、 首先,選擇菜單欄“文件”—“選項”。 2、 彈出word選項對話框,再切換到“自定義功能區”選項卡。 3、 接着單擊“鍵盤快捷方式”後的“自定義”按鈕,彈出“自定義鍵盤”對話框。 4、設置步驟如下: 1) 依次選擇“開始選項卡”—“

原创 crt key轉p12, jks p12互轉

crt轉爲p12證書 openssl pkcs12 -export -in client.crt -inkey client.key -out iot.p12 -name "iot"  jks p12互轉 keytool -impo

原创 mac Chromedriver 存放 安裝 路徑

mac Chromedriver 存放 安裝 路徑 目前在使用robotFramework/Selenium時,一直卡在喚起Chrome的坑上,在網絡上找了各種方法均無法正常解決問題,經過一番研究,終於搞定,步驟如下: Check你的Ch

原创 mac ~/.bash_profile配置重啓後不生效的解決方法

自己在 ~/.bash_profile 中配置環境變量, 可是每次重啓終端後配置的不生效.需要重新執行 : $source ~/.bash_profile 發現zsh加載的是 ~/.zshrc文件,而 ‘.zshrc’ 文件中並沒有定義任

原创 python-ConfigParser模塊【讀寫配置文件】

https://blog.csdn.net/gexiaobaoHelloWorld/article/details/7976944 以下的文章就是對python 讀寫配置文件的具體方案的介紹 1,函數介紹   1.1.讀取配置文件 -r

原创 git操作及版本回退

Command line instructions Git global setup git config --global user.name "z**11" git config --global user.email "zha**

原创 SQLite忽略大小寫

大部分數據庫在進行字符串比較時,對大小寫是不敏感的。但是SQLite卻是大小寫敏感的。如果想讓SQLite忽略大小寫,方法如下: 方法一:使用大小寫轉換函數LOWER、UPPER SELECT * FROM User WHERE LO