Archive for the ‘centos’ Category

Centos 6 fail to ssh?

September 5th, 2011 by @HKw@! | No Comments | Filed in centos, Linux

I failed to rsync files from one Centos 6 server to another Centos 6 server. The rsync is not working and i get this error

[root@angrybird tmp]# rsync -v -e ssh /tmp/web root@172.16.0.204:/home/
rsync: Failed to exec ssh: No such file or directory (2)
rsync error: error in IPC code (code 14) at pipe.c(84) [sender=3.0.6]
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at io.c(600) [sender=3.0.6]

To troubleshoot this issue, i try to do run ssh command in both Centos 6 machine. It fail to run the SSH. I found that openssh-clients was not installed. So, i just installed openssh-clients to fix the problem.

To install openssh-client

# yum -y install openssh-clients

Done!! :-)

Share

How to clear DNS Cache in Windows, Mac OS X and Linux

August 22nd, 2011 by @HKw@! | No Comments | Filed in centos, Fedora, Linux, Mac OS X, RedHat, Win Vista, Win2k8, Win7, Windows, WinXP

Your DNS cache stores the locations (IP addresses) of pages you have recently viewed. DNS cache help to speeds up the lookups within the same host.  But sometimes if the website page change before your DNS cache is updated, you will failed to access the page. For example, you received a web page with HTML 404 error codes. So you need to flush your DNS cache. Once you clear your DNS cache, your computer will query nameservers for the new DNS information you require.

Clear DNS cache on Windows XP, Vista, Win7 (more…)

Share

Tags: , , , , , , , , , , , , , ,

How to configure static IP Address on Centos 6

August 11th, 2011 by @HKw@! | No Comments | Filed in centos, Linux

First thing that you need to do after installed Centos 6  is to make changes to Network configuration such as assign IP address, change DNS server etc.

To do that, just log on as root and change directory to /etc/sysconfig/network-scripts/ to view all available devices.

# cd /etc/sysconfig/network-scripts/ (more...)

Share
BlogCatalog