歡迎來到小豬圈!

Showing posts with label OS:Windows. Show all posts
Showing posts with label OS:Windows. Show all posts

2011-04-16

PHP 在 Windows 下的 Unicode 檔名問題

  • 簡而言之…無解! (爆)
  • 要等到PHP6原生支援Unicode才行。

2009-12-03

Win XP 小技巧

  • http://www.sysinternals.com/
  • fsutil.exe
  • NTFSDOS Professional 5.0
  • 修改 C:\WINDOWS\inf\sysoc.inf 把 hide 刪掉
  • tasklist /SVC
  • Gpedit.msc
  • msconfig
  • set devmgr_show_nonpresent_devices=1
  • HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders 改變預設目錄
  • RunDll32 advpack.dll,LaunchINFSection %windir%\INF\msmsgs.inf,BLC.Remove

2009-07-26

在 Windows 下編譯 Sphinx PHP 擴充模組

  • PECL :: Package :: sphinx 下載的原始碼,還無法直接編譯,從 config.w32 看來還需要 libsphinxclient.lib 和 sphinxclient.h。
  • 雖然從 Sphinx 中 (在原始碼的 api\libsphinxclient 目錄裡) 自行編譯了 libsphinxclient.lib ,但還是派不上用場。
  • 後來是修改了 config.w32 ,把這行:
    EXTENSION("sphinx", "sphinx.c");
    改寫成
    EXTENSION("sphinx", "sphinx.c sphinxclient.c");
    加在一起編譯才成功的。
  • Sphinx PHP Extension 似乎沒辨法編成獨立的 DLL 檔。將上述那行加上第三個參數為 true 就行了:
    EXTENSION("sphinx", "sphinx.c sphinxclient.c", true);
  • Sphinx 原始碼也有提供 PHP 腳本版本的 API (api/sphinxapi.php) ,直接 include 即可。

2009-07-25

Sphinx 全文檢索引擎

  • Sphinx 0.9.8.1 加上 MySQL 5.1 在建立索引時會出現 column number 1 has no name 的錯誤訊息,改用目前最新 Sphinx 0.9.9 就行了。
  • 安裝成 Windows Service 時要明確指定 sphinx.conf 的路徑:
    searchd.exe --install --config C:\sphinx\sphinx.conf --servicename SphinxSearch
    不然會無法啟動並出現 service terminated unexpectedly 錯誤訊息。
  • 另外也要記得建立 log 、 query_log 、 pid_file 所指定的目錄。

  1. 下載 Sphinx 並壓縮至 C:\sphinx
  2. 依 sphinx.conf.in 或 sphinx-min.conf.in 編輯設定檔,並另存為 sphinx.conf 。
  3. 將工作目錄移至 cd \sphinx\bin
  4. 安裝成 Windows Services
    searchd.exe --install --config C:\sphinx\sphinx.conf --servicename SphinxSearch
  5. 建立索引
    indexer.exe --config C:\sphinx\sphinx.conf --all
  6. 測試搜尋,假設搜尋目標為 target-word
    search.exe --config C:\sphinx\sphinx.conf --any target-word
  7. 若要移除 Windows Services
    searchd.exe --delete --servicename SphinxSearch

2009-07-24

