win 2k server reboot and auto login

Problem: Mercury mail server eat up memory, so I have to schedule the task to reboot the server and let it login automatically.
To schdule the task, use TaskScheduler to run the reboot.exe in /system32/
Don’t forget to assign the password to the task.
To just change the Autologon, open regedit, and change the key:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon

AutoAdminLogon = “1″
DefaultDomainName = “yourDomain"
DefaultUserName = “yourUserName"
DefaultPassword = “yourPassword"

bbclone setup

Found a web statistics php, setting up OK except the use of .htaccess on XP Apache,
Have to change the block of httpd.conf
#
# This controls which options the .htaccess files in directories can
# override. Can also be “All", or any combination of “Options", “FileInfo",
# “AuthConfig", and “Limit"
#
AllowOverride All

Change the AllowOverride None to AllowOverride All
Problem solved.

GVC Server 角色設定

雖然是1G的能力,但是缺乏獨立顯示晶片及CardBus速度問題,這部机器喪失一大半我對多媒體資料處理的期待,我必須有所決定
1、奇摩拋售,期待另一部機器
2, WebServer 能力OK,單純的發展WebServer 能力
先跑一陣子再說吧

GVC工作日誌

昨天將GvC大致設定OK,NAT32 IP 設定時注意將GVC PAN IP設定169.254開頭, IP與Gateway設定相同,這樣PDA即可透過PAN連上InterNet

再來就看看能不能Crack NAT32了

Build up GVC server

Try to replace my Acer 400 server (win 2k server) with GVC 1G server (win 2003 server),
Set up DNS ok,
Setup Mercury mail server ok,
Set up SquirrelMail with mail out problem, turn out that Macfee 8.0 block my 25 port, get it done.
Set up CopperMineGallary with mail out problem, Sol..1, set $CONFIG[‘smtp_host’] = ‘msa.hinet.net’; on /include/mailer.inc.php. 2, Macfee 8.0 block the 25 port.
Set up wordpress, define(‘DB_HOST’, ‘192.168.0.90’) on config.php;
Set up iconv 1.9 with php, didn’t get through, found answer from web:
————————————————————————————————————————-
Windows 下安裝 PHP 的 iconv 的方法
一般使用者可能會認為在 PHP 下想要使用 iconv 的話,只要把 php.ini 裡面的分號 ; 拿掉就以了:

;extension=php_iconv.dll
一般像 GD2 之類的 Library 照這樣安裝是沒有錯,但是在 iconv 狀況就不同了,馬上就出現下面的畫面: (點圖可放大)

因為要啟動 iconv 的功能,除了 php_iconv.dll 之外,還需要一個 iconv.dll,也就是需要 php_iconv.dll 和 iconv.dll 都可以讓 php 找的到的狀況之下。所以正確安裝的方式是:

1.到 PHP 目錄下的 dlls 找到 iconv.dll
(如果找不到的話,請下載 PHP 的 zip 版本)
2.把 iconv.dll 複製到 c:\windows\system32 下
3.重新啟動 apache

這樣就完成了。

(C:\windows 為 Windows 作業系統的安裝目錄,請視自已電腦的環境做修改。)

以上的作法是在 extension 路徑設定正確或是直接把 extension 的檔案放到 C:\Windows\System32 的狀況。所以如果還是不行,代表你的 PHP 可能是用手動安裝,或是 php.ini 內的 extension 的目錄與目前執行的目錄不合,所以 php_iconv.dll 找不到。

這時有二種作法:

[作法1]

把 extension 下的 php_iconv.dll 複製到 c:\windows\system32 裡面。

[作法2]
在 php.ini 裡面修改 extension_dir 為 php extension 的目錄,如 c:\php\extension

以下是題外話:

如果想在 windows 下的 dos 模式可以像 Linux 可以直接使用 iconv 指令的話,可以在這裡下載 Windows 版本的 iconv 套件。

http://www.zlatkovic.com/pub/libxml/iconv-1.9.1.win32.zip

由 Neo 發表於 October 31, 2004 05:06 PM | 引用 (0) |
——————————————————————————Thanks, Neo

Hello world!

Welcome to WordPress. This is your first post. Edit or delete it, then start blogging!