Author: Rahul

I, Rahul Kumar am the founder and chief editor of TecAdmin.net. I am a Red Hat Certified Engineer (RHCE) and working as an IT professional since 2009..

We are assuming that you already have installed working Tomcat server in your system. If not you can visit to earlier article Install Tomcat 7 on CentOS, RHEL or Ubuntu, Debian Systems. This article can be used for Linux as well as Windows hosts both, the only thing we need to change directory path of keystore. Step 1 – Create a Keystore A Java KeyStore (JKS) is a repository of security certificates. keytool is the command line utility for creating and managing keystore. This command is available with JDK and JRE both. We just need to make sure that JDK…

Read More

Red Hat Enterprise Linux 7 has been released successfully on June 10, 2014. RHEL 7 is providing better performance and scalability. At system administrators it provides unified management tools and system-wide resource management that reduce he administrative burden. Release Notes: https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/7.0_Release_Notes/index.html Whats New in Red Hat Enterprise Linux 7: RedHat Enterprise Linux 7 has been released with lots of major changes and migration considerations. Currently its Release Candidate version is released and we will look final release very soon. Here is some description of major changes coming in RHEL 7 than RHEL 6. This list doesn’t contain all the changes…

Read More

This article describes how to back up metadata for an individual Virtual Machines on Citrix Xen Servers. In this article, you will get step by step instructions for backing up metadata. Also at end of this article, there is a small shell script which can be used for backup metadata for all VMs running on the Xen server. 1. Backup VMs Metadata in Citrix Xenserver 1.1. Find VMs UUID Use the following command to get list of UUIDs of all vms along with other details. this UUID will be used in next steps. xe vm-list is-control-domain=false is-a-snapshot=false uuid ( RO)…

Read More

Git has released 1.9.5 version on Dec 18, 2014. Git is a free and open source distributed version control system. It is designed to handle a small to very large projects with speed and efficiency. To know more about Git 1.9.5 read Git release notes. This article will guide you to install Git 1.9.5 on CentOS/RHEL 7/6, Fedora 27,26 Systems using the source code. To learn about Git, access Git console on your browser and know about its uses. Use this tutorial for installing latest Git on your Redhat based systems. Step 1 – Install Required Packages Before compiling Git…

Read More

DKIM (DomainKeys Identified Mail) is a method of signing electronic emails using public-private key. DKIM is used by receiving mail server for identifying email, that they are sent by authorized mail servers. It also minimizes the possibility of getting emails SPAM. This tutorial will provide you a quick and easy way to set up DomainKeys with your POSTFIX running on CentOS and RHEL systems. How DKIM Works ? When we configured DKIM on sending servers. First, we generated a public/private key pair for signing outgoing messages. The public key is configured as TXT record on a domains name server, and…

Read More

Malware is known as malicious software. It can be any script, app or anything which is harmful for our system and data in any kinds. Linux Malware detect (LMD) is a malware scanner for linux released under the gnu GPLv2 license, that is intended around the threats faced in hosted environments. It uses threat data from network edge intrusion detection systems to extract malware that’s actively getting used in attacks and generates signatures for detection. The threat landscape in shared hosted environments is unique from that of the standard AV products detection suite in that they are detecting primarily OS…

Read More

This article will help you to connect Node.js application with MongoDB. Also, configure MongoDB drive for nodejs using Mongoose node application on CentOS and Redhat systems. Step 1 – Prerequsities We assume you already have Node.js and MongoDB installed on your system. If not installed follow our below tutorial first to complete the required installation. Install MongoDB on CentOS & Fedora Install Node.js on CentOS & Fedora Step 2 – Install mongoose Module Mongoose provides a straightforward schema-based solution to modeling your application data and includes built-in typecasting, validation and many more. npm install mongoose Step 3 – Connect Nodejs…

Read More

Configuring a Dynamic Host Configuration Protocol (DHCP) server on CentOS or Red Hat Enterprise Linux (RHEL) systems is a fundamental task for network administrators aiming to automate the assignment of IP addresses and other network settings to client devices. This not only simplifies network management but also enhances the efficiency and reliability of network services. This article delves into essential tips, tricks, and best practices for configuring a DHCP server on CentOS/RHEL, ensuring a robust and efficient network setup. Understanding DHCP Before diving into the configuration nuances, it’s crucial to grasp the essence of DHCP. This network management protocol automates…

Read More

JavaMail API supports the JavaMail (javax.mail) interface for sending email messages. It provides classes for sending email from remote smtp server with authentication like Gmail, sendgrid etc. In this article we are using JavaMail API for sending emails using Java programming language through remote smtp server. This articles example are using Gmail smtp server as a remote smtp server for sending emails. Step 1: Setup JavaMail Environment First we need to download jar file containing all classes in javax.mail. Download jar (mail.jar) file from oracle official website. Now set the classpath in system environment. Windows users make sure you have…

Read More

JavaMail API is a powerful and flexible tool that enables Java developers to incorporate email sending capabilities into their applications. As part of Java’s extensive library, it can manage complex email systems using Simple Mail Transfer Protocol (SMTP) and other messaging protocols. This article offers a comprehensive guide to using JavaMail API with a local SMTP server for sending emails. Understanding JavaMail API The JavaMail API provides a platform-independent and protocol-independent framework that allows users to build mail and messaging applications. The API provides classes that model a mail system. JavaMail does not implement an email server, instead, it allows…

Read More