Monday, May 5, 2008

Network Configuration - Open Garden

Network Configuration - Open Garden

Assigning a Static IP

This is a tutorial on how to assign a static IP for Deki Wiki VMware Certified Virtual Appliance or source running off of Debian.


1. Start up Deki Wiki

2. Once Deki Wiki boots you will see the boot screen in the VM player with the chance to Login. Click your mouse on the VM player screen and login using the credentials:

./login screen2.png

username: root
password: password

*When you type in password it will not show the characters as you type, so make sure you type it out correctly, this is a security measure.

3. Once you are logged in you want to type out the following command:

nano /etc/network/interfaces

./editing network interface.png
Example screen of how the code is typed in

4. After you type in the above command hit Enter and you will be presented with the following screen:

./before editing.png

5. Type out your network settings so that it matches the following format:

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet static
address 192.168.1.90
gateway 192.168.1.1
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255

*Note: address is the Static IP address that you want to assign the Deki Wiki

6. The following screen shows my network configuration as it needs to be edited for my Deki Wiki to have a static IP.

./network interface editor.png

Tips:

  • Make sure you ping the static IP before you assign it to Deki Wiki to ensure that it isn't being used by another device
  • On XP the way to find out your network settings is go to Start->Run->type cmd and hit enter ->type ipconfig /all

7. Once you have verified that your settings are accurate then exit out of the editor by hitting CTRL X on your keyboard

8. You will be prompted to save the file to do so type Y

./Exit to save.png

9. Hit Enter at the screen below and your changes will be applied to the file:

./Enter to Save.png

10.After you have saved restart your Deki Wiki by clicking the VMplayer button at the top of the screen ->Troubleshoot->Reset

11. On restart the screen should display the IP address that you set for your static IP, if it only shows http:// then go back through the tutorial as there was probably an error somewhere.

If you would like help configuring settings like this you can purchase a MindTouch Support Plan and we will help you configure your Deki WIki.

Configuring NAT

If you want to run Deki Wiki via NAT, you will need to make a quick change. When you connect to Deki Wiki, PHP inherits the hostname and uses it to contact the API. This works wonderfully when the hostname is resolvable by both the browser and the VM. However, that's generally not the case in NAT scenarios. To configure Deki Wiki to work in NAT do the following:

Open 'LocalSettings.php' usually found in '/var/www/deki-hayes' and add the following line:

Code:
$wgDreamServer = "http://localhost";
Alternatively, if you're using hostnames (e.g. 'http://mywiki') to reach your wiki site, you can also add this hostname to your VM so that it will resolve it correctly when it sees it, but you'll need to do so for each wiki hostname.
Tag
none
Viewing 9 of 9 comments: view all
I'm running the VM on a test Windows 2003 server so I can demo the software to my managment. I don't know much about windows or linux. I can follow these instructions perfectly except I don't know what windows IP addresses match up to the linux network and the broadcast sections of the interfaces file. When I do an IP config in windows I see the "IP address" which I guess is the same as the "Adress". I see the "Default Gateway" which I assume is the same as the "gateway". I see the "Subnet Mask" which I assume is the same as the "netmask".

Where I seem to go wrong is in the interfaces file there seems to be two IP's that I am unable to match up with anything in my windows ipconfig. The "network" and the "broadcast" IP's don't seem to have anything that is obvious to me to match up from my windows IP config setting.

Interface File Settings:

address 10.56.15.171
gateway 255.255.255.0
netmask 255.255.255.0
network ?
broadcast ?

Windows ipconfig /all settings:

Ethernet adapter Team #0 - Adapter Fault Tolerance Mode:

Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Intel(R) Advanced Network Servil Adapter
Physical Address. . . . . . . . . : 00-11-25-AB-ED-C2
DHCP Enabled. . . . . . . . . . . : No
IP Address. . . . . . . . . . . . : 10.56.15.171
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 10.56.15.1
DNS Servers . . . . . . . . . . . : 10.0.12.120, 10.6.32.111
Primary WINS Server . . . . . . . : 10.6.7.1
Secondary WINS Server . . . . . . : 10.0.0.25

Any help would be appreciated.

Luke Morrison
edited 8 months ago
Posted 13:53, 24 Aug 2007 (8 months ago)
Which directory contains the 'LocalSettings.php' file?
Posted 14:19, 24 Aug 2007 (8 months ago)
Luke: your gateway is wrong in your setup, it should be 10.56.15.1

