2018年6月25日 星期一
CentOS SSL安裝
一、安裝SSL相關元件
# yum install mod_ssl openssl
二、安裝 GRCA 及 GCA 之憑證串鏈與 SSL 憑證
# openssl x509 -in server.cer -inform DER -out server.crt
三、設定/etc/httpd/conf.d/ssl.conf 設定新建立的憑證位置
找到下列文字:
# Server Certificate:
# Point SSLCertificateFile at a PEM encoded certificate. If
# the certificate is encrypted, then you will be prompted for a
# pass phrase. Note that a kill -HUP will prompt again. A new
# certificate can be generated using the genkey(1) command.
SSLCertificateFile /etc/pki/tls/certs/localhost.crt
# Server Private Key:
# If the key is not combined with the certificate, use this
# directive to point at the key file. Keep in mind that if
# you've both a RSA and a DSA private key you can configure
# both in parallel (to also allow the use of DSA ciphers, etc.)
SSLCertificateKeyFile /etc/pki/tls/private/localhost.key
將紅色文字修改為自己新建立的憑證檔
SSLCertificateFile /etc/pki/tls/certs/idindon.crt
SSLCertificateKeyFile /etc/pki/tls/private/idindon.key
一、GCA政府憑證管理中心Apache SSL憑證請求檔製作與憑證安裝手冊
二、CENTOS 6.4中Apache 安裝與設定
硬碟檔案格式由RAW改為NTFS格式
G硬碟格式已經變成RAW格式
1.首先搜尋 "cmd.exe", 右鍵用管理者權限打開
2.輸入『chkdsk 磁碟機代號: /f』
3.跑完稍待片刻就能讀取硬碟囉
正在 Chkdsk Disk中
Chkdsk 結束就可以了
2018年3月4日 星期日
Proxmox 升級錯誤碼 100的解决方法
在PVE中出现 command 'apt-get update' failed: exit code 100 这个错误提示的情况
修改 /etc/apt/sources.list.d/pve-enterprise.list
# nano /etc/apt/sources.list.d/pve-enterprise.list
========================================================
原先下列的方式
修改 /etc/apt/sources.list.d/pve-enterprise.list
# nano /etc/apt/sources.list.d/pve-enterprise.list
========================================================
原先下列的方式
deb https://enterprise.proxmox.com/debian jessie pve-enterprise
在這一句代碼前加入#號注釋掉即可。改為以下内容
# deb https://enterprise.proxmox.com/debian jessie pve-enterprise
====================================================================
按Ctrl+o -> enter Save
按Ctrl+X -> EXIT
2018年1月6日 星期六
Proxmox Cluster Error (cannot initialize cmap service)
第一次就失敗了。
出現這個錯誤訊息,而且很慘的全部份Node都無法啟動。
# Cannot initialize CMAP service
只好暫時先停止
# service pve-cluster stop
# pmxcfs -l
出現這個錯誤訊息,而且很慘的全部份Node都無法啟動。
# Cannot initialize CMAP service
只好暫時先停止
# service pve-cluster stop
# pmxcfs -l
2017年11月11日 星期六
電話語音轉檔
最近客戶的電話語音檔要更新,經過原廠指導才知道,原來並不是單純的WAV的格式就可以,是要轉成 G.711u-law的語音格式以可以,不然會變成電流音呀。
可以在 http://g711.org/ 這個免費線網站上轉檔就可以了,而且轉完音質還不錯。
可以在 http://g711.org/ 這個免費線網站上轉檔就可以了,而且轉完音質還不錯。
2017年10月16日 星期一
Windows 2012 IIS 新增MIME類型
因為客戶所提供下載的附檔名不是預設IIS 可以識別,所以要新增MIME類型
開啟IIS管理工具 > 點選您建立的網站後 > 再點選MIME類型
在MIME類型設定畫面點選 > 新增
副檔名框框,輸入想要的副檔名或萬用字元*
MIME類型輸入 : application/octet-stream
新增完畢後,重新啟動 IIS
技術連結 MIS的背影
訂閱:
文章 (Atom)




