查看 MySQL NDB Engine 狀態
ndb_mgm> show
查看 process
mysql> show processlist \G
檢查連線數
mysql> show global status like ‘%connect%’;
「工作筆記」分類文章彙整
[MySQL] tunning commands
Posted in 工作筆記, 已經下標籤的 cluster, mysql on 二月 13, 2009 | 張貼留言 »
檔案個數
ls -la |grep “^-” |awk ‘END {print “Number of files: ” NR}’
目錄個數
ls -la |grep “^d” |awk ‘END {print “Number of directories: ” NR}’
如果要計算下面子目錄,打 ls -laR 即可。
從這裡看到的。
不用重開機,直接輸入下面指令:
prtconf | awk ‘/^Memory/{print}’
從這裡看來的。
[筆記] svn安裝
Posted in 工作筆記, 已經下標籤的 版本控制, subversion, svn on 四月 25, 2008 | 張貼留言 »
怕自己忘記,記錄一下。
[參考文件]
Version Control with Subversion PDF – 作者: 邱茂森
http://www.csie.ntut.edu.tw/sdrc/files/course/20061201/VersionControlWithSVN.pdf
蔡煥麟先生「Subversion for Windows 安裝指南」
http://huanlin.dyndns.org/techshare/viewArticle.action?articleID=2004061303
http://blog.roodo.com/myroodo/archives/4219557.html
http://www.pczone.com.tw/vbb3/thread/47/96241/
https://www.thawte.com/ssl-digital-certificates/technical-support/ssl/apache.html#error6
[檔案]
Subversion
http://subversion.tigris.org/
TortoiseSVN
http://tortoisesvn.tigris.org/
SSPI 模組
http://sourceforge.net/projects/mod-auth-sspi/
[過程]
下載 Subversion,點兩下安裝
複製Subversion modules 到Apache2\modules
修改httpd.conf檔案
(1) 設定 LoadModule
(2) 加上 <Location> 設定 SVNParentPath
存檔並重新啟動 Apache Server
建立檔案庫 svnadmin
網址輸入 http://localhost/svn/repository
將 SSPI 模組裡的 modules 放到 Apache2\modules\
修改httpd.conf檔案:設定 LoadModule(要在 mod_auth.so 之前)
修改 httpd.conf 的 <Location> 設定:
<Location /svn>
DAV svn
SVNParentPath d:/svn
AuthType SSPI
AuthName “Subversion 檔案庫”
Require valid-user
SSPIAuth On
SSPIAuthoritative On
SSPIDomain <domaincontroller>
SSPIOfferBasic On
</Location>
存檔並重新啟動 Apache Server
網址輸入 [...]
IIS 5.0+ 的預設上傳限制為 204,800 bytes (200KB),所以如果試圖上傳超過這個大小的檔時會遇到下面訊息:
要求物件 錯誤 ‘ASP 0104 : 80004005′
不允許的操作
修改方式:
打開命令提字元。
開始→執行→輸入「cmd」。
切換到 IIS 管理程式目錄
cd drive:\inetpub\adminscripts
drive 為 IIS 目錄的磁碟機代號
設定新的上傳限制(byte)
cscript adsutil.vbs set w3svc/ASPMaxRequestEntityAllowed size
重新啟動 IIS
iisreset
另一個方法是直接修改 metabase.xml
開啟 IIS 主控台
在「網際網路服務」下選擇欲修改的主機,然後在上面按右鍵,選「內容」
將「啟用直接Metabase編輯」打勾,按確定
編輯 %windir%\system32\inetsrv\MetaBase.XML
尋找 AspMaxRequestEntityAllowed 的設定
預設為 AspMaxRequestEntityAllowed = “204800″
修改為新的上傳限制即可
參考:
Microsofb KB327659
Why do I get non-database-related 80004005 errors?