1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71
|
RFIOD installation on Windows/NT
1) Run 'nmake -f Makefile.ini.Win32' from the directory where you have
unpacked the SHIFT distribution file in order to compile the imake.exe
program.
2) Run 'nmake Makefiles'. This command will generate all Makefiles in the
subdirectories using the above-made imake.
3) Change your current directory to 'rfio' subdirectory. Run 'nmake'.
Compilation and linking will take about 5-10 minutes.
4) Run 'nmake install' command (it is optional).
As a result of this command, all rfio executables will be moved
to the c:\Shift\bin directory.
5) To compile the installation program, type:
cd ..\win32
cl install.c advapi32.lib
As a result, the install.exe program should appear.
6) Installing rfiod service:
install -i rfiod "RFIO Daemon" c:\Shift\bin\rfiod.exe
The syntax on the install command is the following:
install -i service_name service_label path
-i - installation,
service_name - name of the service used internally by the Service
Control Manager,
service_label - label used to display in the Services Applet of
the Control Panel (may contain multiple words, but you have to
put them in double quotes)
path - _full_ path to the service executable.
7) Removing service:
install -u service_name
-u - removal,
service_name - the same parameter which was used when installing service.
8) Configuration changes needed to run rfiod:
- add the following entry to your %SystemRoot%\system32\drivers\etc\Services
file:
rfio 5001/tcp # Remote File Access
- create a %SystemRoot%\system32\drivers\etc\shift.conf file - you
may set various parameters in it (see shift.inst file for details).
I recommend to set the following parameters in it:
RFIO DAEMONV3_RDSIZE 262144
RFIO DAEMONV3_WRSIZE 262144
9) Starting rfiod:
- go to the Control Panel
- open the Services applet
- find the RFIO Daemon entry among the services
- enter the startup parameters in the Startup Parameters window
- press the Start button
- after successful start, rfiod runs like the regular Windows NT service,
e.g, you may pause it, resume it, stop, start again...
- all the error messages and communicates are directed to the Application Log
(you can view them using the Event Viewer).
10) Miscellaneous.
To recompile rfiod, you don't need to remove the service from the system.
It is sufficient to stop it (using the Service applet from Control Panel), but
the new executable must be put in the same place the old one was.
|