Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
install:guides:linux [2014/11/15 23:41]
doc
install:guides:linux [2021/08/26 21:36] (current)
doc
Line 9: Line 9:
 ==== Linux Installation Guide ==== ==== Linux Installation Guide ====
  
-This guide describes how to install and license the Omnidex software on a Linux operating system.+This guide describes how to install and license the Omnidex software on a Linux operating system.  The Omnidex installation performs the following tasks: 
 + 
 +  - Copy the Omnidex files into /​opt/​omnidex directory. 
 +  - Create symbolic links in /usr/bin for odxsql, odxnet, omnidex, and odxversions. 
 +  - Create omnidex.conf file in /​etc/​ld.so.conf.d directory. ​ The file omnidex.conf contains the path to the Omnidex libraries (/​opt/​omnidex/​lib).
  
 There are two methods of installing Omnidex. ​ Many system administrators like to use the '​yum'​ facility to automatically install Omnidex. ​ Others will prefer to manually download and install the RPM files. ​ Both approaches are supported. There are two methods of installing Omnidex. ​ Many system administrators like to use the '​yum'​ facility to automatically install Omnidex. ​ Others will prefer to manually download and install the RPM files. ​ Both approaches are supported.
  
-=== Installing Omnidex automatically using YUM ===+=== Automatic installation ​===
  
-== 1. Make sure that the Omnidex repository is declared ​on your server ​== +== 1. Log on as root ==
  
-== 2Install ​Omnidex ​==+Omnidex should be installed using the '​root'​ system user ​Alternatively, ​Omnidex ​can be installed with the sudo command.
  
-=== Installing ​Omnidex ​manually using YUM ===+== 2. Make sure that the Omnidex ​repository is installed on your server ​== 
  
-== 1Remove any previous non-RPM installations of Omnidex ​==+The Omnidex repository must be copied to your system The following Linux command will copy the Omnidex ​repository file.
  
-If a previous version of Omnidex has been installed without using RPM, please remove this version of the software before proceeding +For Red Hat or CentOS 6.x versions:
  
-Note that if you have installed Omnidex on databases, it is not necessary to remove the Omnidex indexes on those databases before installing a new version of Omnidex The existing indexes may be able to be reused.+  # wget http://www.omnidex.com/​downloads/​omnidex/​Linux/​el6/​omnidex.repo -P /​etc/​yum.repos.d
  
-== 2. Downloading the software == 
  
-[[install:​downloads:​home|Download]] the software from the Downloads tab in this documentation Be sure to choose correctly between the 32-bit and 64-bit ​versions ​of the software.+For Red Hat or CentOS 5.versions:
  
-Omnidex is available as an RPM file or as a TAR file.  ​Both installations contain ​the same Omnidex ​software.+  # wget http://​www.omnidex.com/​downloads/​omnidex/​Linux/​el5/​omnidex.repo -P /​etc/​yum.repos.d 
 + 
 + 
 +For SuSE versions: 
 + 
 +  # wget http://​www.omnidex.com/​downloads/​omnidex/​Linux/​el6/​omnidex.repo -P /​etc/​zypp/​repos.d 
 +   
 + 
 +== 3. Choose whether to use the latest stable version or the current development version ==  
 + 
 +By default, yum will install the latest stable version of Omnidex, suitable for production applications. ​ If you would like to access the most recent development version or a previous version of Omnidex, you must edit the Omnidex repository.  
 + 
 +The repository contains three sections:  
 + 
 +  * [omnidex] - The most recent stable version of Omnidex, suitable for production applications. 
 +  * [omnidex-devel] - The most recent development version of Omnidex containing the latest features and bug fixes. 
 +  * [omnidex-arch] - An archive of previous versions of Omnidex. 
 + 
 +Choose which section you want to activate by setting "​enabled = 1" for that section and "​enabled = 0" for all other sections. 
 + 
 +== 3. Install Omnidex == 
 + 
 +For Red Hat or CentOS versions: 
 + 
 +Once the Omnidex ​repository ​is copied, Omnidex can be automatically installed using the command: 
 + 
 +  # yum install omnidex 
 +   
 +You can update ​an existing version of Omnidex using the command: 
 + 
 +  # yum update omnidex 
 + 
 +You can remove an existing version of Omnidex using the command: 
 + 
 +  # yum remove omnidex 
 + 
 +If your repository is set to [omnidex-arch] ​as described above, you can view all available versions and install ​particular version using the commands: 
 + 
 +  # yum list --showduplicates omnidex 
 +  # yum install omnidex-<​version> ​ (egyum install omnidex-5.3-08D.el6.linux) 
 + 
 +Note: To install an earlier version of Omnidex than the version currently installed, first remove Omnidex and then clear the yum cache. 
 + 
 +  # yum remove omnidex 
 +  # yum clean metadata 
 + 
 +For SuSE versions: 
 + 
 +Once the Omnidex ​repository is copied, Omnidex can be automatically installed using the command: 
 + 
 +  # zypper install omnidex 
 +   
 +You can update an existing version of Omnidex using the command: 
 + 
 +  # zypper update omnidex 
 + 
 +You can remove an existing version of Omnidex using the command: 
 + 
 +  # zypper remove omnidex 
 + 
 +If your repository is set to [omnidex-arch] as described above, you can view all available versions and install a particular version using the commands: 
 + 
 +  # zypper packages omnidex 
 +  # zypper install omnidex-<​version> ​ (egzypper install omnidex-5.3-08D.el6.linux) 
 + 
 +Note: To install an earlier version of Omnidex than the version currently installed, first remove Omnidex and then clear the yum cache. 
 + 
 +  # zypper ​ remove omnidex 
 +  # zypper ​ clean  
 + 
 +=== Manual installation ===
  
