2013年4月1日 星期一

upgrade to CentOS 6.4 from CentOS 6.3/6.2/6.1/6.0

升級失敗

跳版本或升級部份套件, 有時候會有無法升級? , 可以先清除cache

# yum clean all
# yum update glibc* yum* rpm* python*
# yum update

# reboot

確認目前版本
# cat /etc/redhat-release
CentOS release 6.4 (Final)

# lsb_release -a
LSB Version:    :base-4.0-ia32:base-4.0-noarch:core-4.0-ia32:core-4.0-noarch:graphics-4.0-ia32:graphics-4.0-noarch:printing-4.0-ia32:printing-4.0-noarch
Distributor ID: CentOS
Description:    CentOS release 6.4 (Final)
Release:        6.4
Codename:       Final

加快更新速度 (限制在特定 mirror site)

安裝yum外掛套件 yum-plugin-fastestmirror
編緝         /etc/yum/pluginconf.d/fastestmirror.conf
限制在 tw範圍
include_only= .hinet.net, .twaren.net, .tw

Extreme XOS run pyton scripts

XOS run python scripts v15.7 or high 將交換器上的 IP & MAC 往syslog 丟, 簡單將IP資料保留下 ## 編緝Scripts # vi ip2syslog.py #!/usr/bin/python # ...