1.3.0 版後 在 vendor\clink.lua 中
26 行
clink.prompt.value = string.gsub(new_value, "{lamb}", "λ")
改
clink.prompt.value = string.gsub(new_value, "{lamb}", "$")
這樣會發生殘留疊字的 bug 就消除了
參考:
http://www.jeffjade.com/2016/01/13/2016-01-13-windows-software-cmder/
https://www.v2ex.com/t/168951
2016年9月3日 星期六
2016年2月16日 星期二
HTTP Error 413 Request Entity Too Large
作者:
星夜如雨
檔案上傳碰到了另一個雷
Q: HTTP Error 413
Request Entity Too Large
A:
除了 php.ini 內的
post_max_size = 8M
upload_max_filesize = 8M
外 nginx 內還有個有關的參數
在 "http{}" 內, 新增
client_max_body_size 8M;
Q: HTTP Error 413
Request Entity Too Large
A:
除了 php.ini 內的
post_max_size = 8M
upload_max_filesize = 8M
外 nginx 內還有個有關的參數
在 "http{}" 內, 新增
client_max_body_size 8M;
2015年5月22日 星期五
ESXi 6.0 vSphere Client NTP service start failed, serviceSystem HostServiceSystem.Start failed
作者:
星夜如雨
http://www.unix-power.net/vmware/esxi_ntp_55.html
ESXi 6.0 碰上跟這個一樣的問題 NTP 從 VMware vSphere Client 設定就是無法啟動噴 serviceSystem」 HostServiceSystem.Start 失敗...
ssh 進去手動改 /etc/ntp.conf 直接後面補 server xxx.xxxx.xxx.xxx
# vi /etc/ntp.conf
restrict 127.0.0.1
restrict default kod nomodify notrap
driftfile /etc/ntp.drift
server 59.124.196.85
server ntp.ntu.edu.tw
server time.stdtime.gov.tw
然後
# /etc/init.d/ntpd start
跑了!!!
再到 vSphere Client 按 啟動 就沒錯誤了
真是詭異的 bug
另外 ntp service 啟動後可以直接由 shell command 下 ntpq -p 觀察是否正常
# ntpq -p
ESXi 6.0 碰上跟這個一樣的問題 NTP 從 VMware vSphere Client 設定就是無法啟動噴 serviceSystem」 HostServiceSystem.Start 失敗...
ssh 進去手動改 /etc/ntp.conf 直接後面補 server xxx.xxxx.xxx.xxx
# vi /etc/ntp.conf
restrict 127.0.0.1
restrict default kod nomodify notrap
driftfile /etc/ntp.drift
server 59.124.196.85
server ntp.ntu.edu.tw
server time.stdtime.gov.tw
然後
# /etc/init.d/ntpd start
跑了!!!
再到 vSphere Client 按 啟動 就沒錯誤了
真是詭異的 bug
另外 ntp service 啟動後可以直接由 shell command 下 ntpq -p 觀察是否正常
# ntpq -p
remote refid st t when poll reach delay offset jitter
==============================================================================
59-124-196-85.H .INIT. 16 u - 64 0 0.000 0.000 0.000
ntp.ntu.edu.tw .INIT. 16 u - 64 0 0.000 0.000 0.001
118-163-81-61.H .INIT. 16 u - 64 0 0.000 0.000 0.001
2015年3月27日 星期五
Red Hat CentOS -bash: whois: command not found
作者:
星夜如雨
新裝的機器突然要用 whois 查一下自己的 Domain 才發現 !! 疑!!~ 怎麼沒內建 whois Orz!
# whois domain
-bash: whois: command not found
# yum -y install jwhois
相關資料:
http://blog.51osos.com/linux/centos-install-whois-command/
訂閱:
文章 (Atom)