The IP address isn't the one it gives you in the IPconfig as that is the IP address that is assigned to the computer you are on. I'd recommend checking with whoever manages the network where you are demoing to get the Static Range for their IPs.

Network and broadcast is the range that the IP falls in

ie.

Network: 10.56.15.0
Broadcast: 10.56.15.255
Posted 13:09, 29 Aug 2007 (8 months ago)
Luke: one more thing. I'd recommend using DHCP to get the IP address and then logining into root and type: ifconfig to find out the IP address of the Wiki, then you can access it. That will be easier as if you change networks then you'll have to manually edit the Static IP settings if you want to access the Wiki
Posted 14:20, 29 Aug 2007 (8 months ago)
Thanks for the NAT information it worked a treat!

This is important information because VmWare + Linux + Wireless NICs don't play nicely. I had to use VmWare NAT/port mapping (available through C:\Program Files\VMware\VMware Player\vmnetcfg.exe) and you info finished off my puzzle. edited 8 months ago
Posted 05:43, 31 Aug 2007 (8 months ago)
Extra note I had to use the wiki name (i.e. $wgDreamServer = "http://www.lmywiki"; or else RSS feed references would not work.
Posted 08:20, 4 Sep 2007 (8 months ago)
Other notes: moving a working VM to an ESX Server.

I found that I had to use eth1 (eth0 didn't work). I also had to add a "ServerName = mywiki.domain.com" line in /etc/apache2/apache2.conf (as apache wouldn't start)
Posted 23:58, 17 Oct 2007 (7 months ago)
I just configured a static ip on my deki vmware server.

I found out that you don't have to reboot your server to have the new settings take effect, you can simply do a
# /etc/init.d/networking force-reload

or a

# /etc/init.d/networking restart
# ifdown eth0
# ifup eth0
Posted 04:10, 20 Dec 2007 (5 months ago)
I was trying to configure a static IP and followed the directions above - now I get an error in VMWare after the starting VMA comment it says "Not starting internet superserver: no services enabled"

Help!
Posted 21:49, 25 Mar 2008 (1 month ago)

Database Mail in SQL Server 2005

Database Mail in SQL Server 2005

Database Mail in SQL Server 2005
By Muthusamy Anantha Kumar aka The MAK

The SQL Mail problems, that we faced in SQL Server 7.0 and 2000, are no more. SQL Server 2005 supports and uses SMTP email now and there is no longer a need to MAPI client to send email. In SQL Server 2005, the mail feature is called Database Mail. In this article, I am going to demonstrate step-by-step, with illustrations, how to configure Database Mail and send email from SQL Server.

Database Mail has four components.

1. Configuration Component

Configuration component has two sub components. One is the Database Mail account, which contains information such as the SMTP server login, Email account, Login and password for SMTP mail.

The Second sub component is Database Mail Profile. Mail profile can be Public, meaning members of DatabaseMailUserRole in MSDB database can send email. For private profile, a set of users should be defined.

2. Messaging Component

Messaging component is basically all of the objects related to sending email stored in the MSDB database.

3. Database Mail Executable

Database Mail uses the DatabaseMail90.exe executable to send email.

4. Logging and Auditing component

Database Mail stores the log information on MSDB database and it can be queried using sysmail_event_log.

Step 1

Before setting up the Database Mail profile and accounts, we have to enable the Database Mail feature on the server. This can be done in two ways. The first method is to use Transact SQL to enable Database Mail. The second method is to use a GUI.

In the SQL Server Management Studio, execute the following statement.

use master
go
sp_configure 'show advanced options',1
go
reconfigure with override
go
sp_configure 'Database Mail XPs',1
--go
--sp_configure 'SQL Mail XPs',0
go
reconfigure
go

Alternatively, you could use the SQL Server Surface area configuration. Refer Fig 1.0.


Fig 1.0

Step 2

The Configuration Component Database account can be enabled by using the sysmail_add_account procedure. In this article, we are going create the account, "MyMailAccount," using mail.optonline.net as the mail server and

makclaire@optimumonline.net as the e-mail account.

Please execute the statement below.

EXECUTE msdb.dbo.sysmail_add_account_sp
@account_name = 'MyMailAccount',
@description = 'Mail account for Database Mail',
@email_address = 'makclaire@optonline.net',
@display_name = 'MyAccount',
@username='makclaire@optonline.net',
@password='abc123',
@mailserver_name = 'mail.optonline.net'

Step 3

The second sub component of the configuration requires us to create a Mail profile.

In this article, we are going to create "MyMailProfile" using the sysmail_add_profile procedure to create a Database Mail profile.

Please execute the statement below.

EXECUTE msdb.dbo.sysmail_add_profile_sp
@profile_name = 'MyMailProfile',
@description = 'Profile used for database mail'

Step 4

Now execute the sysmail_add_profileaccount procedure, to add the Database Mail account we created in step 2, to the Database Mail profile you created in step 3.

Please execute the statement below.

EXECUTE msdb.dbo.sysmail_add_profileaccount_sp
@profile_name = 'MyMailProfile',
@account_name = 'MyMailAccount',
@sequence_number = 1

Step 5

Use the sysmail_add_principalprofile procedure to grant the Database Mail profile access to the msdb public database role and to make the profile the default Database Mail profile.

Please execute the statement below.

EXECUTE msdb.dbo.sysmail_add_principalprofile_sp
@profile_name = 'MyMailProfile',
@principal_name = 'public',
@is_default = 1 ;

Step 6

Now let us send a test email from SQL Server.

Please execute the statement below.

declare @body1 varchar(100)
set @body1 = 'Server :'+@@servername+ ' My First Database Email '
EXEC msdb.dbo.sp_send_dbmail @recipients='mak_999@yahoo.com',
@subject = 'My Mail Test',
@body = @body1,
@body_format = 'HTML' ;

You will get the message shown in Fig 1.1.


Fig 1.1

Moreover, in a few moments you will receive the email message shown in Fig 1.2.


Fig 1.2

You may get the error message below, if you haven't run the SQL statements from step 1.

Msg 15281, Level 16, State 1, Procedure sp_send_dbmail, Line 0
SQL Server blocked access to procedure 'dbo.sp_send_dbmail' of
component 'Database Mail XPs' because this component is turned off as part of
the security configuration for this server. A system administrator can enable
the use of 'Database Mail XPs' by using sp_configure. For more information
about enabling 'Database Mail XPs', see "Surface Area Configuration"
in SQL Server Books Online.

You may see this in the database mail log if port 25 is blocked. Refer Fig 1.3.


Fig 1.3

Please make sure port 25 is not blocked by a firewall or anti virus software etc. Refer Fig 1.4.


Fig 1.4

Step 7

You can check the configuration of the Database Mail profile and account using SQL Server Management Studio by right clicking Database Mail [Refer Fig 1.5] and clicking the Configuration. [Refer Fig 1.6]


Fig 1.5


Fig 1.6

Step 8

The log related to Database Mail can be viewed by executing the statement below. Refer Fig 1.7.

SELECT * FROM msdb.dbo.sysmail_event_log


Fig 1.7

Conclusion

This article has demonstrated step-by-step instructions, with illustrations, how to configure Database Mail and send email from SQL Server.

Create your own user-defined services Windows NT/2000/XP/2003 (Windows NT/2000/XP/2003) - TACKtech Corp.

Create your own user-defined services Windows NT/2000/XP/2003 (Windows NT/2000/XP/2003) - TACKtech Corp.

Create your own user-defined services Windows NT/2000/XP/2003 (TTID #197)

Author: Travis Views: 382,281 / Created: October 11, 2002

The Windows NT/2000 Resource Kit provides two utilities that allow you to create a Windows user-defined service for Windows applications and some 16-bit applications (but not for batch files).

Whats needed for Windows NT/2000:
Instrsrv.exe installs and removes system services from Windows NT/2000
Srvany.exe allows any Windows application to run as a service.
You can download both files here srvany.zip

This zip includes three files. The two you need srvany.exe and instsrv.exe to install the services and also srvany.wri which documents everything you can do with the program.
Note: Make sure the Services Manager is closed while running the DOS commands.



You will need to put these files in a directory called reskit At a MS-DOS command prompt(Start | Run | "cmd.exe"), type the following command:
\reskit\INSTSRV.EXE "Service Name" \reskit\SRVANY.EXE
This creates the service in the Services manager and the registry keys to setup what program to run.

http:www.tacktech.com/



Next open regedit.exe Start | run | regedit.exe
WARNING: Using Registry Editor incorrectly can cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk.

http:www.tacktech.com/



Next navigate to this registry key.
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\service name

http:www.tacktech.com/



From the Edit menu, click Add Key and name it Parameters
Next from the Edit menu, click Add Value and type this information.
Value Name: Application
Data Type : REG_SZ
String : \

http:www.tacktech.com/



Now you can start your service from the Service Manager

http:www.tacktech.com/



With this same program you can remove the service also. Just run this command from command prompt.
\reskit\INSTSRV.EXE "Service Name" REMOVE

http:www.tacktech.com/

VMware Player Service

VMware Player Service
The Stowers Institute For Medical Research

Running VMware Player as a Windows Service

February 10, 2006
by Dan Thomasset (dct@stowers-institute.org)

Overview

Ever wanted to run a VMware virtual machine as a background process on your Windows computer?

None of this is endorsed by VMware. This guide only documents my way of using VMware Player.

  1. Create a virtual machine
  2. Installing VMware Player
  3. Make VMware Player a service
  4. Running the virtual machine at startup

1.1 Create a virtual machine

Use a VMware product to create an virtual machine. I used Workstation version 5.5, because it creates Generation 5 virtual machines. If using another VMware product, check VMware's mobility guide to be sure that your product will create a virtual machine that is compatible with Player.

VMware Player will be used to run the virtual machines, because it can run Generation 5 virtual machines (and it's free!). I have also run VMware ACE as a service using the same methods as VMware Player. If you require any security for your virtual machines, ACE may be a good fit for your installation.

Generation 5 virtual machines can automatically scale the virtual machine's system RAM setting to fit available physical memory by adding a couple parameters to the .vmx file.

memsize = "2048"
MemAllowAutoScaleDown = "TRUE"

In this case, the VM will have 2GB of RAM, if available. On machines with less than 2GB of RAM, Player will automatically adjust to fit available RAM. The memsize of 2048 is not the limit. If your environment has machines with more than 2GB of memory, then increase the number to suit.

As far as I know, this is an undocumented feature. I found it in the .vmx file for the Browser Appliance Virtual Machine provided by VMware.

1.2 Install VMware Player

On a the machine where the service will run (henceforth called the "target machine"), install VMware Player . This example uses version 1.0.1. Player can not co-exist with other VMware products on the same machine, so the target machine must be a different from the machine where the virtual machine was created. (This isn't strictly true, because you could uninstall the creating VMware product and install Player, but then you wouldn't be able to edit the machine and create new versions.)

It is possible to install VMware Player from the command line without all of the icons and Google Desktop integration. This makes automated deployment easy. Here's the command:

VMware-player-1.0.1-19317.exe /s /v"/qn REBOOT=ReallySuppress ENABLE_GOOGLE_TOOLBAR=0 DISABLE_AUTORUN=0 STARTMENU_SHORTCUT=0 QUICKLAUNCH_SHORTCUT=0 DESKTOP_SHORTCUT=0

On first install, this installation command will have a return code 1303, indicating success with a reboot required to finish the install. Subsequent installs will have a return code of 0, indicating success. See Microsoft's documentation on Windows Installer Error Codes for details.

The installation command was derived using Orca to find the checkbox names in the Player installer package. Check out Customonizing MSI installs from the command line for details.

1.3 Make VMWare Player a service

  1. Obtain copies of instsrv.exe and srvany.exe from the appropriate Windows Resource Kit. For example, I used the Windows 2003 Resource Kit. Copy instsrv.exe and srvany.exe into %SYSTEMROOT% on the target machine.
  2. Copy the virtual machine files from the creating machine to a directory on the target machine. Not all files are needed; I only copied the files shown below.

  1. Add the fields to the .vmx file so that VMware Player suppresses all "Ok" message boxes and doesn't show a user interface.

server.vmx

...
hints.hideAll = "TRUE"
msg.noOk = "TRUE"
...

The hints.hideAll parameter was mentioned in the VMware - At Your Service! article in the June 2004 issue of Windows IT Pro. The msg.noOk parameter was found in DaveP's comment the VMware forums.

  1. Create the VirtualServer service on the target machine using instsrv.exe.

instsrv VirtualServer "%SYSTEMROOT%\System32\srvany.exe"

Add the registry keys for srvany.exe so that it runs the vmplayer.exe with your virtual machine. For a detailed explaination of creating user-defined services in Windows, see the knowledge base article How to Create a User-Defined Service.

VirtualServer.reg

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\VirtualServer\Parameters]
"Application"="\"C:\\\\Program Files\\\\VMware\\\\VMware Player\\\\vmplayer.exe\""
"AppParameters"="\"C:\\\\VirtualServer\\\\server.vmx\""
"AppDirectory"="\"C:\\\\VirtualServre\\\\\""

To use a different VMware product such as ACE, change the "Application" value for this key. To use a different virtual machine, change the "AppParameters" value.

  1. Create a startup batch file for the virtual machine called start-vm.bat. This script first checks to see if the virtual machine's files are installed and that the service isn't already running. It then kills any old VMware processes and removes various state files from the last run of the virtual machine. To finish, the VirtualServer service is started.

::
:: start-vm.bat
::


:: If the server isn't installed, then don't start it
if not exist C:\VirtualServer goto noServer

:: If the service is already running, then skip starting it
net start | grep -q -i "VirtualServer"
if %ERRORLEVEL% == 0 goto noServer

:: To make sure that lingering processes are dead, force kill the process
taskkill /F /IM vmplayer.exe
taskkill /F /IM vmware-vmx.exe

:: Remove *.lck, *.vmss from the grid directory
del "C:\VirtualServer\*.lck"
del "C:\VirtualServer\*.vmss"
del "C:\VirtualServer\*.vmem"

:: Start the server service
net start VirtualServer

:noServer

  1. Create a stop batch file for the virtual machine called stop-vm.bat. The stop script stops the VirtualServer service and kills any VMware processes related to running the virtual machine.

::
:: stop-vm.bat
::


:: If the server isn't installed, then don't start it

if not exist C:\VirtualServer goto noServer

:: Start the service
net stop VirtualServer

:: Force kill the processes
taskkill /F /IM vmplayer.exe
taskkill /F /IM vmware-vmx.exe

:noServer


Important: The virtual machine must be OK with a hard shutdown. Killing the virtual machine's processes is analagous to pulling the power cord on a physical computer. If virtual machine state doesn't matter, then you could use the nonpersistent disk feature. Since the disk image is not modified while running the virtual machine, a hard shutdown wouldn't have the chance of corrupting the virtual machine's disk.

To automate creating the VirtualServr service, add the following to your grid installation batch file.

copy /Y instsrv.exe "%SYSTEMROOT%\system32\"
copy /Y srvany.exe "%SYSTEMROOT%\system32\"

instsrv VirtualServer "%SYSTEMROOT%\System32\srvany.exe"
regedit /s VirtualServer.reg

1.4 Running the virtual machine at startup

  1. Place the startup script in %SYSTEMROOT%\System32\GroupPolicy\Machine\Scripts\Startup. For this example, start-vm.bat is used as the startup script.

  1. On the target machine, make start-vm.bat run at system startup by adding it to the Startup group policy. gpedit.msc is the group policy editor. Run the command gpedit.msc to open the group policy editor. . Microsoft's document How Core Group Policy Works has an extensive explanation of how machine startup and shutdown policies are applied.

  1. Within the "Scripts (Startup/Shutdown)" section of the group policy editor, open the Startup Properties window. Click "Add" and type the name of the virtual machine startup script.

  1. Do steps 1-3 for for the Shutdown group policy, but use stop-vm.bat as the script. Adding the Shutdown group policy may not be strictly necessary, but it could be important to run stop-vm.bat if it contained more commands than just killing the virtual machine.

Friday, May 2, 2008

PHP Extension Framework [Archive] - MindTouch OpenGarden.org Forums

PHP Extension Framework [Archive] - MindTouch OpenGarden.org Forums

WOS Portable - CH Software

WOS Portable - CH Software

WOS Forum / Please add Deki Wiki to the install packages

WOS Forum / Please add Deki Wiki to the install packages


I have Deki-Wiki running within WOS on Windows XP. I hope this can help to create a package (if possible and if you like to).

This is what I did to get it running:

* Installed a fresh copy of WOS with Apache, PHP5, MySQL and ImageMagick.

* Sort of followed installation http://wiki.opengarden.org/User:PeteE/W … on_(Hayes), below is what I did:


1) Edit MySQL my.ini to checked that NO_AUTO_CREATE_USER was not in the sql-mode setting:

# Set the SQL mode to strict
#sql-mode="STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"
sql-mode="STRICT_TRANS_TABLES,NO_ENGINE_SUBSTITUTION"

* It is not by default in WOS.


2) Edit PHP5\php.ini and set the following values: short_open_tag = On

