How to Check Paypal Pre-Approved Payment List

How can I check my list of preapproved payment list with Paypal?

Here is the instruction of how to access to list of Preapproved Payment in your Paypal.

  • After login to Paypal, on top of the menu, click on “Profile”.
  • On the left menu, click on “My money”
  • You will see the option “My preapproved payments”

It actually took me quite sometime to figure how to access preapproved payments list ;)

How to Change MySQL Data Directory in Linux Centos

By default Linux CentOS or other Linux Distro installation, MySQL data directory is stored in /var/db/mysql, how can I change it to other directory in example /db/mysql?

It is always better to have MySQL Data Directory store in a specific partition/drive. It will help on performance and better management and scalability. You change change the data store directory in Linux by editing /etc/my.cnf file.

Edit /etc/my.cnf file


# vi /etc/my.cnf

Change the data directory structure


datadir=/db/mysql
socket=/db/mysql/mysql.sock

After the file has been updated, restart MySQL service.

How to Find Out Public IP Address via Command Line in Unix/Linux Machine

If you have more than 100 servers in your network; behind a firewall; lazy to access to documentation. Here is the alternative option to find out your machine’s public IP Address via command line


$ wget -q -O - http://ipchicken.com |  grep -o -E '(^|[[:space:]])[0-9]*\.[0-9]*\.[0-9]*\.[0-9]*([[:space:]]|$)'
# By default, FreeBSD doesn't have wget, you can use fetch instead
$ fetch -q -o - http://www.ipchicken.com | grep -o -E '(^|[[:space:]])[0-9]*\.[0-9]*\.[0-9]*\.[0-9]*([[:space:]]|$)'

You need port 80 external/WAN access to perform the task.

How to Enable check_dns on Nagios Monitoring System

Most user who are new to Nagios doesn’t know there is a hidden plug-in called check_dns in Nagios Monitoring system. On FreeBSD server, the binary can be found at /usr/local/libexec/nagios. List the directory and you should see check_dns.

check_dns usage is as below


$ ./check_dns -H host [-s server] [-a expected-address] [-A] [-t timeout] [-w warn] [-c crit]

Try to run the command as below and you will get the query result


$ ./check_dns -H systems.takizo.com -s 8.8.8.8
DNS OK: 0.012 seconds response time. systems.takizo.com returns 70.32.103.130|time=0.011703s;;;0.000000

Read the rest of this entry »

Free eBook: Alternative DNS Servers

Grab this 747 pages DNS eBook for Free; Written by Jan-Piet Mens, titled “Alternative DNS Servers”. I glance through at the eBook and found several interesting topics for DNS deployments.

  • Bind DLZ – The Bind extension which can store your data in database MySQL, PostgreSQL and etc.
  • NSD – A lot people didn’t know about Name Server Daemon, find out more from the eBook.
  • DNS Planning – Name Server deployment planning, capacity planning and how to scale.
  • PowerDNS – Configure and master it.
  • LDAP DNS – Deploy DNS server with LDAP.

Alright, enough with the talks, where to download the eBook? It’s FREE for Download here