このページは2007年 8月 31日, 22:47に更新されました by SteveB

1.8 Hayes 公式インストール、アップデート・ガイドrvice

From $1

To run dekihost as a windows service which starts at boot, do the following:

Install SrvAny

SrvAny is a windows tool to run any executable as a windows service.  You can find the tool attached to this page or as part of the windows reskit from Microsoft.

Extract the .zip to:

c:\reskit

Create the service

Launch cmd.exe (Start->Run->cmd) and do the following to install the service

cd c:\reskit
instsrv dekihost c:\reskit\srvany.exe

Create the Registry Settings

Launch regedit: Start->Run->regedit 

Navigate to:

 HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\dekihost
  • Create a new key named "Parameters"
  • inside this key we must create 3 strings entries
    • "Application" with value = "c:\<deki_install_dir>bin\mindtouch.host.bat"
    • "AppParameters" with empty value
    • "AppDirectory" with value = "c:\<deki_install_dir>\bin"

Configure the service

Launch the Services control panel (Start->Administrative Tools->Services) and double-click on the "dekihost" service.

Click the Log On tab and define a user to run the services as.  Note, I was unable to start the service using the Local System Account so I defined a user account.  If someone knows how to properly setup permissions to LSA can run the service, please edit this section.

Click the Start button to start the service. 

Verification

If everything was successful, you should be able to contact the dekihost by visiting the following URL in your browser:

http://localhost:8081/deki/@about 

Notes

To delete the dekihost service, run the following

cd c:\reskit
instsrv dekihost REMOVE 
ファイルサイズ日付添付したユーザ 
 instsrvany.zip
説明なし
21.2 kB2007年 8月 31日, 18:05peteeアクション
コメント(4)
全4件のうち4件のコメントを表示: 全て見る
Unfortunately, mindtouch.host.bat doesn't exist in the bin directory of the hayes 1.8.1d install, is there something wrong with the download or is it just missing? I can't get the install.php to get passed this line either:

Have XML / Latin1-UTF-8 conversion support. PHP's mbstring module is missing. Please see the PHP mbstring manual for information on how to install and configure mbstring

I've uncommented the mbstring extension and also copied the php_mbstring.dll to the apache directory. Any clues would be helpful given that I can't get a login to the forums to get help.....
投稿日:2007年 9月 10日, 15:54 ()
See solution at: http://forums.opengarden.org/showthread.php?p=3343
投稿日:2007年 9月 10日, 16:42 ()
hey seiferb - the mindtouch.host.bat actually gets created by the installer. Once you've successfully setup mbstring within PHP and run the installer, the file will be there.

thanks,
pete
投稿日:2007年 9月 10日, 16:52 ()
After following these instructions (and other postings in the forums) to get my native install of Deki-Wiki on a WinXP system running as a service, it still starts up in a DOS box on the screen. You can minimize the DOS box, but if you close it, Deki-Wiki shuts down. To get rid of the DOS box entirely (run it invisibly in a separate instance) open up note pad, enter the following single line of text, and save it to your c:\<server>\web\bin folder as, for example, "invisible.vbs".

CreateObject("Wscript.Shell").Run """" & WScript.Arguments(0) & """", 0, False

To evoke the script to start the Deki-Wiki service, do Start | Run | Regedit.
Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\dekihost\Parameters
Modify the Application key value to read as follows:

wscript.exe "C:\<server>\web\bin\invisible.vbs" "C:\<server>\web\bin\mindtouch.host.bat"

Of course, with this method if anything goes wrong you will see nothing on your screen, and the only way to shut the DOS box down if it does throw an error is to go to Start | Run | services.msc and manually shut down your Deki-Wiki host service. But this is such a short script file that there's not much likely to go wrong once you have it working correctly. 2007年 10月 25日, 04:51に編集
投稿日:2007年 10月 25日, 04:18 ()
全4件のうち4件のコメントを表示: 全て見る
あなたはコメントを投稿するには ログイン しなければなりません。