* It is by default in WOS.


3) Enabled cURL by uncommenting extension=php_curl.dll in the php.ini file.


4) For cURL to be able to be enabled the dll's libeay32.dll and ssleay32.dll need to be copied to the C:\WINDOWS\system32\ folder.

(* Please see remarks/questions at the end)

*Update* A better solution for the cURL files has been found: Copy the dll's libeay32.dll and ssleay32.dll to the \wos\apache2\bin\ folder.


5) Downloaded Deki Wiki Hayes and extracted it. Copied the deki-hayes-files\web folder to WOS\www\web.


6) Copied file mono.posix.dll from deki-hayes-files\src\redist folder to WOS\www\web\bin.


7) Edited httpd.conf file to check that PHP5 is enabled:

LoadModule php5_module "D:/WOS/php5/php5apache2.dll"

* It is by default in WOS.

Added the follwong lines:


DocumentRoot "D:/WOS/www/web"
ServerName localhost

RewriteEngine On
RewriteCond %{REQUEST_URI} ^/$
RewriteRule ^/$ /index.php?title= [L,NE]

RewriteCond %{REQUEST_URI} !/(@api|editor|skins|config)/
RewriteCond %{REQUEST_URI} !/(redirect|texvc|index|Version).php
RewriteCond %{REQUEST_URI} !/error/(40(1|3|4)|500).html
RewriteCond %{REQUEST_URI} !/favicon.ico
RewriteCond %{REQUEST_URI} !/robots.txt
RewriteCond %{REQUEST_URI} !/dummy.php
RewriteCond %{REQUEST_URI} !/phpinfo.php
RewriteCond %{QUERY_STRING} ^$ [OR] %{REQUEST_URI} ^/Special:Search
RewriteRule ^/(.*)$ /index.php?title=$1 [L,QSA,NE]

