×


Search For:


Set up email settings in Nagios Log Server

This article will guide you on how #Nagios #Log Server sends emails and the effective ways to configure them.

By default, Nagios #Mail notification is sent using /bin/mail command. To change this, modify the definition for notify-host-by-email command and notify-service-by-email command in /etc/nagios/objects/commands. cfg file and configure the mail server accordingly.

Log Server has user-friendly features like a search function. You can refine your logs to a specific purpose, like failed logins, or a specific date, so you can easily find the logs you need. Log Server's customizable home dashboard lets you display log data in a variety of ways, whether that's a map or a bar chart.


Directadmin Unable to write users httpd conf configuration

This article will guide you on how to fix the #error, Unable to write user's httpd.conf in Directadmin which occurs when we try to add a #domain in #DirectAdmin. 

The httpd. conf file is the main configuration file for the Apache web server. It's highly recommended to run Apache in standalone type for better performance and speed. ServerRoot "/etc/httpd" The option ServerRoot specifies the directory in which the configuration files of the Apache server lives.

Before you edit httpd.conf, you should first copy the original file to something like httpd.conf-old, for example. 

By creating a #backup, you can recover potential mistakes made while editing the new configuration file.


Ansible for launching AWS EC2 instances

This article will guide you on how to use #Ansible to launch AWS EC2 instances, security group, and RDS.

First, you're limiting the scope of the playbook to the local #hosts #group. It contains localhost and this is the way Ansible will work with #EC2 instances. Behind the scenes, Ansible connects to Python boto on the local machine and use to establish connection with the AWS #API and issue the necessary #commands.

Then we specify the name of the security group that Ansible will create for us. A security group is like a virtual firewall that must be created for your EC2 instances. If you already have one created, you can associate it with the new EC2 instance. In our case, we’ll be creating a new one from scratch.


Managing files with fs Module in Node js

This article will guide you on various functions that can be performed with fs #Module in Node.js such as reading, writing, and deleting files.

#Node . js includes fs module to access physical file system. The #fs module is responsible for all the asynchronous or synchronous file I/O operations.

To use FS in node JS:

The Node. js file system #module allows you to work with the file system on your #computer. To include the File System module, use the require() method: var fs = require('fs'):

1. Read files.

2. Create files.

3. Update files.

4. Delete files.

5. Rename files.


Cant locate LWP UserAgent pm in @INC

This article will guide you on how to get rid of error "Can't locate LWP/UserAgent.pm in @INC" which occurs in the process of installing #applications like CSF in the DirectAdmin server or any other #Linux #distros. 

libwww-perl (also known as LWP) is a collection of #Perl #modules that provide a simple and consistent programming interface (API) to the World-Wide Web.

In order to install and use this #package you will need Perl version

5.8.1 or better:

Some modules within this package depend on other packages that are distributed separately from Perl.  We recommend that you have the following #packages installed before you install

libwww-perl:

i. Digest-MD5

ii. Encode-Locale

iii. HTML-Form

iv. HTML-Parser

v. HTML-Tagset

vi. HTTP-Cookies

vii. HTTP-Date

viii. HTTP-Message

ix. HTTP-Negotiate

x. libnet

xi. LWP-MediaTypes

xii. MIME-Base64

xiii. Net-HTTP

xiv. URI

xv. WWW-RobotRules


If you want to access sites using the https protocol, then you need to

install the LWP::Protocol::https module from CPAN.


Windows update encountered an unknown error 80072efe

This article will guide you on the different methods to get rid of #Windows #update encountered an unknown #error #80072efe.

You may get the error because there are corrupted files on your #computer. You can run System File Checker, which can scan and repair the corrupted issues, Close the Command Prompt window and restart your #computer. Then open Windows Update and see if the error is fixed.

To fix Windows Update encountered an unknown error:

1. Right click on the #taskbar and select Properties.

2. Click the Customize.

3. On the Notification Area Icons window, make sure Always show all icons and notifications on the taskbar is checked and click OK.

4. At this point, try running Windows Update again and the updates should begin to install properly.