在 Windows 上自行編譯 PHP

  • 自行編譯 PHP 比想像中簡單多了,PHP wiki 已經整理的很完善。文末的編譯步驟是從 PHP 文件 (PHP: Building from source - Manual) 提供簡易指南中,依我個人情況修改而來。
  • 比較麻煩的地方是要收集 Library 與 Header 檔,像 Apache httpd 得選自訂安裝才有附那些檔案。「PHP: internals:windows:libs [PHP Wiki]」這裡整理了大部份的檔案。
  • 我初次編譯使用的是 Windows SDK for Windows Server 2008 and .NET Framework 3.5 ,在執行 nmake 時出現下列錯誤訊息
    "" -h win32\ -r ..\Release_TS\ -x ..\Release_TS\ win32\build\wsyslog.mc
    '-h' is not recognized as an internal or external command,
    operable program or batch file.
    查看 Makefile 發現是少了 MC - Message Compiler (MC.exe) 這個東東,“mc.exe is missing in the Visual Studio 2008 Express SDK | Microsoft Connect”這篇指出似乎是該版本的 Windows SDK 沒附的關係。
  • browscap.c 出現幾個 § (section sign) 符號造成編譯中斷,用 Firefox 瀏覽後轉存即可(我遇到?字元的問題都是這樣解決的)。

  1. 下載並安裝 VC ,Microsoft Visual C++ 2008 Express Edition
  2. 下載並安裝 Windows SDK ,Microsoft Windows SDK for Windows 7 and .NET Framework 3.5 SP1: RC
  3. 複製 C:\Program Files\Microsoft SDKs\Windows\v7.0\Include\WinResrc.h 並更名為 winres.h 到同一目錄下。舊的文件有這條項目,似乎是用來解決某些問題,但我並沒有遇到就是了。
  4. 建立一個工作目錄,這裡以 C:\php-sdk 為例。
  5. 下載 PHP 原始碼並解壓縮至 C:\php-sdk ,這裡以 php-5.3.0 為例。
  6. 下載 http://pecl2.php.net/downloads/php-windows-builds/php-libs/binary-tools.zip 並解壓縮至 C:\php-sdk 。
  7. 依預設的搜尋路徑 (參見原始碼中 php-5.3.0\win32\build\config.w32 第 227 行,也可以自訂 --with-php-build=..\deps) 建立一個存放相關檔案的目錄 C:\php-sdk\deps 。並至 http://wiki.php.net/internals/windows/libs 下載所需檔案解壓至該目錄。
  8. 從開始功能表裡執行 Windows SDK - CMD Shell ,並輸入下列指令。
  9. SetEnv.cmd /x86 /xp /release 設定編譯模式。
  10. SET PATH=%PATH%;C:\php-sdk\bin;
  11. cd \php-sdk\php-5.3.0 (接下來的指令必須在 PHP 原始碼的根目錄下執行)
  12. cscript.exe /nologo win32\build\buildconf.js
  13. cscript.exe /nologo configure.js --help (非必要,查看可用參數)
  14. cscript.exe /nologo configure.js --enable-object-out-dir=.. --disable-all (這裡參數依需求而有所不同)。
  15. nmake (開始編譯,需要一段時間)。
  16. 最終的目錄結構會類似下列這樣:
    +-C:\php-sdk
    | +-bin
    | | --bison.exe
    | | --bison.simple
    | | --...
    | +-deps
    | | +-bin
    | | +-include
    | |   --httpd.h (來自 Apache httpd)
    | |   --...
    | | +-lib
    | |   --libiconv.lib (來自 GNU libiconv)
    | |   --libxml2.lib
    | |   --...
    | +-php-5.3.0 (PHP 原始碼)
    | | +-build
    | | +-win32
    | | +-...
    | +-Release_TS (輸出編譯結果的目錄)
    | | +-...
    
  17. nmake install (安裝編譯的結果,預設安裝至 C:\php5)。

2009-06-23

[已解決] 安裝 Apache HTTPD 時出現 Installation Wizard Interrupted

  1. Davis's tech blog: Problems installing Apache HTTP Server

2009-05-13

在 Windows Apache 上同時執行 PHP4 與 PHP5

  • 將 PHP4 與 PHP5 分別以 CGI 和 Apache module 模式執行,以副檔名 .php4 與 .php 分辨執行的版本。
  • 在 httpd.conf 加入
    <Directory "C:/php4">
        AllowOverride None
        Options None
        Order allow,deny
        Allow from all
    </Directory>
    
    # PHP 4
    #"C:/php4/" 這裡尾端必須要加上斜線
    ScriptAlias /php/ "C:/php4/"
    AddHandler php4-script .php4
    Action php4-script "/php/php.exe"
    
    
    # PHP 5
    LoadModule php5_module "C:/php5/php5apache2_2.dll"
    AddType application/x-httpd-php .php
    PHPIniDir "C:/php5"

2008-12-22

