Skip to content

Comment installer OpenSearch sur Ubuntu 24.04

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.

 

 

OpenSearch est un moteur de recherche et d’analyse open-source largement utilisé pour l’analyse des logs, la surveillance des applications en temps réel et les applications de données basées sur la recherche. Suivez les étapes ci-dessous pour installer OpenSearch sur Ubuntu 24.04.

Étape 1 : Mettre à jour le système

Avant de commencer, assurez-vous que votre système est à jour en exécutant les commandes suivantes :

        sudo apt update
        sudo apt upgrade
    

Étape 2 : Installer Java

OpenSearch nécessite Java, vous devez donc installer OpenJDK. Exécutez la commande suivante pour installer OpenJDK 11 :

Visual overview of Comment installer OpenSearch sur Ubuntu 24.04
Visual overview: Comment installer OpenSearch sur Ubuntu 24.04
        sudo apt install openjdk-11-jdk
    

Étape 3 : Télécharger et installer OpenSearch

Ajoutez le dépôt OpenSearch et installez le package OpenSearch :

        wget https://artifacts.opensearch.org/downloads/opensearch/opensearch-2.10.0-linux-x64.tar.gz
        tar -zxvf opensearch-2.10.0-linux-x64.tar.gz
        sudo mv opensearch-2.10.0 /usr/local/opensearch
    

Étape 4 : Configurer OpenSearch

OpenSearch nécessite quelques configurations avant de pouvoir fonctionner. Allez dans le répertoire OpenSearch et modifiez le fichier de configuration :

        cd /usr/local/opensearch/config
        sudo nano opensearch.yml
    

Apportez les modifications nécessaires, telles que la configuration de network.host et discovery.seed_hosts.

Étape 5 : Démarrer OpenSearch

Une fois la configuration terminée, vous pouvez démarrer OpenSearch en exécutant la commande suivante :

Key topics covered in Comment installer OpenSearch sur Ubuntu 24.04
Key topics covered in this NetCloud24 guide.
        sudo /usr/local/opensearch/bin/opensearch
    

Étape 6 : Vérifier l’installation d’OpenSearch

Pour vérifier si OpenSearch fonctionne, allez à http://localhost:9200 dans votre navigateur. Vous devriez voir une réponse d’OpenSearch.

Recommandation VPS

Si vous recherchez un VPS fiable, visitez le lien suivant pour les services VPS Windows VPS: Services VPS Windows VPSde NetCloud24.

Comment installer OpenSearch sur Ubuntu 24.04
Comment installer OpenSearch sur Ubuntu 24.04
Explore more

More on this topic

Netcloud24
Netcloud24
Cloud Infrastructure Expert · NetCloud24

Comments are closed.