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…
Author: Rahul
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…
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…
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…
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…
Email sending functionality is a crucial part of many web applications. From account verification emails to forgotten password reminders, email helps build communication bridges between your application and its users. One of the most popular libraries for sending emails from PHP applications is PHPMailer. It has a host of features that make it a robust and flexible solution for managing your application’s email functionality. This article will provide a practical approach to implementing PHPMailer in your applications. What is PHPMailer? PHPMailer is an open-source library in PHP that provides a simple and flexible way to send emails from within PHP…
This article will help you to Install MongoDB with NodeJs and configure their connectivity using Mongoose node app on Ubuntu and Debian systems. For PHP users use our previous article to configure MongoDB with PHP and Apache2 on Ubuntu servers. 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. MongoDB Installation: Install MongoDB on Ubuntu Install MongoDB on Debian Node.js Installation: Install Node.js on Ubuntu Install Node.js on Debian Install “mongoose” Module Mongoose provides a straight-forward, schema-based solution to modeling your application data…
MongoDB is an open source NoSQL database. These days mongodb is getting more popularity between web developers for their processing speed. And for PHP5 we all are aware that it is use widely use for faster development. In this article we are installing Latest MongoDB database with PHP5 and Apache2 web server on Ubuntu 14.04 LTS. This article will also work with other Ubuntu versions. Step 1: Install Apache2 First install Apache2 web server on our system using following command, this is available under default repositories of Ubuntu. $ sudo apt-get install apache2 After installing Apache2 it will by default…
Most of the Sysadmins don’t prefer to use / directory to store their files or databases. So if they have installed MongoDB database server, by default it stored all data in /var/lib/mongo (version/os specific). In this tutorial, we will change the MongoDB default data path to other directories where we have attached a new disk (EBS volume in AWS). Instruction’s to Change MongoDB Default Data Path: 1. Before making any changes, stop mongodb service sudo systemctl stop mongod.service 2. Now change the location mongo directory to elsewhere on the filesystem as per need. For this tutorial, create a data directory…
The CASE statement is a powerful conditional statement in Bash that allows you to test a variable against a list of values. It is a more concise and efficient alternative to using multiple if-then statements. Many times it is a good alternative to if-else statements. You can also use it for processing the command line arguments in a shell script. In this article, we will introduce you to the CASE statement in Bash and provide examples of how it can be used in Bash scripts. The syntax of the CASE statement in Bash The syntax of the CASE statement in…