DOTNET 無法載入其它 .Net Framework assembly

  • 以下測試環境為 PHP 5.2.8 、 Windows XP SP3 、 .NET Framework 2.0 + SDK
  • PHP: DOTNET - Manual 裡的範例(載入 mscorlib)可以執行,但載入其它 assembly (我目前只有試 System.Windows.Forms )就會出現 Failed to instantiate .Net object [CreateInstance] [0x80131513] 的錯誤訊息。這問題(PHP Bugs: #33188: Cannot instantiate a DOTNET object)似乎已經好幾年了。(囧)
  • PHP: DOTNET - Manual 文末指出加上完整的 Assembly name 方法,經測試依然失敗。
  • Assembly 的資訊像是 PublicKeyToken 之類的,在 %WINDIR%\assembly 目錄裡看的到。
  • Bugs: #33188 裡的一篇回覆說可用 GAC 繞過這問題,我測試的結果也是失敗的。
  • gacutil.exe 要安裝 .NET Framework SDK 才有,該程式位置在 %PROGRAMFILES%\Microsoft.NET\SDK\v2.0\Bin\gacutil.exe 。

WebPageGrabber 網頁快照程式

2008-12-17

安裝 GnuPG for Windows (gpg4win)

  • Gpg4win - EMail-Security using GnuPG for Windows 下載、安裝。
  • 到 GnuPG 安裝目錄(預設為 %PROGRAMFILES%\GNU\GnuPG\)執行 gpg.exe --gen-key ,參見:GnuPG Gentoo 使用者指南 — Gentoo Linux 文件
  • 預設的輸出結果會在 %USERPROFILE%\Application Data\gnupg 目錄裡。
  • 設定 GPGee 參數:
    • Set program path: %PROGRAMFILES%\GNU\GnuPG\gpg.exe
    • Set options file: %USERPROFILE%\Application Data\gnupg\gpg.conf
    • Set keyring: %USERPROFILE%\Application Data\gnupg\pubring.gpg
    • Set secret keyring: %USERPROFILE%\Application Data\gnupg\secring.gpg
  • 修改 gpg.conf ,參見 GnuPG Gentoo 使用者指南的 進階功能
  • 備註:我實際使用 GPG 時,所自動建立的檔名是 gpa.conf ,跟說明檔中的預設值 gpg.conf 不同,但內容是一樣的東西。

  • 我安裝 Gpg4win 主要目的,是要用 GPGee 驗証下載的檔案。 GPGee 是將 GPG 和檔案總管整合的程式,在相關檔案上按右鍵即有 GPGee 的選單。
  • 以 TortoiseSVN 為例,下載 TortoiseSVN-1.5.5.14361-win32-svn-1.5.4.msi 和 TortoiseSVN-1.5.5.14361-win32-svn-1.5.4.msi.asc 後放在同一目錄,在後者的 GPGee 選單中選擇 Verify/Decrypt 即可驗証檔案。
  • 沒有正確設定或找不到公鑰:

    Could not verify - your keyring is missing key with id 0x459E2D3E which is required to verify this file's signature. 你可以到 MIT PGP Key Server 尋找訊息裡的 ID (0x459E2D3E) ,手動匯入公鑰。
  • 驗証失敗:
  • 驗証成功:

2008-12-12

最近有一批驅動,好快的呀!


  • 圖為 Mobile01 顯示設備 2008-12-14 截圖。
  • 老哥更新了這批 ATI 的驅動就爆機了…,出現了 win32k.sys 的藍底白字畫面。

2008-11-06

安裝 Glade 3.4.3 for Windows (gladewin32) 遇到的問題


  • 圖為安裝 Glade/Gtk+ for Windows 3.4.3 版遇到的錯誤訊息。
    glade-3.exe - Entry Point Not Found
    The procedure entry point g_assertion_message_expr could not be located in the dynamic link library libglib-2.0-0.dll.
  • 解決方法是將 GTK+ 的版本更新至 2.12.9 以上。為什麼我會知道?因為我電腦裡裝的是不曉得哪個程式附的 GTK+ 2.12.8 … (囧),更新(目前最新是 2.14.4)後就沒問題了。
  • 如果是遇到缺什麼 dll 的情況,先確認 GTK+ 的 bin 目錄有沒有加到環境變數 PATH 裡,不行再到 GTK+ 官網下載或網上去找吧。

2008-11-01

PHP-GTK on Windows 筆記

  • PHP-GTK : Downloads 下載 php-gtk-2.0.1 Windows binary pack
  • 到下載回來的檔案解開後的 php-gtk2 目錄裡,執行 php demos\phpgtk2-demo.php 範例測試。
  • 在利用既有的 PHP 環境執行時遇到下列錯誤訊息,應該是因為 PHP-GTK 是 Non-thread-safe 的,和我現有的版本不符的關係。
    PHP Warning:  PHP Startup: php-gtk: Unable to initialize module
    Module compiled with module API=20060613, debug=0, thread-safety=0
    PHP    compiled with module API=20060613, debug=0, thread-safety=1
    These options need to match
     in Unknown on line 0
  • 修改 php-cli.ini 檔案中 php-gtk.codepage 一項,修改為 CP850 用以在 Windows 上正常顯示繁體中文。參見:Code Pages

2008-09-14

在 Windows 上安裝 ImageMagick for PHP (imagick)

  • PHP Snapshots 下載 PECL (pecl-5.2-dev (zip) (4.5M))。
  • 將裡頭包含的 php_imagick.dll 放到 php\ext 目錄下。
  • 在 php.ini 裡增加一項 extension=php_imagick.dll 即可。

  • 為了 php_imagick.dll 這個檔案查了許多文章,只因 PHP 並沒有內建,在官方下載頁 PHP: Downloads 裡附的 PECL 壓縮檔裡也沒有,連 ImageMagick 官方也沒有編譯 Win32 的版本
  • 使用 PECL4WIN :: The PECL Windows Repository 裡附的 php_imagick.dll 時出現:PHP Warning: PHP Startup: Unable to load dynamic library 'C:\\php\\ext\\php_imagick.dll' - The specified module could not be found.\r\n in Unknown on line 0這樣的錯誤訊息。
  • 曾一度試著下載 VC++ 2005 Express,想自行編譯,但也被一連串的錯誤訊息逼退。

2008-09-11

Windows Live Writer 無體驗

  • 因為想要試著離線編輯 Blogger,所以下載 Windows Live Writer 試試。
  • 安裝前得先更新 Windows Update Agent,安裝完成後立即跳出一個連結,但也被我反射性的關掉…。
  • 安裝結束只有在程式集多了 Windows Live Home 一個捷徑,打開卻找不到任何有關 Writer 的字眼,一怒之下將頁面一關,我的 Windows Live Writer 初體驗就這樣結束了…。(囧)

2008-09-08

天殺的 Windows XP SP3

  • 剛剛試著用 ASUS V80 手機良伴(USB連線)來更新手機通訊錄,卻一直無法成功連線,查了一下才知道跟 SP3 有關。
  • 試過覆蓋 usbser.sys 的方式,但因 Windows 檔案保護的功能而沒有成功,不過我也懶的再弄下去了。
  • 不過還好用 Bluetooth 連線的方式還是可以正常使用,只是要另外裝 ASUS V80 手機良伴 Bluetooth 版的就是了。額外要注意的是,連結 Bluetooth 裝置時要選需要 Passkey 的連結方式。
  1. Mobile01 v80手機良伴 XP-SP3無法使用
  2. Mobile01 [心得]WIN XP SP3 USB Modem Driver造成USB裝置無法被應用軟體使用的問題簡單解法

2008-01-16

InstallShield Error code: -6006

  • 這次重灌中安裝驅動程式時遇到的問題,詳細原因並不清楚,只知道跟 Windows Installer 有關。我的情況是在 Windows Installer 設為 Manual 的狀態下,沒有自動啟動,手動打開就好了。
  1. Troubleshooting Build Errors and Warnings

2008-01-10

從登錄檔修改服務啟動的類型

  • 以下內容的測試環境是 WindowsXP SP3RC1(在 VirtualPC 2007 所建構的 VM 之中),提到的“服務”指的是 Windows 內建的 service,一種在背景執行的特殊程式。“登錄”指的是 Windows Registry,而“登錄檔”指的是副檔名為 reg 的文件。
  • 一般情況下,透過執行 services.msc 這項管理工具來修改服務的啟動類型即可,編輯成登錄檔的形式僅便於重灌或大量套用。更動登錄有其風險,不建議冒然修改
  • 文末附上個人設定僅供參考,若需套用,請務必檢視、修改以符合實際需求,勿直接匯入。用 Notepad 存檔時編碼要選 Unicode (Notepad++ 即 UCS-2 little Endian),並將副檔名設為 reg。
  • Start (DWORD) 一值即為設定啟動類型的項目,可用值如下:
    • 0: Boot
    • 1: System
    • 2: Automatic
    • 3: Manual
    • 4: Disable
  • 服務的詳細機碼內容,可執行 regedit.exe ,到 HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ 中查看。
  • 依更新進度不同,每個作業系統有的服務項目會有所增減,因為有些服務是在 Service Pack 才加入的。(像 Bluetooth Support Service, Extensible Authentication Protocol Service, Health Key and Certificate Management Service, Network Access Protection Agent, Network Provisioning Service, Wired AutoConfig …等)
  • 目前測試結果(測試方法是先將所有服務設為 Manual,再逐項啟動),只有“Plug and Play”與“Remote Procedure Call (RPC)”兩項較有設為自動啟動的必要(否則大部份的服務無法正常的手動啟動)。
  • 而在所有服務都停用的情況下,Windows 依然可以正常開機、登入,但不只工作列無法顯示,還有大部份的 MMC 管理頁面也都無法正常運作。此時只能用 Ctrl+Alt+Del 叫出工作管理員來執行程式。前述情況是在 VM 環境內測試的結果,實機測試有些出入(工作列有出現)。
  • 有些服務從名稱、說明或依存性,都看不出有什麼大不了的,但實際上卻很重要。像是使用 PPPoE (台灣常見的 ADSL 撥接) 時, Telephony 服務是必要的(還有 Network Connections、Remote Access Connection Manager 兩項),但從說明看來卻像是 VoIP 之類的服務。
  • 有些服務如 Print Spooler、Smart Card、UPS … 等,則應依個人設備需設定。
  1. Windows service - Wikipedia, the free encyclopedia
  2. Windows Registry - Wikipedia, the free encyclopedia
  3. CurrentControlSet\Services Subkey Entries Microsoft Help and Support
Windows Registry Editor Version 5.00

#Start (DWORD): 0x0 - Boot; 0x1 - System; 0x2 - Automatic; 0x3 - Manual; 0x4 - Disabled. 
#@See http://support.microsoft.com/kb/103000/en-us

#Alerter
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Alerter]
"Start"=dword:00000004