-== 3. Log on as root ==+== 1. Log on as root ==
  
 Omnidex should be installed using the '​root'​ system user.  Alternatively,​ Omnidex can be installed with the sudo command. Omnidex should be installed using the '​root'​ system user.  Alternatively,​ Omnidex can be installed with the sudo command.
 +
 +== 2. Remove any previous non-RPM installations of Omnidex ==
 +
 +If a previous version of Omnidex has been installed without using RPM, please remove this version of the software before proceeding.  ​
 +
 +Note that if you have installed Omnidex on databases, it is not necessary to remove the Omnidex indexes on those databases before installing a new version of Omnidex. ​ The existing indexes may be able to be reused.
 +
 +== 3. Download the software ==
 +
 +[[install:​downloads:​home|Download]] the software from the Downloads tab in this documentation. ​ Be sure to choose correctly the version of Omnidex that matches your version of Linux.
 +
 +Omnidex is available as an RPM file or as a TAR file.  Both installations contain the same Omnidex software.
  
 == 4. Install the Omnidex RPM file == == 4. Install the Omnidex RPM file ==
Line 45: Line 130:
   Preparing packages for installation...   Preparing packages for installation...
   omnidex-5.3-07H.el6.linux   omnidex-5.3-07H.el6.linux
-  #  
 </​code>​ </​code>​
  
-The Omnidex installation performs the following tasks: 
- 
-  - Copy the Omnidex files into /​opt/​omnidex directory. 
-  - Create symbolic links in /usr/bin for odxsql, odxnet, omnidex, and odxversions. 
-  - Create omnidex.conf file in /​etc/​ld.so.conf.d directory. ​ The file omnidex.conf contains the path to the Omnidex libraries (/​opt/​omnidex/​lib). 
- 
-=== Manual installation of Omnidex === 
  
 === Prepare Omnidex for use with Java (optional) === === Prepare Omnidex for use with Java (optional) ===
Line 61: Line 138:
  
 <​code>​ <​code>​
-  export LD_LIBRARY_PATH="​opt/​omnidex/​lib:​$LD_LIBRARY_PATH"​ 
   export CLASSPATH="/​opt/​omnidex/​lib/​Omnidex.jar:​$CLASSPATH"​   export CLASSPATH="/​opt/​omnidex/​lib/​Omnidex.jar:​$CLASSPATH"​
 +  export LD_LIBRARY_PATH="​opt/​omnidex/​lib:​$LD_LIBRARY_PATH"​
 +  export LD_PRELOAD="<​see below>"​
 </​code>​ </​code>​
  
 To use OdxSQL as a Java client for testing purposes, you also must add the directory containing libjvm.so to LD_LIBRARY_PATH. To use OdxSQL as a Java client for testing purposes, you also must add the directory containing libjvm.so to LD_LIBRARY_PATH.
 +
 +Additionally,​ it is recommended to set LD_PRELOAD to Java's libjsig.so library due to known compatibility issues with Java's signal handling with other applications,​ including Omnidex. This is necessary to avoid unexplained aborts of the JVM when connecting to Omnidex processes, such as when setting up application pooling using DBCP. Instructions for setting this variable can be found at the following link:
 +
 +https://​docs.oracle.com/​javase/​8/​docs/​technotes/​guides/​vm/​signal-chaining.html
 +
  
 === Install Omnidex to run as a service (optional) === === Install Omnidex to run as a service (optional) ===
Line 74: Line 157:
  
 <​code>​ <​code>​
-  ​service ​omnidexd ​start        ​(start omnidex as a service) +  ​systemctl start omnidexd ​        ​(start omnidex as a service) 
-  ​service ​omnidexd ​stop         (stop omnidex as a service) +  ​systemctl stop omnidexd ​         (stop omnidex as a service) 
-  ​service ​omnidexd ​restart ​     ​(restart omnidex as a service) +  ​systemctl restart ​omnidexd ​      ​(restart omnidex as a service) 
-  ​service ​omnidexd ​status ​      (check if omnidex is running as a service)+  ​systemctl status ​omnidexd ​       (check if omnidex is running as a service)
 </​code>​ </​code>​
  
 
Back to top
install/guides/linux.1416094905.txt.gz · Last modified: 2016/06/28 22:38 (external edit)