Skip to content

Linux VPS & VPS Windows Setup Guide | NetCloud24 OpenSearch on Rocky Linux 9

Netcloud24
Cloud Infrastructure Expert
HOSTING H1

Free web hosting H1

5 GB of storage and SSL for a small website or WordPress project.

Explore hosting H1
WINDOWS VPS + RDS

Run Windows applications remotely

Windows Server 2022 or 2025 and RDS CALs included in the plan. Choose resources and user capacity for your business.

Explore Windows VPS
NetCloud24 Expert Guides Open the dedicated video page

Video transcript: NetCloud24 Expert Guides. Practical knowledge for a reliable cloud. Cloud and VPS expertise, security, performance, and step-by-step tutorials. Learn, deploy, and keep building with NetCloud24.

 

 

Introduction

OpenSearch is a community-driven search and analytics suite that is derived from Elasticsearch and Kibana. It provides a powerful platform for real-time data analysis and full-text search capabilities. This guide will walk you through the installation of OpenSearch on Rocky Linux 9, which can be effectively utilized on a for robust performance and reliability.

Prerequisites

  • A Rocky Linux 9 server with root access
  • Basic knowledge of Linux commands
  • Java Development Kit (JDK) installed (OpenJDK recommended)

Step 1: Update Your System

Before installation, ensure your system is up to date:

sudo dnf update -y

Step 2: Install OpenJDK

If you do not have Java installed, you can install OpenJDK with the following command:

sudo dnf install java-11-openjdk-devel -y

Verify the installation:

Visual overview of Linux VPS & VPS Windows Setup Guide | NetCloud24 OpenSearch on Rocky Linux 9
Visual overview: Linux VPS & VPS Windows Setup Guide | NetCloud24 OpenSearch on Rocky Linux 9
java -version

Step 3: Download OpenSearch

Download the latest version of OpenSearch. You can find the latest version on the official OpenSearch downloads page. Use the following commands to download and extract OpenSearch:

wget https://artifacts.opensearch.org/releases/bundle/opensearch/2.3.0/opensearch-2.3.0-linux-x64.tar.gz
tar -xzf opensearch-2.3.0-linux-x64.tar.gz

Step 4: Configure OpenSearch

Navigate to the OpenSearch directory and edit the configuration file:

cd opensearch-2.3.0/config
nano opensearch.yml

In this file, you can configure various settings such as cluster name, node name, and network settings. For example:

cluster.name: my-cluster
node.name: my-node
network.host: 0.0.0.0

Step 5: Start OpenSearch

To start OpenSearch, navigate back to the OpenSearch directory and run the following command:

./opensearch-tar-install.sh

This script will start OpenSearch, and you can monitor the logs in the logs directory.

Key topics covered in Linux VPS & VPS Windows Setup Guide | NetCloud24 OpenSearch on Rocky Linux 9
Key topics covered in this NetCloud24 guide.

Step 6: Configure Firewall

If you have a firewall enabled, make sure to allow traffic on the OpenSearch port (default is 9200):

sudo firewall-cmd --add-port=9200/tcp --permanent
sudo firewall-cmd --reload

Step 7: Access OpenSearch

Open your web browser and navigate to http://your_server_ip:9200. You should see a response from OpenSearch indicating that it is running:

{
  "name" : "my-node",
  "cluster_name" : "my-cluster",
  "cluster_uuid" : "xxxxxx",
  "version" : {
    "number" : "2.3.0",
    "build_flavor" : "default",
    "build_type" : "tar",
    "build_hash" : "xxxxxx",
    "build_date" : "2023-06-01T00:00:00Z",
    "build_snapshot" : false,
    "lucene_version" : "9.4.1"
  }
}

Step 8: Conclusion

You have successfully installed OpenSearch on Rocky Linux 9, providing a powerful platform for search and analytics. This setup is especially effective when deployed on a . For further options, explore various solutions, including Windows VPSVirtual Private Server Hosting and Windows VPS Hosting UK for optimal performance.

© 2024 OpenSearch Installation Tutorial. All rights reserved.

Linux VPS & VPS Windows Setup Guide | NetCloud24 OpenSearch on Rocky Linux 9
Linux VPS & VPS Windows Setup Guide | NetCloud24 OpenSearch on Rocky Linux 9
Explore more

More on this topic

Netcloud24
Netcloud24
Cloud Infrastructure Expert · NetCloud24

Comments are closed.