#Application Layer Gateway Service
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ALG]
"Start"=dword:00000004

#Application Management
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\AppMgmt]
"Start"=dword:00000003

#Automatic Updates
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\wuauserv]
"Start"=dword:00000003

#Background Intelligent Transfer Service
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\BITS]
"Start"=dword:00000003

#Bluetooth Support Service

#ClipBook
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ClipSrv]
"Start"=dword:00000004

#COM+ Event System
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\EventSystem]
"Start"=dword:00000002

#COM+ System Application
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\COMSysApp]
"Start"=dword:00000003

#Computer Browser
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Browser]
"Start"=dword:00000004

#Cryptographic Services
#@See http://www.binbin.net/messages/qa_win_xp/0037.htm
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\CryptSvc]
"Start"=dword:00000003

#DCOM Server Process Launcher
#Windows Firewall Network Connections service and the COM+ Event System service
#@See http://support.microsoft.com/kb/892504/en-us
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\DcomLaunch]
"Start"=dword:00000003

#DHCP Client
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Dhcp]
"Start"=dword:00000004

#Distributed Link Tracking Client
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\TrkWks]
"Start"=dword:00000004

#Distributed Transaction Coordinator
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSDTC]
"Start"=dword:00000004

#DNS Client
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Dnscache]
"Start"=dword:00000002

