Installing MarkLogic
This section describes the procedure for installing MarkLogic Server on each platform. Perform the procedure corresponding to the platform to which you are installing.
Platform |
Steps |
---|---|
Windows x64 |
NoteIf you plan to use the converters package, also perform the following steps:
|
Red Hat Linux x64 |
NoteIf you are installing MarkLogic 9.0-4 or later, and you plan to use the converters package, also perform the following steps:
|
CentOS Linux |
NoteIf you are installing MarkLogic 9.0-4 or later, and you plan to use the converters package, also perform the following steps:
NoteFor CentOS 8, MarkLogic has a dependency on |
Amazon Linux 2 |
NoteIf you are installing MarkLogic 9.0-4 or later, and you plan to use the converters package, also perform the following steps:
|
Mac OS X |
|
If you are upgrading a cluster to a new release, see Upgrading a Cluster to a New Maintenance Release of MarkLogic Server in the Scalability, Availability and Failover Guide The Security database and the Schemas database must be on the same host, and that host should be the first host you upgrade when upgrading a cluster.
Note
It is not recommended to install the converters while MarkLogic Server is running. The reason for this is that the server checks the converters presence and version number only upon start-up. So, the server will not have accurate information about the converters in this case. The recommended installation procedure is to stop the server if it is running, install or upgrade the server, install the converters, then start the server.
The following table shows the installation directory (<marklogic-dir>
) and the default data directory for each platform:
Platform |
Installation Directory |
Default Data Directory for configuration and log files |
---|---|---|
Windows |
c:\Program Files\MarkLogic\ |
c:\Program Files\MarkLogic\Data |
Red Hat Linux |
/opt/MarkLogic |
/var/opt/MarkLogic |
Mac OS X |
~/Library/MarkLogic |
~/Library/Application Support/MarkLogic/Data |
The default forest directory is the same as the default data directory if the optional data directory is not specified during forest creation. On UNIX platforms, if you want MarkLogic Server to use another location for its default data directory, make your data directory (/var/opt/MarkLogic
on Linux) a soft link to the alternate location.
In MarkLogic release 9.0-4 and later, MarkLogic Converters installation directory remains the same as in previous releases, namely:
Platform |
Converters Installation Directory |
---|---|
Windows |
c:\Program Files\MarkLogic\Converters |
Red Hat Linux |
/opt/MarkLogic/Converters |
Mac OS X |
~/Library/MarkLogic/Converters |
Note
When a new node joins an existing cluster, the server does not try to figure out automatically whether the MarkLogic Converters package is needed or not. An XDMP-CVTNOTFOUND
error will be thrown if converters/filters built-in functions are called on nodes that do not have MarkLogic Converters installed.