# tar xvzf httpd* //解壓源碼包。
# cd httpd* //進入安裝目錄。
# ./configure --prefix=/usr/local/apache --enable-so --enable-mods-shared=most --enable-rewrite
# make && make install //編譯並安裝。
說明:
--enable-so選項:讓Apache可以支援DSO模式,注意,我們在這裡採用的是Apache2.0的文法。如果你的Apache是1.3版本,應改為--enable-module=so。
--enable-mods-shared=most選項:告訴編譯器將所有標準模組都編譯為DSO模組。你要是用的是Apache1.3,改為--enable-shared=max就可以。
--enable-rewrite選項:支援地址修正功能,使用1.3版本的朋友請將它改為--enable-module=rewrite。
如何即時查看mysql當前串連數?
1、查看當前所有串連的詳細資料:
./mysqladmin -u admin -p -h10.140.1.1 processlist
2、只查看當前串連數(Threads就是串連數.):
./mysqladmin -u admin -p -h10.140.1.1 status
命令: show processlist;
如果是root帳號,你能看到所有使用者的當前串連。如果是其它普通帳號,只能看到自己佔用的串連。
show processlist;只列出前100條,如果想全列出請使用show full processlist;
*****
1.使用list backupset summary查到TAG
2.使用以下語句查出具體時間Select tag,start_time,completion_time From v$backup_piece Where tag='your tag'