#Error Reporting Service
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ERSvc]
"Start"=dword:00000004

#Event Log
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog]
"Start"=dword:00000002

#Extensible Authentication Protocol Service
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\EapHost]
"Start"=dword:00000004

#Fast User Switching Compatibility
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\FastUserSwitchingCompatibility]
"Start"=dword:00000004

#Health Key and Certificate Management Service
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\hkmsvc]
"Start"=dword:00000004

#Help and Support
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\helpsvc]
"Start"=dword:00000004

#HID Input Service, Human Interface Device Access
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\HidServ]
"Start"=dword:00000004

#HTTP SSL
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\HTTPFilter]
"Start"=dword:00000003

#IMAPI CD-Burning COM Service
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ImapiService]
"Start"=dword:00000004

#Indexing Service
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\CiSvc]
"Start"=dword:00000004

#IPSEC Services
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\PolicyAgent]
"Start"=dword:00000004

#Logical Disk Manager
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\dmserver]
"Start"=dword:00000003

#Logical Disk Manager Administrative Service
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\dmadmin]
"Start"=dword:00000003

#Messenger
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Messenger]
"Start"=dword:00000004

#MS Software Shadow Copy Provider
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SwPrv]
"Start"=dword:00000004

#Net Logon
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Netlogon]
"Start"=dword:00000004

#NetMeeting Remote Desktop Sharing
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\mnmsrvc]
"Start"=dword:00000004

#Network Access Protection Agent
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\napagent]
"Start"=dword:00000004

#Network Connections
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Netman]
"Start"=dword:00000002

#Network DDE
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NetDDE]
"Start"=dword:00000004

#Network DDE DSDM
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NetDDEdsdm]
"Start"=dword:00000004

#Network Location Awareness (NLA)
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Nla]
"Start"=dword:00000004

#Network Provisioning Service
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\xmlprov]
"Start"=dword:00000004

#NT LM Security Support Provider
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NtLmSsp]
"Start"=dword:00000004

#Performance Logs and Alerts
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SysmonLog]
"Start"=dword:00000004

