August 13, 2010

Usage of Dig command for finding the DNS information

Filed under: Miscellaneous — SupportPRO Admin @ 6:10 am

The command dig is a tool for querying name servers for information about various records like A, MX, NS, and related information.

dig live.com
; <<>> DiG 9.3.6-P1-RedHat-9.3.6-4.P1.el5_4.2 <<>> live.com
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 11278
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

 

(more…)

AddThis Social Bookmark Button

HOW TO RECOVER LOST MYSQL PASSWORD

Filed under: Miscellaneous — SupportPRO Admin @ 6:08 am

Steps for recovering mysql password are given below:
Stop the mysql service.
#/etc/init.d/mysql stop
Once, the mysql service completely stopped, run the below.
#/usr/bin/mysqld_safe –skip-grant-tables –skip-networking &
You will be now able to login without password.

 

(more…)

AddThis Social Bookmark Button

How to reset WordPress Admin password from phpMyadmin

Filed under: Miscellaneous — SupportPRO Admin @ 6:05 am

Forgot your WordPress admin password, no issues. You can reset this from your cPanel.

Steps are as follows:

1. Login to cPanel

2. Navigate to phpMyAdmin

3. Click the database associated with your WordPress.

(more…)

AddThis Social Bookmark Button

Exim commands

Filed under: Miscellaneous — SupportPRO Admin @ 6:03 am

 

Command to find the number of mails in queue

exim –bpc

Command to show configuration file of exim

exim –bP

Command to show the version and configuration file

exim –bV

(more…)

AddThis Social Bookmark Button

How to Install OpenLDAP

Filed under: Miscellaneous — SupportPRO Admin @ 6:00 am

For our LDAP server we will be using the very flexible OpenLDAP Server (slapd).
# Install the software.
apt-get install slapd ldap-utils migrationtools
# Answer the on-screen prompts with:
Admin password: *****
Confirm password: *****
# We need to configure OpenLDAP now.
dpkg-reconfigure slapd
# Answer the on-screen prompts with:
No
DNS domain name: example.local
Name of your organization: example.local
Admin password: *****
Confirm password: *****
OK
BDB
No
Yes
No
# Restart OpenLDAP.
/etc/init.d/slapd restart

AddThis Social Bookmark Button
Next Page »

Powered by WordPress