我是武男, 24歲, 大家都叫我阿男...有的人還會叫我白目研究生...找我的話請Google "武男" 就沒錯了~

武男亂講-最簡單的初衷

Autor 白目研究生 | 02.09.2008 | Category Windows, 武男亂講

keyword:windows vista ipv6 disable

最近換了vista的os

不錯,ipv6的支援度高了許多

也多了不少麻煩…

總想著辦法要把ipv6 disable掉

找到了這裡

也找到了語法

netsh interface ipv6 set global randomize­identifiers=disabled

下了指令差點沒吐血,

有下跟沒下一樣…

結果突然想到…

有的時候單純一點,何嘗不是一件好事…


慘了慘了,快變OL大叔了…

Web Page Maker

Autor 白目研究生 | 04.08.2007 | Category Windows, 好用小軟體分享

官網:http://www.webpage-maker.com/

版本:06/25/2007 Web Page Maker V2.5

下載:這裡下載

簡介:以拖拉物件的方式製作網頁,可以讓製作網頁的使用者不需要深入瞭解HTML的語法或相關概念就可以簡單製作出網頁

製作出來的網頁副檔名為*.wss

可以透過發佈轉換成*.html、*.htm、*.shtml、*.php、*.asp

www.greendown.cn 70190-52927-27093-18698

phpMyVisites Install Steps How To

Autor 白目研究生 | 28.07.2007 | Category FreeBSD, Windows, 技術文件

說明:

phpMyVisites is a free and powerful open source (GNU/GPL) software for websites statistics and audience measurements.

phpMyVisites gives a lot of information on websites visitors, visited pages, software/hardware utilization, etc… The GUI Interface is fun and practical. The installation is entirely automated and very simple.

Statistics are very complete and use many clear graphics to present data. The web analytics software is translated in more than 30 languages!

語言:支援多國語言,按這裡查看相關資料

官網:http://www.phpmyvisites.us/

版本:phpMyVisites version 2.3 beta 4 !

下載:Download phpmyvisites_2_2.zip

Demo:Here

測試安裝環境:Win XP SP2、Appserv 2.5.8

Install Steps:

將檔案解壓縮至網頁目錄

開啟下面連結,進行安裝設定