ProxyPass /@api http://localhost:8081 retry=1
ProxyPassReverse /@api http://localhost:8081
SetEnv force-proxy-request-1.0 1
SetEnv proxy-nokeepalive 1

AllowEncodedSlashes On



8) Enable the following additional modules in httpd.conf:

LoadModule rewrite_module modules/mod_rewrite.so (* already loaded by default in WOS)
LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_http_module modules/mod_proxy_http.so


9) Started WOS


10) Opend http://localhost/web/config/index.php in my browser.


11) Filled in the form:

Left the Database Superuser password empty.

Added the path for ImageMagick convert and ImageMagick identify:
WOS\ImageMagick\convert.exe
WOS\ImageMagick\identify.exe


12) Clicked Install Deki Wiki!

* Installation went successful!



13) The following line is displayed "Please run the following commands manually from the command line to complete your installation:"

cd D:\WOS\www\web\config
mkdir C:\dekiwiki
copy mindtouch.deki.startup.xml C:\dekiwiki
copy LocalSettings.php D:\WOS\www\web\
copy AdminSettings.php D:\WOS\www\web\
copy mindtouch.host.bat D:\WOS\www\web\bin\
cd D:\WOS\www\web\bin
mindtouch.host.bat

* Handled it a bit different and did the following:

13a) cd D:\WOS\www\web\config

