Skip to main content

Posts

Showing posts from January, 2014

Installation Tomcat 7 Solr 4 par JNDI sur CentOS 6

Contexte Pour des sites à nombre élevé de contenu, il peut être une solution de s'aider de Solr pour l'indexation du contenu et rapidifier les recherches. Pour cela il faut installer Tomcat et ajouter certains modules à l'installation de Drupal. Ceci agrémenté d'une configuration. Il existe une documentation d' installation de Solr mais basée sur Tomcat 6 . C'est un Wiki, donc en théorie je devrais pouvoir contribuer, mais avant, je publie la version française sur mon blog. Installer Tomcat 7 On choisi le répertoire “/opt/tomcat/” comme racine La version choisie est la dernière sortie à l'écriture de ce document. La distribution binaire proposée par le site de Tomcat convient très bien pour cet exercice. Les répertoires dont on va se servir sont /opt/tomcat/conf/Catalina/localhost/ /opt/tomcat/lib/ Installer Solr Solr est téléchargeable depuis son site Web . On a à disposition une archive “.tar.gz”. On n'aura pas besoin

Exim 4 Client Authentication on CentOS 6

I want my Exim 4 MTA to use another host as SmartHost. The remote SmartHost requires authentication, but on port 25. The procedure is to Disable direct delivery by looking up MX DNS record (dnslookup section) Enable SmartHosting (by telling it to use remote_msa transport) Ajusting remote SMTP settings (remote_msa section) Setup client authentication To achieve this, the configuration should be (yes, you comment the whole section): #dnslookup: # driver = dnslookup # domains = ! +local_domains # transport = remote_smtp # ignore_target_hosts = 0.0.0.0 : 127.0.0.0/8 # no_more Then smarthost: driver = manualroute domains = ! +local_domains transport = remote_msa route_data = the.name.of.remote.smtp no_more Then remote_msa: driver = smtp port = 25 hosts_require_auth = * Finally client_auth: driver = plaintext public_name = LOGIN client_send = : test : P@ssw0rd Note that the default Exim c