Category: DevOps
Forward Tomcat logs to remote syslog
For example: /etc/rsyslog.d/tomcat.rulebaserule=:%level:word% %rest:rest% For example: /etc/rsyslog.d/30-tomcat.conf Part Meaning sudo Run the command with superuser privileges semanage fcontext SELinux management command to define file contexts…

Create script to stop and start Tomcat service
create a script that automatically stops and starts the Tomcat service on Linux

[Solved] – Elasticsearch error – Please set xpack.encryptedSavedObjects.encryptionKey in the kibana.yml
Generate encryptionKey for xpack reporting, security and encryptedSavedObjects using kibana-encryption-keys tool

[Solved] – Elasticsearch error- circuit_breaking_exception
Elasticsearch error circuit_breaking_exception can be solved by jvm.options found in /etc/elasticsearch path

Setup MongoDB Replica Set with 2 Nodes
Configure MongoDB replicaset with two nodes

Install MongoDB Community Edition
5 Steps to install MongoDB in Ubuntu