3、安裝一個軟體pidgin
1 #!/bin/bash
2 #Author:
3 #Date && Time:2010-12-21 21:14:31
4 #Description
5 #Version: 0.01
6 cd /tmp
8 if [ -e centos.repo ];then
9 grep "^baseurl" /tmp/centos.repo | sed -i 's/163/sohu/g' /tmp/centos.repo
10 mv /tmp/centos.repo /etc/respos.d
11 yum install pidgin
12 fi
13 exit 5
本文轉自 張玉坡 51CTO部落格,原文連結:http://blog.51cto.com/fighter/466328