Configure rsyslog in Linux

1. Install rsyslog (if not already installed) 2. Edit rsyslog Configuration Uncomment or add the following line to enable UDP reception: 3. Open Firewall Port…

Forward Tomcat logs to remote syslog

3. Create Rulebase File For example: /etc/rsyslog.d/tomcat.rulebase For example: /etc/rsyslog.d/30-tomcat.conf Part Meaning sudo Run the command with superuser privileges semanage fcontext SELinux management command to…

Manage User Accounts and Privileges in Ubuntu

1. List all users in Ubuntu cut -d: -f1 /etc/passwd Explanation: cut : command-line utility that extracts sections from lines of a file or input…

Create script to stop and start Tomcat service

create a script that automatically stops and starts the Tomcat service on Linux

Configure Log rotation of Tomcat

Configuring log rotation in Tomcat by a script in logrotate/d.

Outlook – Unable to add mailbox

Resolve the error message while adding a Microsoft 365 mailbox to Outlook.

Visual Studio Code – install mysql connector

How to install mysql connector package for executing python script in Visual Studio Code

Setup parsedmarc in Ubuntu

Step 1: Install Maxmind Step 2: Prerequisite Step 3: Create system user Step 4: Install parsedmarc in a virtual directory Note: Ignore the installation error…