Skip to content

Comment Installer Apache Solr sur Debian 12

Netcloud24
Cloud Infrastructure Expert
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.

 

 

Apache Solr est une plateforme de recherche open-source, hautement scalable, qui est utilisée pour indexer et rechercher des données. Dans ce tutoriel, nous allons vous montrer comment installer Apache Solr sur Debian 12.

Prérequis

  • Un serveur VPS pour exécuter Solr. Vous pouvez envisager d’utiliser un serveur vps.
  • Accès root ou des privilèges sudo.
  • Java installé sur votre serveur.

Étape 1 : Mettre à jour le système

Avant de commencer, il est important de mettre à jour votre système. Exécutez les commandes suivantes :

        sudo apt update
        sudo apt upgrade -y
    

Étape 2 : Installer Java

Apache Solr nécessite Java pour fonctionner. Vous pouvez installer OpenJDK avec la commande suivante :

        sudo apt install openjdk-11-jdk -y
    

Assurez-vous que Java est installé correctement en vérifiant la version :

        java -version
    

Étape 3 : Télécharger Apache Solr

Téléchargez la dernière version d’Apache Solr en accédant au site officiel ou en utilisant wget :

        wget https://archive.apache.org/dist/lucene/solr/9.1.1/solr-9.1.1.tgz
    

Étape 4 : Extraire le fichier téléchargé

Une fois le téléchargement terminé, décompressez le fichier :

Visual overview of Comment Installer Apache Solr sur Debian 12
Visual overview: Comment Installer Apache Solr sur Debian 12
        tar xzf solr-9.1.1.tgz
    

Étape 5 : Installer Solr

Utilisez le script d’installation fourni pour installer Solr :

        sudo bash solr-9.1.1/bin/solr-installdocs
    

Étape 6 : Démarrer Solr

Pour démarrer Solr, utilisez la commande suivante :

        sudo solr-9.1.1/bin/solr start
    

Vous pouvez accéder à Solr via votre navigateur à l’adresse http://localhost:8983/solr.

Conclusion

Félicitations, vous avez installé Apache Solr sur Debian 12 ! Pour des performances optimales, envisagez d’utiliser un serveur vps pour héberger votre Solr.

Windows VPS Deutschland

Windows VPS España

Windows VPS Nederland

Windows VPS Italia

Windows VPS Portugal

Key topics covered in Comment Installer Apache Solr sur Debian 12
Key topics covered in this NetCloud24 guide.

VPS Windows Italia

Windows VPS

Windows VPS

Windows VPS Sverige

Windows VPS Norge

Windows VPS

Windows VPS Türkiye

Windows RDS (Remote Desktop Services)

Practical checklist for Comment Installer Apache Solr sur Debian 12
Practical checklist for applying the guidance in this article.

Windows VPS

Comment Installer Apache Solr sur Debian 12
Comment Installer Apache Solr sur Debian 12
Explore more

More on this topic

Netcloud24
Netcloud24
Cloud Infrastructure Expert · NetCloud24

Comments are closed.