Translate

Saturday, July 23, 2022

How to create user DSN with ODBC driver in Windows System for PostgresSQL Database

 How to create user DSN with ODBC driver in Windows System : Step by Step Tutorial Guide :


Step 1: Go to Windows start button -->Click Settings --->Click on Control Panel

Step 2: In control panel go to the Administrative Tools

Step 3: Double Click on the Data Source(ODBC) icon. A small popup screen with lots of tabs will be appear on the screen.

DSN Data Source Name in Windows

Step 4: Click on the User DSN tab.

Step 5: Now click on the ADD button. Now you can see lots of ODBC drivers in the List. Select the appropriate Driver form the List, for example here we chose the PostgresSQL ODBC driver.

Step 6: Click on the Finish button.

ODBC PostgresSQL Database Connection

Step 7: Now give the data source name in the appropriate box. Similarly give the database name, ip address of the database server (may be localhost or other private IP address ),then Give the User Name and Password of the database in the appropriate box.

Step 8: Press the TEST button to check the connection, whether you put all the parameters correctly or not. If everything is OK then it will give you a successful message.

Friday, July 22, 2022

How to Upload a New Module in Drupal Content Management System ?

 Q. How to Upload a New Module in Drupal Content Management System ?

Ans: Go to the Module tab and check the Update Manager and save it. Otherwise you can't upload new modules in drupal CMS. 

Drupal CMS

 

Wednesday, May 25, 2022

How to configure the MRTG to Poll multiple devices in Linux Operating System ?

 Getting MRTG (Multi Router Traffic Grapher) to Poll multiple network devices.


MRTG configuration in Linux Environment

The Fedora Core MRTG installation process create a CORN file named /etc/corn.d/mrtg . This file tells the corn daemon to run MRTG using /etc/mrtg/mrtg.cfg file every 5 minutes to poll your network devices. You can configure MRTG to poll multiple devices, each with a separate configuration file.

1. Create a new configuration file using the steps from the previous section, choose a file name that is not mrtg.cfg

2. Add a new MRTG lene in / etc/corn.d/mrtg for each new configuration file you create.

0-59/5 **** root env LANG=C /usr/bin/mrtg  /etc/mrtg/mrtg.cfg

0-59/5 **** root env LANG=C /usr/bin/mrtg /etc/mrtg/dervice1.cfg

0-59/5 **** root env LANG=C /usr/bin/mrtg /etc/mrtg/device2.cfg

3.Run the indexmaker command, and include all of your /etc/mrtg configuration files.

4. Other versions of Linux keep their MRTG corn entries inside /etc/corntab file. Edit this file using the same syntex.


Now , restart the corn demon as 

root # service cornd restart.