Cain Manor

Your Guide To All Things Cain™

Menu

Skip to content
  • Resume
  • Archive
  • Contact

Archive of posts tagged CentOS

Various Time Scripts

Posted by Greg Cain on 1 April 2009, 3:40 pm

To see the offset for a range of system for X in `cat YourList.txt` do Y=`ssh $X -l root ‘ntpdate -q 10.168.XX.XX’ | awk -F, ‘{print $3}’` echo $X $Y done

Filed under UNIX | Tagged CentOS, NTP, time

Error on yum

Posted by Greg Cain on 1 April 2009, 1:43 pm

If you get the error Metadata file does not match checksum You can fix it with yum clean metadata

Filed under UNIX | Tagged CentOS, Linux, Yum

To create multiple IPs per Interface in CentOS 5

Posted by Greg Cain on 30 March 2009, 9:01 pm

Create the virtual interface vi /etc/sysconfig/network-scripts/ifcfg-eth0:0 Populate the file DEVICE=eth0:0 ONPARENT=yes IPADDR=10.10.10.10 Bring up the interface /sbin/ifup eth0:0 The interface will be brought up and down automatically as the parent interface (eth0) changes state.

Filed under Tech, UNIX | Tagged CentOS, networking
May 2013
MTWTFSS
« Dec  
 12345
6789101112
13141516171819
20212223242526
2728293031 

Australia A Year on the Road Central America Funny Iceland Interesting Mexico Online OS-X Personal Photo Planning South America Symantec Tech Travel United States UNIX Wedding Windows Work

Around this date...

Powered by Hamsters