#Plug and Play
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\PlugPlay]
"Start"=dword:00000002

#Portable Media Serial Number Service
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WmdmPmSN]
"Start"=dword:00000004

#Print Spooler
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Spooler]
"Start"=dword:00000003

#Protected Storage
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ProtectedStorage]
"Start"=dword:00000004

#QoS RSVP
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\RSVP]
"Start"=dword:00000004

#Remote Access Auto Connection Manager
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\RasAuto]
"Start"=dword:00000004

#Remote Access Connection Manager
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\RasMan]
"Start"=dword:00000003

#Remote Desktop Help Session Manager
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\RDSessMgr]
"Start"=dword:00000004

#Remote Procedure Call (RPC)
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\RpcSs]
"Start"=dword:00000002

#Remote Procedure Call (RPC) Locator
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\RpcLocator]
"Start"=dword:00000004

#Remote Registry
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\RemoteRegistry]
"Start"=dword:00000004

#Removable Storage
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NtmsSvc]
"Start"=dword:00000003

#Routing and Remote Access
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\RemoteAccess]
"Start"=dword:00000004

#Secondary Logon
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\seclogon]
"Start"=dword:00000004

#Security Accounts Manager
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SamSs]
"Start"=dword:00000003

#Security Center
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\wscsvc]
"Start"=dword:00000004

#Server
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanserver]
"Start"=dword:00000004

#Shell Hardware Detection
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ShellHWDetection]
"Start"=dword:00000004

#Smart Card
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SCardSvr]
"Start"=dword:00000004

#SSDP Discovery Service
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SSDPSRV]
"Start"=dword:00000004

#System Event Notification
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SENS]
"Start"=dword:00000004

#System Restore Service
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\srservice]
"Start"=dword:00000004

#Task Scheduler
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Schedule]
"Start"=dword:00000004

#TCP/IP NetBIOS Helper
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LmHosts]
"Start"=dword:00000004

#Telephony
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\TapiSrv]
"Start"=dword:00000003

#Telnet
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\TlntSvr]
"Start"=dword:00000004

#Terminal Services
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\TermService]
"Start"=dword:00000004

#Themes
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Themes]
"Start"=dword:00000004

#Uninterruptible Power Supply
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\UPS]
"Start"=dword:00000004

#Universal Plug and Play Device Host
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\upnphost]
"Start"=dword:00000004

#Volume Shadow Copy
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\VSS]
"Start"=dword:00000004

#Web Client
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WebClient]
"Start"=dword:00000004

#Windows Audio
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\AudioSrv]
"Start"=dword:00000002

#Windows Firewall/Internet Connection Sharing (ICS)
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess]
"Start"=dword:00000004

#Windows Image Acquisition (WIA)
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\stisvc]
"Start"=dword:00000004

#Windows Installer
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSIServer]
"Start"=dword:00000003

#Windows Management Instrumentation
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\winmgmt]
"Start"=dword:00000003

#Windows Management Instrumentation Driver Extensions
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Wmi]
"Start"=dword:00000004

#Wired AutoConfig
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Dot3svc]
"Start"=dword:00000004

#Windows Time
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time]
"Start"=dword:00000004

#Windows User Mode Driver Framework
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\UMWdf]
"Start"=dword:00000004

#Wireless Zero Configuration
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WZCSVC]
"Start"=dword:00000004

#WMI Performance Adapter
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WmiApSrv]
"Start"=dword:00000004

#Workstation
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanworkstation]
"Start"=dword:00000004

2007-11-22

我用過的作業系統

  • 曾使用(個人/家用)的作業系統如下:
  • MS-DOS 6.22,國中在校第一次接觸的作業系統。
  • Windows 3.1,安裝在自家第一臺電腦上,也是從國中開始。
  • Windows 95,開始撥接上網!
  • Windows 98,僅次於 XP 之後,我用最久的一套。
  • Windows XP Professional 目前主要的作業系統。
  • 還真是一脈相承啊…。(茶)
  • 其實我也用過 Linux 一陣子,包括 Red Hat 和 Fedora,以及 Mandrake 與 Mandriva Linux (兩者在改名前後各試用過一次),不過最後都還是逃回來了…,最近 Ubuntu 似乎很紅,找個時間來用一下好了。

2007-10-30

分割 Apache log 檔

標籤分類

Labels

Google Analytics Tracking Code

About Me

My photo
Keelung, R.O.C, Taiwan
一個不學無術、混吃等死的傢伙…