http://localhost/phpmv2/index.php?mod=install_welcome

  • 歡迎!
  • 可以先選擇中文語系在進行下面安裝步驟。下一步。

  • 系統需求
  • 會檢查WebServer的環境設定,請盡量修正到全部都是打綠色勾勾。下一步。

  • 資料庫設定
  • 請輸入您的資料庫設定!

    若為首次使用者,在繼續以下操作前請記得先用 phpMyAdmin 於 MySQL 伺服器建立一個以 utf8_unicode_ci 為對應編碼的資料庫,資料庫參考名稱如:phpmv。下一步。

  • 建立資料表
  • 資料表被建立。下一步。

    如果出現錯誤,請檢查資料庫使用者權限。

  • 一般設定
  • phpMyVisites 將僅有一個唯一具有完全存取權限可供檢視或變更所有一切的管理員使用者!請為您的超級管理員帳號設定一個使用者名稱及密碼!您可以在稍後增加其他的使用者!

    可以透過Mail Server送出統計結果,不過沒有跑Mail Server服務的機器可以省略。下一步。

  • 建立設定檔
  • 建立管理員設定。下一步。

  • 加入第一個網站
  • 請輸入關於第一個網站的所有資訊!下一步。

  • 顯示 Javascript 碼
  • 要能計數所有的訪客量,您必須插入這些 javascript 碼在您所有的網頁中!

    您的網頁並不一定要製作成 PHP, phpMyVisites 將可工作於所有種類的網頁 (像是 HTML, ASP, Perl 或是任何其他語言的網頁)。

    以下就是您必須插入的 javascript 碼:(複製並貼在您所有的網頁中)。下一步。

  • 安裝完成!
  • 恭喜! 您的 phpMyVisites 安裝設定已經完成!
    ◎為使繪圖字型能正常顯示,請記得下載字型檔 simsun.ttc:

    http://www.phpmyvisites.net/fichiers/simsun.ttc

    並將之置於 phpmv2/libs/artichow/font/ 目錄中!

    如果是透過上面連結下載的檔案,simsun.ttc已經被我壓縮進去對應目錄了。

    如果是透過官網下載的話,則必須要按照上面步驟新增或更新字型檔

    字型檔的作用在透過GD Library繪圖時會產生不正確的圖表,可透過simsun.ttc修正,讓圖表的資訊輸出是正確的。

    請確定您的 javascript 碼已被插入至您的網頁之中,然後就可以坐著等您的第一位訪客來囉!

    透過下面連結開啟剛剛架設的phpMyVisites

    http://localhost/phpmv2/

    結論:

    介面的統計資料使用起來感覺很像是Google Analytics,但是功能卻沒有那麼的完整。

    這個是透過Java Script更新資料記錄的,不過跟我想要記錄來源IP的流量監控程式好像是有那麼一點點的出入。

    功能細節,請看Demo

    HP workstation XW4300 Install OS How To

    Autor 白目研究生 | 26.07.2007 | Category Windows, 技術文件

    產品規格:

    HP workstation XW4300 (P4 3.2GHz/2GB/73GB)

    設備類型:圖形工作站
    主板擴展插槽 (個):6

    作業系統類型:Microsoft Windows XP

    處理器 :

    CPU類型 Intel Pentium 4

    CPU核心 Prescott 2M

    處理器緩存 (KB) 2048

    內存:

    內存類型 ECC DDR2

    存儲系統 :

    硬盤類型 SCSI

    硬盤容量(GB) 73

    最大硬盤容量 (GB) 900

    顯示 :

    顯示器尺寸 (英寸) 選配

    顯示卡名稱 nVIDIA Quadro FX1400

    顯卡晶片 Quadro FX1400

    顯存容量(MB) 128

    驅動器 :

    光碟機類型 DVD-RW

    軟盤機 3.5″ 1.44MB

    網路:

    網卡 10MB/100MB/1000MB自適應

    電氣性能 :

    額定電壓 (V) 220

    額定功率 (W) 460

    環境條件 :

    工作濕度 20% – 80%

    工作溫度 (℃) 10 – 35

    工作高度 (米) 3048

    存儲溫度 (℃) -40 – 70

    存儲濕度 10% – 90%

    存儲高度 (米) 9144

    今天難得整理Server,要重灌作業系統卻發生找不到硬碟的錯誤

    後來的解決辦法如下:

    1.開機按f10進入BIOS

    2.選擇English

    3.選擇storage->storage option->sata emulation

    4.其中選項由seperat ide controler/combined ide controler/raid/AHCI 預設是AHCI(Advanced Host Controller Interface)

    5.將AHCI選項改為separat ide controler

    6.儲存BIOS設定

    7.再重新安裝試試看

    Awstats Install Steps

    Autor 白目研究生 | 26.07.2007 | Category FreeBSD, Windows, 技術文件

    說明:

    AWStats is a free powerful and featureful tool that generates advanced web, streaming, ftp or mail server statistics, graphically. This log analyzer works as a CGI or from command line and shows you all possible information your log contains, in few graphical web pages. It uses a partial information file to be able to process large log files, often and quickly. It can analyze log files from all major server tools like Apache log files (NCSA combined/XLF/ELF log format or common/CLF log format), WebStar, IIS (W3C log format) and a lot of other web, proxy, wap, streaming servers, mail servers and some ftp servers.
    Take a look at this comparison table for an idea on features and differences between most famous statistics tools (AWStats, Analog, Webalizer,…).
    AWStats is a free software distributed under the GNU General Public License. You can have a look at this license chart to know what you can/can’t do.
    As AWStats works from the command line but also as a CGI, it can work with major web hosting provider which allow Perl, CGI and log access.

    官網:http://awstats.sourceforge.net/

    語言:英文/繁體中文

    版本:Last stable version is 6.7 – 2007-07-07 04:05

    下載:按這裡下載

    測試安裝環境:FreeBSD 6.2 Release

    Install Steps:

    安裝目錄

    cd /usr/ports/www/awstats; make install clean

    安裝完成會出現下面字樣,提示修改http.conf

    *****************************************************************
    Please add the following to your apache config, and restart.

    #
    # Directives to allow use of AWStats as a CGI
    #
    Alias /awstatsclasses “/usr/local/www/awstats/classes/”
    Alias /awstatscss “/usr/local/www/awstats/css/”
    Alias /awstatsicons “/usr/local/www/awstats/icons/”
    ScriptAlias /awstats/ “/usr/local/www/awstats/cgi-bin/”

    #
    # This is to permit URL access to scripts/files in AWStats directory.
    #
    <Directory “/usr/local/www/awstats/”>
    Options None
    AllowOverride None
    Order allow,deny
    Allow from all
    </Directory>

    *****************************************************************

    If you are upgrading from AWStats 6.4 or older, please note the following:

    If you used the geoip plugin, you must edit your AWStats config file
    to change the line
    LoadPlugin=”geoip GEOIP_STANDARD”
    into
    LoadPlugin=”geoip GEOIP_STANDARD /pathto/GeoIP.dat”

    ***************************************************

    修改http.conf

    ee /usr/local/etc/apache2/httpd.conf;

    將下面內容加上去

    Alias /awstatsclasses “/usr/local/www/awstats/classes/”
    Alias /awstatscss “/usr/local/www/awstats/css/”
    Alias /awstatsicons “/usr/local/www/awstats/icons/”
    ScriptAlias /awstats/ “/usr/local/www/awstats/cgi-bin/”

    #
    # This is to permit URL access to scripts/files in AWStats directory.
    #
    <Directory “/usr/local/www/awstats/”>
    Options None
    AllowOverride None
    Order allow,deny
    Allow from all
    </Directory>

    開始設定awstats

    cd /usr/local/www/awstats; ./awstats_configure.pl

    開始下面提示安裝訊息設定

    —– AWStats awstats_configure 1.0 (build 1.6) (c) Laurent Destailleur —–
    This tool will help you to configure AWStats to analyze statistics for
    one web server. You can try to use it to let it do all that is possible
    in AWStats setup, however following the step by step manual setup
    documentation (docs/index.html) is often a better idea. Above all if:
    - You are not an administrator user,
    - You want to analyze downloaded log files without web server,
    - You want to analyze mail or ftp log files instead of web log files,
    - You need to analyze load balanced servers log files,
    - You want to ‘understand’ all possible ways to use AWStats…
    Read the AWStats documentation (docs/index.html).

    —–> Running OS detected: Linux, BSD or Unix
    Warning: AWStats standard directory on Linux OS is ‘/usr/local/awstats’.
    If you want to use standard directory, you should first move all content
    of AWStats distribution from current directory:
    /usr/local/www/awstats
    to standard directory:
    /usr/local/awstats
    And then, run configure.pl from this location.
    Do you want to continue setup from this NON standard directory [yN] ? 這裡按Y

    —–> Check for web server install

    Enter full config file path of your Web server.
    Example: /etc/httpd/httpd.conf
    Example: /usr/local/apache2/conf/httpd.conf
    Example: c:\Program files\apache group\apache\conf\httpd.conf
    Config file path (‘none’ to skip web server setup):
    > 這裡輸入機器Apache的http.conf設定檔位置,程式會自動檢查該路徑有沒有該檔案

    —–> Check and complete web server config file ‘/usr/local/etc/apache2/httpd.conf’
    Add ‘Alias /awstatsclasses “/usr/local/www/awstats/wwwroot/classes/”‘
    Add ‘Alias /awstatscss “/usr/local/www/awstats/wwwroot/css/”‘
    Add ‘Alias /awstatsicons “/usr/local/www/awstats/wwwroot/icon/”‘
    Add ‘ScriptAlias /awstats/ “/usr/local/www/awstats/wwwroot/cgi-bin/”‘
    Add ‘<Directory>’ directive
    AWStats directives added to Apache config file.

    —–> Need to create a new config file ?
    Do you want me to build a new AWStats config/profile
    file (required if first install) [y/N] ? 是否加入上面參數設定,這裡按Y

    —–> Define config file name to create
    What is the name of your web site or profile analysis ?
    Example: www.mysite.com
    Example: demo
    Your web site, virtual server or profile name:
    > 輸入設定檔名稱名稱前置字元

    —–> Define config file path
    In which directory do you plan to store your config file(s) ?
    Default: /etc/awstats
    Directory path to store config file(s) (Enter for default):
    > 這裡按照預設的路徑輸入,什麼出現下面錯誤訊息。

    —–> Create config file ‘/usr/local/www/awstats/cgi-bin/awstats.210.71.11.167.conf’
    Error: Failed to open ‘/usr/local/www/awstats/wwwroot/cgi-bin/awstats.model.conf’ for read.

    那是因為該路徑找不到awstats.model.conf檔案可以修改,而該檔案所在目錄為/usr/local/www/awstats/cgi-bin

    既然程式只讀固定路徑的話,那就按照他讀取的路徑塞檔案給它

    mkdir -pv /usr/local/www/awstats/wwwroot/cgi-bin/;

    cp /usr/local/www/awstats/cgi-bin/awstats.model.conf /usr/local/www/awstats/wwwroot/cgi-bin/

    重跑一次設定,在上一次出的問題點按ENTER讓他跑預設路徑即可

    —–> Create config file ‘/etc/awstats/awstats.ip.conf’
    Config file /etc/awstats/awstats.ip.conf created.

    —–> Add update process inside a scheduler
    Sorry, configure.pl does not support automatic add to cron yet.
    You can do it manually by adding the following command to your cron:
    /usr/local/www/awstats/wwwroot/cgi-bin/awstats.pl -update -config=ip
    Or if you have several config files and prefer having only one command:
    /usr/local/www/awstats/tools/awstats_updateall.pl now
    Press ENTER to continue…
    A SIMPLE config file has been created: /etc/awstats/awstats.ip.conf
    You should have a look inside to check and change manually main parameters.
    You can then manually update your statistics for ‘ip’ with command:
    > perl awstats.pl -update -config=ip
    You can also read your statistics for ‘ip’ with URL:
    > http://localhost/awstats/awstats.pl?config=ip

    Press ENTER to finish…

    完成安裝可以,透過剛剛結束安裝前的路徑連結

    http://ip/awstats/awstats.pl?config=ipCrontab加入設定,讓時間內更新數據

    ee /etc/crontab;

    58 * * * * root /usr/local/www/awstats/cgi-bin/awstats.pl -config=ip

    以上IP字樣可以用欲安裝的機器IP或DOMAIN替代

    結論:

    原本要找偵測網站流量的,可以完整監測IP的。

    在腦海中就有Awstats的字眼了,不過一直沒有機會架設。

    Awstats的流量統計是透過PERL去分析LOG檔案所產生的報表,當然也可以架設在Winodws的平台上。

    不過前提是要先有PERL模組的功能可以應用。

    下次會再介紹,類似Google Analytics的流量監測工具。PhpMyVisites

    Awstats介面功能請參考下面列表:

    統計網站:
    localhost

    撮要
    按參觀時間:
    每月記錄
    每日
    星期幾
    每小時
    按參觀者:
    國家
    全部列出
    主機
    全部列出
    最近參觀日期
    無法反解譯的IP位址
    搜尋引擎網站的漫遊器
    全部列出
    最近參觀日期
    瀏覽器統計:
    每次參觀所花時間
    檔案類別
    存取次數
    全部列出
    入站處
    出站處
    作業系統
    版本
    無法得知
    瀏覽器
    版本
    無法得知
    參考資訊:
    來源網址
    由那些搜尋引擎轉介
    由那些其他網站轉介
    搜尋
    用以搜尋的關鍵字句
    用以搜尋的關鍵字詞
    其他:
    雜項
    HTTP 狀態碼
    找不到的網頁