Linux VPS & VPS Windows Setup Guide | NetCloud24 OpenSearch on Rocky Linux 9

Netcloud24
Cloud Infrastructure Expert
HOSTING H1

Free web hosting H1

5 GB of storage and SSL for a small website or WordPress project.

Explore hosting H1
WINDOWS VPS + RDS

Run Windows applications remotely

Windows Server 2022 or 2025 and RDS CALs included in the plan. Choose resources and user capacity for your business.

Explore Windows VPS
NetCloud24 Expert Guides Open the dedicated video page

Video transcript: NetCloud24 Expert Guides. Practical knowledge for a reliable cloud. Cloud and VPS expertise, security, performance, and step-by-step tutorials. Learn, deploy, and keep building with NetCloud24.

 

 

Introduction

OpenSearch is a community-driven search and analytics suite that is derived from Elasticsearch and Kibana. It provides a powerful platform for real-time data analysis and full-text search capabilities. This guide will walk you through the installation of OpenSearch on Rocky Linux 9, which can be effectively utilized on a for robust performance and reliability.

Prerequisites

  • A Rocky Linux 9 server with root access
  • Basic knowledge of Linux commands
  • Java Development Kit (JDK) installed (OpenJDK recommended)

Step 1: Update Your System

Before installation, ensure your system is up to date:

sudo dnf update -y

Step 2: Install OpenJDK

If you do not have Java installed, you can install OpenJDK with the following command:

sudo dnf install java-11-openjdk-devel -y

Verify the installation:

Visual overview of Linux VPS & VPS Windows Setup Guide | NetCloud24 OpenSearch on Rocky Linux 9
Visual overview: Linux VPS & VPS Windows Setup Guide | NetCloud24 OpenSearch on Rocky Linux 9
java -version

Step 3: Download OpenSearch

Download the latest version of OpenSearch. You can find the latest version on the official OpenSearch downloads page. Use the following commands to download and extract OpenSearch:

wget https://artifacts.opensearch.org/releases/bundle/opensearch/2.3.0/opensearch-2.3.0-linux-x64.tar.gz
tar -xzf opensearch-2.3.0-linux-x64.tar.gz

Step 4: Configure OpenSearch

Navigate to the OpenSearch directory and edit the configuration file:

cd opensearch-2.3.0/config
nano opensearch.yml

In this file, you can configure various settings such as cluster name, node name, and network settings. For example:

cluster.name: my-cluster
node.name: my-node
network.host: 0.0.0.0

Step 5: Start OpenSearch

To start OpenSearch, navigate back to the OpenSearch directory and run the following command:

./opensearch-tar-install.sh

This script will start OpenSearch, and you can monitor the logs in the logs directory.

Key topics covered in Linux VPS & VPS Windows Setup Guide | NetCloud24 OpenSearch on Rocky Linux 9
Key topics covered in this NetCloud24 guide.

Step 6: Configure Firewall

If you have a firewall enabled, make sure to allow traffic on the OpenSearch port (default is 9200):

sudo firewall-cmd --add-port=9200/tcp --permanent
sudo firewall-cmd --reload

Step 7: Access OpenSearch

Open your web browser and navigate to http://your_server_ip:9200. You should see a response from OpenSearch indicating that it is running:

{
  "name" : "my-node",
  "cluster_name" : "my-cluster",
  "cluster_uuid" : "xxxxxx",
  "version" : {
    "number" : "2.3.0",
    "build_flavor" : "default",
    "build_type" : "tar",
    "build_hash" : "xxxxxx",
    "build_date" : "2023-06-01T00:00:00Z",
    "build_snapshot" : false,
    "lucene_version" : "9.4.1"
  }
}

Step 8: Conclusion

You have successfully installed OpenSearch on Rocky Linux 9, providing a powerful platform for search and analytics. This setup is especially effective when deployed on a . For further options, explore various solutions, including Windows VPSVirtual Private Server Hosting and Windows VPS Hosting UK for optimal performance.

© 2024 OpenSearch Installation Tutorial. All rights reserved.

Linux VPS & VPS Windows Setup Guide | NetCloud24 OpenSearch on Rocky Linux 9
Linux VPS & VPS Windows Setup Guide | NetCloud24 OpenSearch on Rocky Linux 9
Explore more

More on this topic

Netcloud24
Netcloud24
Cloud Infrastructure Expert · NetCloud24

Comments are closed.