Installing on OSX

The following steps must be performed for installing SpectX Server on Mac OSX.

1
2
3
4
user@host:~$
user@host:~$ tar -zxf spectx-v{version}-osx64.tar.gz
user@host:~$ cd spectx
user@host:~/spectx$ bin/spectx.sh start
  1. Download SpectX for Mac OSX.
  2. Open the command-line and unpack the compressed file.
  3. Navigate to the unpacked directory spectx/.
  4. Start the SpectX server process by executing bin/spectx.sh start.

See also

other arguments of startup script

Upon its first run, SpectX will ask several questions to define user access and privileges, network and cache settings, and password for the default admin user. Press Enter to accept the default settings, or customise as desired.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
Service interface (wgui.host)                           [127.0.0.1]:
Service port (wgui.port)                                [8388]:
File access policy (engine.da.protocol.file)            [managed]:
Create local cache (sx.pu_data.cache.enabled)           [false]: true
Cache directory (sx.pu_data.cache.dir)                  [${SPECTX_HOME}/pudata/cache]:
Cache max size (sx.pu_data.cache.max_size), 0=unlimited [0GB]:
New password for user 'admin' (min length 8 symbols)    :
New password for user 'admin' again                     [*********]:

Configuration saved to /......./spectx/conf/sx.conf

The SpectX web interface is at http://127.0.0.1:8388/

These questions define:

  1. Defines the IP address or hostname of the SpectX server process:

    Default value=127.0.0.1

Note

SpectX may override this setting during the activation process. The Free license allows using SpectX Server Edition only at localhost (127.0.0.1).

  1. Defines the port that SpectX is listening on:

    Default value=8388

  2. Defines the access mode to local file system for all SpectX users. See Protecting Access to Local Data for details.

Default value=managed

Note

SpectX may override this setting during the activation process. The Free license does not allow access control.

  1. Defines whether or not SpectX creates a local data cache. SpectX can create a local data cache of its most frequently accessed data, this function improves subsequent query speeds and reduces network resource consumption.

    Enter true to give SpectX permission to create a cache. If a cache is created Spectx prompts to define the locations and data constraints of the cache. The location of the data cache can also be defined to secondary or external storage which further optimises passing times.

    Default value=false

  2. Defines password for user ‘admin’.

Note

SpectX may override this setting during the activation process. The Free license allows only unauthenticated single user mode, therefore the ‘admin’ user and specified password are ignored.

After the initial setup administrators can further customise SpectX to the security requirements of their organizations and users. For information on all additional settings see securing.

Once the initial setup is complete, then open a web browser and navigate to the URL displayed in the last line after the first run (default: http://127.0.0.1:8388/) and log in to SpectX WUI using the default user name admin and the password submitted during setup.

  1. Accept EULA:
../../../_images/accept-eula1.png
  1. Activate SpectX
../../../_images/SpectXDesktop-get-license1.png

Installation Directories

During the first run, SpectX creates its configuration file conf/sx.conf based on the content of configuration template file conf/sx.conf.default and the user input provided to configuration questions. It also creates environment variables definition file bin/spectx.env.sh based on template file bin/spectx.env.sh.default. Also, it creates directories data/ (resource tree) and pudata/ (query processing related data), logs/ (own logs) and a user database file sxwgui.db. The layout of the spectx/ directory becomes as follows:

./
└── spectx/
    ├── bin/
    │   ├── spectx.sh               : script for launching SpectX from commandline
    │   ├── spectx.env.sh           : copied from spectx.env.sh.default on first run
    │   └── spectx.env.sh.default   : default env variable definitions template
    ├── conf/
    │   ├── sx.conf                 : created from sx.conf.default on first run
    │   └── sx.conf.default         : default configuration template
    ├── data/                       : SpectX user data (resource tree)
    ├── jre/                        : Java runtime
    ├── lib/                        : SpectX binaries
    ├── logs/                       : SpectX logs
    ├── pudata/                     : cache, temporary files, etc
    └── sxwgui.db                   : database containing SpectX user role definitions

Note that the files conf/sx.conf and bin/spectx.env.sh will not be modified or deleted during the updates in the future.