13b) mkdir D:\WOS\dekiwiki

13c) edit mindtouch.deki.startup.xml and changed
c:\dekiwiki\luceneindex
into
d:\WOS\dekiwiki\luceneindex

13d) edit mindtouch.host.bat and changed
C:\dekiwiki\mindtouch.deki.startup.xml
into
D:\WOS\dekiwiki\mindtouch.deki.startup.xml

13e) copy mindtouch.deki.startup.xml D:\WOS\dekiwiki

13f) copy LocalSettings.php D:\WOS\www\web\

13g) copy AdminSettings.php D:\WOS\www\web\

13h) cd D:\WOS\www\web\bin

13i) mindtouch.host.bat

* mindtouch.host.bat needs to keep running.


14) Opened http://localhost/

* DekiWiki (Hayes) is running.



Remarks/Questions:

* It seems that the WOS path is only in the files mindtouch.deki.startup.xml and mindtouch.host.bat and in mysql tables mysql\data\mysql\tables_priv.MYI and mysql\data\wikidb\config.MYD (both found doing a text search not a querie on the tables. Not sure what it is used for).


* It seems that the path for ImageMagick is only in mindtouch.deki.startup.xml.

* mindtouch.host.bat needs to keep running, how do you get the apache and MySQL cmd boxes to vanish after startup of WOS? I do not like it that a cmd box needs to keep on running in my taskbar. Is it possible to do the same with the mindtouch.host.bat cmd box?

* I was not able to get mindtouch.host.bat run from the option "Start this external app"? How can this be done?

* Is there a way to get the dll's libeay32.dll and ssleay32.dll loaded from the WOS\php5 folder so they do not have to be copied to the C:\WINDOWS\system32\ folder?

* I do not know what to do with the VirtualHost part to get Deki-Wiki to run next to other web sites/applications. What should I do to accomplisch this?