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…

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…

How to integrate Zabbix with Slack

Step 1: Create a Slack App: 1.Go to the Slack API website (api.slack.com) and sign in with your Slack workspace credentials. 2. Click on “Add…