Home     About Us     RSSRSS

nslookup, host OR dig commands not found in Centos 6?

December 26, 2013 by @HKw@! | No Comments | Filed in centos, Fedora, Linux, Open Source, RedHat

I believe most of you experience fail to query the specific DNS record using the nslookup, host OR dig command on your CentOS 6 server and receives the following message

[root@mail ~]# host -t mx techkaki.com
bash: host: command not found
[root@mail ~]# dig -t mx techkaki.com
bash: dig: command not found
[root@mail ~]# nslookup -t mx techkaki.com
bash: nslookup: command not found

Read the rest of this entry »

How to uninstall GUI (Gnome) on CentOS 5/6

October 16, 2013 by @HKw@! | No Comments | Filed in centos, Fedora, Linux, RedHat

centos_logoOne of my CentOS 5 server was mistakenly installed Desktop Environment (GNOME) during the OS installation. Most of the time, i just use Command Line (CLI) to manage the Centos Server. So, i decided to completely to uninstall it in order to save some Hard Disk.

Before you remove all the GUI package,  please disable GUI first. It is because after you remove the Gnome and X Windows,  CentOS will still try to load X Window. If you want to prevent the GUI from loading but want the rest of the system to load as usual, you need to make a change to “/etc/inittab”. Read the rest of this entry »

Tags: , ,

Migrate SSH Keys From One Mac Computer to Another

July 28, 2013 by @HKw@! | No Comments | Filed in Mac OS X

appleRecently i just change to new Mac machine. I would like to transfer SSH keys from my existing Mac machine to my new Mac machine instead if generating new SSH key for my Mac machine.

Now i going to show your how to move SSH keys from my existing Mac Machine to my new Mac machine. To do that, first you have to backup/copy to you external storage or transfer the SSH keys to new Mac Machine via network. For example using rsync command to transfer SSH key from existing Mac to new Mac machine.

The easier way is using the Finder to copy the SSH keys. First you’ll want to show hidden files in OS X open up the .ssh (~/.ssh) directory on existing Mac machine and backup .ssh directory to your external drive. After that, you just need to transfer the .ssh directory that you already backup to your new Mac machine on ~/.ssh directory.

Copying SSH Keys from the Command Line Read the rest of this entry »