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…)
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…)
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…)
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…)
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