Restriction: This is only applicable to Windows platforms.
This example demonstrates several of the features described in this chapter. We'll start a Fileshare server, just as we did in the chapter
Using Enterprise Server with Fileshare, but this time we'll use a configuration file, install Fileshare as a Windows service, and enable synchronous communications and tracing.
First make sure you do not have a Fileshare server currently running.
- Create file
fs.cfg, containing:
/s server1
/wd c:\fsdir
/pf pass.dat
/sc
/tr f
- Save this file
to
c:\windows\system32 and specify its location using the FS environment variable..
Note: If the FS variable is not set, a default path of the current working directory or directory specified by the COBDIR environment variable is used.
- If you have not already done so (you may have already done this in the
Walkthrough - Securing a Fileshare Server in theFSView section), create file
pass.dat in your
c:\fsdir directory by entering:
fs /pf pass.dat /u FSVIEW /pw Meryton
The existence of this password file enables you to use FSView.
- To install the Fileshare service. at a command prompt, enter:
fsservice -i
- Click
Start > Control Panel > Administrative Tools > Services
- Select
Micro Focus Fileshare Service and click
Start.
You can also if you wish double-click
Micro Focus Fileshare Service and change its Startup Type to
Automatic, so that it will start whenever you start Windows.